From 4c615e28795ec207821e5341670e1cf4722bded04fca6b8f1419fdedbf719bdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 22 Jul 2019 12:56:27 +0000 Subject: [PATCH] - Update to 1.9.2: * FIX: Shortcut last descendant calculation if possible for performance. * FIX: Fix issue where Doctype strings can be mistaken for a normal text node in some cases. * FIX: A top level tag is not a :root tag if it has sibling text nodes or tag nodes. This is an issue that mostly manifests when using html.parser as the parser will allow multiple root nodes. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=10 --- python-soupsieve.changes | 8 ++++++++ python-soupsieve.spec | 7 +++---- soupsieve-1.9.1.tar.gz | 3 --- soupsieve-1.9.2.tar.gz | 3 +++ 4 files changed, 14 insertions(+), 7 deletions(-) delete mode 100644 soupsieve-1.9.1.tar.gz create mode 100644 soupsieve-1.9.2.tar.gz diff --git a/python-soupsieve.changes b/python-soupsieve.changes index 26686b1..0641c67 100644 --- a/python-soupsieve.changes +++ b/python-soupsieve.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jul 22 12:54:14 UTC 2019 - Tomáš Chvátal + +- Update to 1.9.2: + * FIX: Shortcut last descendant calculation if possible for performance. + * FIX: Fix issue where Doctype strings can be mistaken for a normal text node in some cases. + * FIX: A top level tag is not a :root tag if it has sibling text nodes or tag nodes. This is an issue that mostly manifests when using html.parser as the parser will allow multiple root nodes. + ------------------------------------------------------------------- Mon May 20 08:57:36 UTC 2019 - pgajdos@suse.com diff --git a/python-soupsieve.spec b/python-soupsieve.spec index f955cf0..0080bfd 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -26,12 +26,12 @@ %bcond_with test %endif Name: python-soupsieve%{psuffix} -Version: 1.9.1 +Version: 1.9.2 Release: 0 Summary: A modern CSS selector implementation for BeautifulSoup License: MIT Group: Development/Libraries/Python -URL: http://facelessuser.github.io/soupsieve/ +URL: https://github.com/facelessuser/soupsieve Source: https://files.pythonhosted.org/packages/source/s/soupsieve/soupsieve-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -58,13 +58,12 @@ Requires: python-backports.functools_lru_cache %install %if !%{with test} %python_install -%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %check %if %{with test} -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v tests +%pytest tests %endif %if !%{with test} diff --git a/soupsieve-1.9.1.tar.gz b/soupsieve-1.9.1.tar.gz deleted file mode 100644 index df83a27..0000000 --- a/soupsieve-1.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b20eff5e564529711544066d7dc0f7661df41232ae263619dede5059799cdfca -size 95089 diff --git a/soupsieve-1.9.2.tar.gz b/soupsieve-1.9.2.tar.gz new file mode 100644 index 0000000..bc745f1 --- /dev/null +++ b/soupsieve-1.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72b5f1aea9101cf720a36bb2327ede866fd6f1a07b1e87c92a1cc18113cbc946 +size 95448