From 6de0c47c297d8c2ba6aed85ace92111750cb31a9 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 19 Aug 2019 14:33:20 +0000 Subject: [PATCH 01/38] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..e3346d4 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python-soupsieve + +The python-soupsieve package \ No newline at end of file From cb1dcc738ca9e5ac3bdc2f9170eb45857d95d828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 19 Aug 2019 22:29:57 +0200 Subject: [PATCH 02/38] Package approved --- .gitignore | 1 + python-soupsieve.spec | 91 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 93 insertions(+) create mode 100644 .gitignore create mode 100644 python-soupsieve.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cf3a4ac --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/python-soupsieve-1.9.2.tar.gz diff --git a/python-soupsieve.spec b/python-soupsieve.spec new file mode 100644 index 0000000..8b2de1c --- /dev/null +++ b/python-soupsieve.spec @@ -0,0 +1,91 @@ +%bcond_with tests + +Name: python-soupsieve +Version: 1.9.2 +Release: 1%{?dist} +Summary: CSS selector library + +License: MIT +URL: https://github.com/facelessuser/soupsieve +Source0: https://github.com/facelessuser/soupsieve/archive/%{version}/%{name}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pytest +BuildRequires: python3dist(lxml) +BuildRequires: python3dist(html5lib) +BuildRequires: python3dist(beautifulsoup4) + +%global _description %{expand: +Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. +It aims to provide selecting, matching, and filtering using modern CSS +selectors. Soup Sieve currently provides selectors from the CSS level 1 +specifications up through the latest CSS level 4 drafts and beyond (though some +are not yet implemented). + +Soup Sieve was written with the intent to replace Beautiful Soup's builtin +select feature, and as of Beautiful Soup version 4.7.0, it now is. Soup Sieve +can also be imported in order to use its API directly for more controlled, +specialized parsing. + +Soup Sieve has implemented most of the CSS selectors up through the latest CSS +draft specifications, though there are a number that don't make sense in a +non-browser environment. Selectors that cannot provide meaningful functionality +simply do not match anything.} + +%description %_description + +%package -n python2-soupsieve +Summary: %{summary} +BuildRequires: python2-devel +BuildRequires: python2-pytest +BuildRequires: python2dist(lxml) +BuildRequires: python2dist(html5lib) +BuildRequires: python2dist(beautifulsoup4) +BuildRequires: python2dist(backports.functools-lru-cache) +Requires: python2dist(backports.functools-lru-cache) +%{?python_provide:%python_provide python2-soupsieve} + +%description -n python2-soupsieve %_description + +%package -n python3-soupsieve +Summary: %{summary} +%{?python_provide:%python_provide python3-soupsieve} + +%description -n python3-soupsieve %_description + +%prep +%autosetup -n soupsieve-%{version} + +%build +%py2_build +%py3_build + +%install +%py2_install +%py3_install + +%if %{with tests} +%check +# We need to exclude one test which requires bs4 >= 4.7, because +# bs4 >= 4.7 also requires this package to build. +pytest-2 -v tests -k 'not test_namespace_xml_with_namespace' +pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' +%endif + +%files -n python2-soupsieve +%{python2_sitelib}/soupsieve/ +%{python2_sitelib}/soupsieve-%{version}-py%{python2_version}.egg-info/ +%doc README.md +%license LICENSE.md + +%files -n python3-soupsieve +%{python3_sitelib}/soupsieve/ +%{python3_sitelib}/soupsieve-%{version}-py%{python3_version}.egg-info/ +%doc README.md +%license LICENSE.md + +%changelog +* Mon Jun 10 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-1 +- Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..29f5354 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (python-soupsieve-1.9.2.tar.gz) = f39b0aaabfc5d71ea005eb21944d9c1107031980a8e167ad2403580ca03c79b57aba0cc54c13dc0b579e3cff61e641052f2d68bdfa8c81e64aee2cdd23a1c35a From 16deba1a8c196e00573d44133f8fc59a4a11d3bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 19 Aug 2019 22:38:17 +0200 Subject: [PATCH 03/38] Rebuilt for Python 3.8 --- python-soupsieve.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 8b2de1c..8f6b032 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -2,7 +2,7 @@ Name: python-soupsieve Version: 1.9.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: CSS selector library License: MIT @@ -87,5 +87,8 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %license LICENSE.md %changelog +* Mon Aug 19 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-2 +- Rebuilt for Python 3.8 + * Mon Jun 10 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-1 - Initial packaging From 8548ee4e3735cbd73c0b6aa63dc9626e7abbcd89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2019 23:20:24 +0200 Subject: [PATCH 04/38] Don't BR tests BR without tests --- python-soupsieve.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 8f6b032..9110bf0 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -12,10 +12,12 @@ Source0: https://github.com/facelessuser/soupsieve/archive/%{version}/%{n BuildArch: noarch BuildRequires: python3-devel +%if %{with tests} BuildRequires: python3-pytest BuildRequires: python3dist(lxml) BuildRequires: python3dist(html5lib) BuildRequires: python3dist(beautifulsoup4) +%endif %global _description %{expand: Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. From 9a385353405d43e5f8974f9acd82c19a39d29adf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 3 Sep 2019 18:50:04 +0200 Subject: [PATCH 05/38] Subpackage python2-soupsieve has been removed --- python-soupsieve.spec | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 9110bf0..548efe4 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -2,7 +2,7 @@ Name: python-soupsieve Version: 1.9.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: CSS selector library License: MIT @@ -38,19 +38,6 @@ simply do not match anything.} %description %_description -%package -n python2-soupsieve -Summary: %{summary} -BuildRequires: python2-devel -BuildRequires: python2-pytest -BuildRequires: python2dist(lxml) -BuildRequires: python2dist(html5lib) -BuildRequires: python2dist(beautifulsoup4) -BuildRequires: python2dist(backports.functools-lru-cache) -Requires: python2dist(backports.functools-lru-cache) -%{?python_provide:%python_provide python2-soupsieve} - -%description -n python2-soupsieve %_description - %package -n python3-soupsieve Summary: %{summary} %{?python_provide:%python_provide python3-soupsieve} @@ -61,27 +48,16 @@ Summary: %{summary} %autosetup -n soupsieve-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install %if %{with tests} %check -# We need to exclude one test which requires bs4 >= 4.7, because -# bs4 >= 4.7 also requires this package to build. -pytest-2 -v tests -k 'not test_namespace_xml_with_namespace' pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %endif -%files -n python2-soupsieve -%{python2_sitelib}/soupsieve/ -%{python2_sitelib}/soupsieve-%{version}-py%{python2_version}.egg-info/ -%doc README.md -%license LICENSE.md - %files -n python3-soupsieve %{python3_sitelib}/soupsieve/ %{python3_sitelib}/soupsieve-%{version}-py%{python3_version}.egg-info/ @@ -89,6 +65,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %license LICENSE.md %changelog +* Tue Sep 03 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-3 +- Subpackage python2-soupsieve has been removed (#1748298) + * Mon Aug 19 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-2 - Rebuilt for Python 3.8 From dba895788aae149d8d452b825122878bf836410a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 15:24:03 +0000 Subject: [PATCH 06/38] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-soupsieve.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 548efe4..9260c43 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -2,7 +2,7 @@ Name: python-soupsieve Version: 1.9.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: CSS selector library License: MIT @@ -65,6 +65,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %license LICENSE.md %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 1.9.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Sep 03 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-3 - Subpackage python2-soupsieve has been removed (#1748298) From 74fabd83906c5706ae6cb038166519da08435033 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 23 May 2020 22:19:49 +0200 Subject: [PATCH 07/38] Bootstrap for Python 3.9 --- python-soupsieve.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 9260c43..f4498ee 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,8 +1,9 @@ +%global _without_tests 1 %bcond_with tests Name: python-soupsieve Version: 1.9.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: CSS selector library License: MIT @@ -65,6 +66,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %license LICENSE.md %changelog +* Sat May 23 2020 Miro Hrončok - 1.9.2-5 +- Bootstrap for Python 3.9 + * Thu Jan 30 2020 Fedora Release Engineering - 1.9.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From ee5de2f4bc4c252a2583bac60ddcf567204f8d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 23 May 2020 22:36:42 +0200 Subject: [PATCH 08/38] Rebuilt for Python 3.9 --- python-soupsieve.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index f4498ee..5e23bf1 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,9 +1,8 @@ -%global _without_tests 1 %bcond_with tests Name: python-soupsieve Version: 1.9.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: CSS selector library License: MIT @@ -66,6 +65,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %license LICENSE.md %changelog +* Sat May 23 2020 Miro Hrončok - 1.9.2-6 +- Rebuilt for Python 3.9 + * Sat May 23 2020 Miro Hrončok - 1.9.2-5 - Bootstrap for Python 3.9 From 17fd8290317dcebef491c44056d981523bac86b4 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Fri, 26 Jun 2020 18:59:47 +0200 Subject: [PATCH 09/38] Update to 2.0.1 (#1814999) --- .gitignore | 1 + python-soupsieve.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index cf3a4ac..4c404f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /python-soupsieve-1.9.2.tar.gz +/python-soupsieve-2.0.1.tar.gz diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 5e23bf1..29c3196 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,8 +1,8 @@ %bcond_with tests Name: python-soupsieve -Version: 1.9.2 -Release: 6%{?dist} +Version: 2.0.1 +Release: 1%{?dist} Summary: CSS selector library License: MIT @@ -65,6 +65,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %license LICENSE.md %changelog +* Fri Jun 26 2020 Charalampos Stratakis - 2.0.1-1 +- Update to 2.0.1 (#1814999) + * Sat May 23 2020 Miro Hrončok - 1.9.2-6 - Rebuilt for Python 3.9 diff --git a/sources b/sources index 29f5354..a667933 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-soupsieve-1.9.2.tar.gz) = f39b0aaabfc5d71ea005eb21944d9c1107031980a8e167ad2403580ca03c79b57aba0cc54c13dc0b579e3cff61e641052f2d68bdfa8c81e64aee2cdd23a1c35a +SHA512 (python-soupsieve-2.0.1.tar.gz) = f4ef4deee81bb31952e1d3216250712f09b425e7a2253e15bd1b38cb74b680e421e7d086a8770737898f6b57867f07f2dd07b8a98108d05e338bce92b274b85f From f88d4a0114f2c965667032f6b1fd783e2039e4b0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 03:57:48 +0000 Subject: [PATCH 10/38] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-soupsieve.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 29c3196..8a85dc2 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -2,7 +2,7 @@ Name: python-soupsieve Version: 2.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: CSS selector library License: MIT @@ -65,6 +65,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %license LICENSE.md %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 2.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jun 26 2020 Charalampos Stratakis - 2.0.1-1 - Update to 2.0.1 (#1814999) From a93fe5b00857e371536b7d469b0309e0a4dd79b2 Mon Sep 17 00:00:00 2001 From: Joel Capitao Date: Thu, 7 Jan 2021 12:24:01 +0100 Subject: [PATCH 11/38] Update to 2.1.0 (#1906625) --- .gitignore | 1 + python-soupsieve.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 4c404f0..bba4342 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /python-soupsieve-1.9.2.tar.gz /python-soupsieve-2.0.1.tar.gz +/python-soupsieve-2.1.0.tar.gz diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 8a85dc2..4cdf336 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,8 +1,8 @@ %bcond_with tests Name: python-soupsieve -Version: 2.0.1 -Release: 2%{?dist} +Version: 2.1.0 +Release: 1%{?dist} Summary: CSS selector library License: MIT @@ -60,11 +60,14 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %files -n python3-soupsieve %{python3_sitelib}/soupsieve/ -%{python3_sitelib}/soupsieve-%{version}-py%{python3_version}.egg-info/ +%{python3_sitelib}/soupsieve*.egg-info/ %doc README.md %license LICENSE.md %changelog +* Thu Jan 07 2021 Joel Capitao - 2.1.0-1 +- Update to 2.1.0 (#1906625) + * Wed Jul 29 2020 Fedora Release Engineering - 2.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index a667933..bfa44da 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-soupsieve-2.0.1.tar.gz) = f4ef4deee81bb31952e1d3216250712f09b425e7a2253e15bd1b38cb74b680e421e7d086a8770737898f6b57867f07f2dd07b8a98108d05e338bce92b274b85f +SHA512 (python-soupsieve-2.1.0.tar.gz) = 19cd4ee596d189a001bbaf9f047e6c9eff569e2149ef5424bfe55c9b4325d856c957de87d55510335f748aab322dbb847b06b48931fbdeadbcc3790259c69eb1 From 0ae65e5cd88001c24cda534e54347e352675cf9c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 13:29:19 +0000 Subject: [PATCH 12/38] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-soupsieve.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 4cdf336..752bda2 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -2,7 +2,7 @@ Name: python-soupsieve Version: 2.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: CSS selector library License: MIT @@ -65,6 +65,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %license LICENSE.md %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 2.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Thu Jan 07 2021 Joel Capitao - 2.1.0-1 - Update to 2.1.0 (#1906625) From a0a4eec85be74e275934d25866f5946040de5fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 13 Feb 2021 18:24:07 +0100 Subject: [PATCH 13/38] Turn tests on by default %bcond_with/%bcond_without confusion stroke again? --- python-soupsieve.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 752bda2..6339fc8 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,4 +1,4 @@ -%bcond_with tests +%bcond_without tests Name: python-soupsieve Version: 2.1.0 From 67fb3b8e5b964836c9e7df0c1e8f750fdc5feb6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 13 Feb 2021 18:25:01 +0100 Subject: [PATCH 14/38] Version 2.2 --- .gitignore | 1 + python-soupsieve.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bba4342..275b2d4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /python-soupsieve-1.9.2.tar.gz /python-soupsieve-2.0.1.tar.gz /python-soupsieve-2.1.0.tar.gz +/python-soupsieve-2.2.tar.gz diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 6339fc8..33ee1f8 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,8 +1,8 @@ %bcond_without tests Name: python-soupsieve -Version: 2.1.0 -Release: 2%{?dist} +Version: 2.2 +Release: 1%{?dist} Summary: CSS selector library License: MIT @@ -65,6 +65,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %license LICENSE.md %changelog +* Sat Feb 13 2021 Zbigniew Jędrzejewski-Szmek - 2.2-1 +- Latest version (#1927002) + * Wed Jan 27 2021 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index bfa44da..3aa60d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-soupsieve-2.1.0.tar.gz) = 19cd4ee596d189a001bbaf9f047e6c9eff569e2149ef5424bfe55c9b4325d856c957de87d55510335f748aab322dbb847b06b48931fbdeadbcc3790259c69eb1 +SHA512 (python-soupsieve-2.2.tar.gz) = 26402c831c19c9b133442dd8ea31363e1eadc3cafe172b933cdbc746df6dc9961e930d4fbe8399b847848bf3fcd5893d2449e912ed0cdf8766468997acf5ee87 From 6fbfdda9cc26e9fb04fb37daa07f13e268cb591c Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Mon, 19 Apr 2021 13:18:32 +0200 Subject: [PATCH 15/38] BuildRequire setuptools explicitly See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools --- python-soupsieve.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 33ee1f8..e878cc6 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -12,6 +12,7 @@ Source0: https://github.com/facelessuser/soupsieve/archive/%{version}/%{n BuildArch: noarch BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) %if %{with tests} BuildRequires: python3-pytest BuildRequires: python3dist(lxml) From e67511205be674aed584f09ef466b780a105efb8 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 3 Jun 2021 20:40:05 +0200 Subject: [PATCH 16/38] Bootstrap for Python 3.10 --- python-soupsieve.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index e878cc6..04a3f68 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,8 +1,9 @@ +%global _without_tests 1 %bcond_without tests Name: python-soupsieve Version: 2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: CSS selector library License: MIT @@ -66,6 +67,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %license LICENSE.md %changelog +* Thu Jun 03 2021 Python Maint - 2.2-2 +- Bootstrap for Python 3.10 + * Sat Feb 13 2021 Zbigniew Jędrzejewski-Szmek - 2.2-1 - Latest version (#1927002) From 5b607876278299592c22da287a709ae09cc49c1d Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 3 Jun 2021 20:52:53 +0200 Subject: [PATCH 17/38] Rebuilt for Python 3.10 --- python-soupsieve.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 04a3f68..5395174 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,9 +1,8 @@ -%global _without_tests 1 %bcond_without tests Name: python-soupsieve Version: 2.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: CSS selector library License: MIT @@ -67,6 +66,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' %license LICENSE.md %changelog +* Thu Jun 03 2021 Python Maint - 2.2-3 +- Rebuilt for Python 3.10 + * Thu Jun 03 2021 Python Maint - 2.2-2 - Bootstrap for Python 3.10 From bc1be4feaff3ca026bbeeb2a1018a4b9652ba307 Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Thu, 3 Jun 2021 11:37:46 +0200 Subject: [PATCH 18/38] disable failing tests --- python-soupsieve.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 5395174..c3a9dc1 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -56,7 +56,9 @@ Summary: %{summary} %if %{with tests} %check -pytest-3 -v tests -k 'not test_namespace_xml_with_namespace' +# test_contains_cdata_html and test_contains_own_cdata_html are disabled to unblock Python 3.10 rebuild +# downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1962458 +pytest-3 -v tests -k 'not test_namespace_xml_with_namespace and not test_contains_cdata_html and not test_contains_own_cdata_html' %endif %files -n python3-soupsieve From e05ffcf0bafe22b37ae28171b08a65a7219bb3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 9 Jun 2021 09:00:56 +0200 Subject: [PATCH 19/38] Version 2.2.1 --- .gitignore | 1 + python-soupsieve.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 275b2d4..b337c82 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /python-soupsieve-2.0.1.tar.gz /python-soupsieve-2.1.0.tar.gz /python-soupsieve-2.2.tar.gz +/python-soupsieve-2.2.1.tar.gz diff --git a/python-soupsieve.spec b/python-soupsieve.spec index c3a9dc1..4c4504b 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,8 +1,8 @@ %bcond_without tests Name: python-soupsieve -Version: 2.2 -Release: 3%{?dist} +Version: 2.2.1 +Release: 1%{?dist} Summary: CSS selector library License: MIT @@ -68,6 +68,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace and not test_contain %license LICENSE.md %changelog +* Wed Jun 9 2021 Zbigniew Jędrzejewski-Szmek - 2.2.1-1 +- Update to latest bugfix version + * Thu Jun 03 2021 Python Maint - 2.2-3 - Rebuilt for Python 3.10 diff --git a/sources b/sources index 3aa60d1..1435db0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-soupsieve-2.2.tar.gz) = 26402c831c19c9b133442dd8ea31363e1eadc3cafe172b933cdbc746df6dc9961e930d4fbe8399b847848bf3fcd5893d2449e912ed0cdf8766468997acf5ee87 +SHA512 (python-soupsieve-2.2.1.tar.gz) = c1339cfca237af7f8915b6d644b8271f769f9a37aa68f8acf536236551baaf9bb44a2f2a736f9168a7649cde14d37b8c24614c9491acbf81e3f4fdaea96b4928 From 039b290894e0717ac9c94efac0cc031a1b101a12 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 09:35:14 +0000 Subject: [PATCH 20/38] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-soupsieve.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 4c4504b..f230153 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -2,7 +2,7 @@ Name: python-soupsieve Version: 2.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: CSS selector library License: MIT @@ -68,6 +68,9 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace and not test_contain %license LICENSE.md %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 2.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jun 9 2021 Zbigniew Jędrzejewski-Szmek - 2.2.1-1 - Update to latest bugfix version From 340bf61ee015f0c7e8310e57b545bb38a945fae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 7 Nov 2021 11:28:23 +0100 Subject: [PATCH 21/38] Convert to rpmautospec --- changelog | 44 ++++++++++++++++++++++++++++++++++++++++ python-soupsieve.spec | 47 ++----------------------------------------- 2 files changed, 46 insertions(+), 45 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..1166d55 --- /dev/null +++ b/changelog @@ -0,0 +1,44 @@ +* Fri Jul 23 2021 Fedora Release Engineering - 2.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jun 9 2021 Zbigniew Jędrzejewski-Szmek - 2.2.1-1 +- Update to latest bugfix version + +* Thu Jun 03 2021 Python Maint - 2.2-3 +- Rebuilt for Python 3.10 + +* Thu Jun 03 2021 Python Maint - 2.2-2 +- Bootstrap for Python 3.10 + +* Sat Feb 13 2021 Zbigniew Jędrzejewski-Szmek - 2.2-1 +- Latest version (#1927002) + +* Wed Jan 27 2021 Fedora Release Engineering - 2.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Jan 07 2021 Joel Capitao - 2.1.0-1 +- Update to 2.1.0 (#1906625) + +* Wed Jul 29 2020 Fedora Release Engineering - 2.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 26 2020 Charalampos Stratakis - 2.0.1-1 +- Update to 2.0.1 (#1814999) + +* Sat May 23 2020 Miro Hrončok - 1.9.2-6 +- Rebuilt for Python 3.9 + +* Sat May 23 2020 Miro Hrončok - 1.9.2-5 +- Bootstrap for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.9.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Sep 03 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-3 +- Subpackage python2-soupsieve has been removed (#1748298) + +* Mon Aug 19 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-2 +- Rebuilt for Python 3.8 + +* Mon Jun 10 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-1 +- Initial packaging diff --git a/python-soupsieve.spec b/python-soupsieve.spec index f230153..deda5c7 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -2,7 +2,7 @@ Name: python-soupsieve Version: 2.2.1 -Release: 2%{?dist} +Release: %autorelease Summary: CSS selector library License: MIT @@ -68,47 +68,4 @@ pytest-3 -v tests -k 'not test_namespace_xml_with_namespace and not test_contain %license LICENSE.md %changelog -* Fri Jul 23 2021 Fedora Release Engineering - 2.2.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jun 9 2021 Zbigniew Jędrzejewski-Szmek - 2.2.1-1 -- Update to latest bugfix version - -* Thu Jun 03 2021 Python Maint - 2.2-3 -- Rebuilt for Python 3.10 - -* Thu Jun 03 2021 Python Maint - 2.2-2 -- Bootstrap for Python 3.10 - -* Sat Feb 13 2021 Zbigniew Jędrzejewski-Szmek - 2.2-1 -- Latest version (#1927002) - -* Wed Jan 27 2021 Fedora Release Engineering - 2.1.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Thu Jan 07 2021 Joel Capitao - 2.1.0-1 -- Update to 2.1.0 (#1906625) - -* Wed Jul 29 2020 Fedora Release Engineering - 2.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jun 26 2020 Charalampos Stratakis - 2.0.1-1 -- Update to 2.0.1 (#1814999) - -* Sat May 23 2020 Miro Hrončok - 1.9.2-6 -- Rebuilt for Python 3.9 - -* Sat May 23 2020 Miro Hrončok - 1.9.2-5 -- Bootstrap for Python 3.9 - -* Thu Jan 30 2020 Fedora Release Engineering - 1.9.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Tue Sep 03 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-3 -- Subpackage python2-soupsieve has been removed (#1748298) - -* Mon Aug 19 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-2 -- Rebuilt for Python 3.8 - -* Mon Jun 10 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-1 -- Initial packaging +%autochangelog From dd0ce20c8dbd3c08c86d5005d0167bde1ee1c499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 7 Nov 2021 11:29:41 +0100 Subject: [PATCH 22/38] Version 2.3 (fixes #2019960) --- .gitignore | 1 + python-soupsieve.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b337c82..4f91950 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /python-soupsieve-2.1.0.tar.gz /python-soupsieve-2.2.tar.gz /python-soupsieve-2.2.1.tar.gz +/python-soupsieve-2.3.tar.gz diff --git a/python-soupsieve.spec b/python-soupsieve.spec index deda5c7..f789441 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,7 +1,7 @@ %bcond_without tests Name: python-soupsieve -Version: 2.2.1 +Version: 2.3 Release: %autorelease Summary: CSS selector library diff --git a/sources b/sources index 1435db0..9c09871 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-soupsieve-2.2.1.tar.gz) = c1339cfca237af7f8915b6d644b8271f769f9a37aa68f8acf536236551baaf9bb44a2f2a736f9168a7649cde14d37b8c24614c9491acbf81e3f4fdaea96b4928 +SHA512 (python-soupsieve-2.3.tar.gz) = c5d46703aba737c6eea7cc482311fd75dbaaa4929ebf3ed45b580d7e89d1d0be806608adbab974803acd8df5d74435efe1e149bce5cdbd74f77c90bba960859a From 6b1c169a078bce7d60cea278068bb03177dd7338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 13 Nov 2021 11:13:28 +0100 Subject: [PATCH 23/38] Version 2.3.1 (fixes #2022380) --- .gitignore | 1 + python-soupsieve.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4f91950..616d1c4 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /python-soupsieve-2.2.tar.gz /python-soupsieve-2.2.1.tar.gz /python-soupsieve-2.3.tar.gz +/python-soupsieve-2.3.1.tar.gz diff --git a/python-soupsieve.spec b/python-soupsieve.spec index f789441..02bed6d 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,7 +1,7 @@ %bcond_without tests Name: python-soupsieve -Version: 2.3 +Version: 2.3.1 Release: %autorelease Summary: CSS selector library diff --git a/sources b/sources index 9c09871..aa3ddc0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-soupsieve-2.3.tar.gz) = c5d46703aba737c6eea7cc482311fd75dbaaa4929ebf3ed45b580d7e89d1d0be806608adbab974803acd8df5d74435efe1e149bce5cdbd74f77c90bba960859a +SHA512 (python-soupsieve-2.3.1.tar.gz) = 3f1245b27d67e8b37bce4cb0b21b2b3f4d6b7ae112cc66672e5406c0701b28e605ed12db1e111bfeccea15625b17042e398b075b7f026d3f3e15069f0cafccac From 240c74c4d5dcd56cd49c80b1d32414c7fc840952 Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Tue, 8 Feb 2022 16:08:05 +0000 Subject: [PATCH 25/38] Convert to pyproject macros --- python-soupsieve.spec | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 02bed6d..1b1fd66 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -12,13 +12,6 @@ Source0: https://github.com/facelessuser/soupsieve/archive/%{version}/%{n BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3dist(setuptools) -%if %{with tests} -BuildRequires: python3-pytest -BuildRequires: python3dist(lxml) -BuildRequires: python3dist(html5lib) -BuildRequires: python3dist(beautifulsoup4) -%endif %global _description %{expand: Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. @@ -48,24 +41,32 @@ Summary: %{summary} %prep %autosetup -n soupsieve-%{version} +# Do not run coverage report during check +sed -Ei 's/ ?--cov(-[^ ]+)? +[^ ]+//g' tox.ini +sed -i 's/coverage.*//' tox.ini + +# Support posargs in tox.ini +sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini + +%generate_buildrequires +%pyproject_buildrequires %{?with_tests:-t} + %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files soupsieve %if %{with tests} %check # test_contains_cdata_html and test_contains_own_cdata_html are disabled to unblock Python 3.10 rebuild # downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1962458 -pytest-3 -v tests -k 'not test_namespace_xml_with_namespace and not test_contains_cdata_html and not test_contains_own_cdata_html' +%tox -- -- -k 'not test_namespace_xml_with_namespace and not test_contains_cdata_html and not test_contains_own_cdata_html' %endif -%files -n python3-soupsieve -%{python3_sitelib}/soupsieve/ -%{python3_sitelib}/soupsieve*.egg-info/ +%files -n python3-soupsieve -f %{pyproject_files} %doc README.md -%license LICENSE.md %changelog %autochangelog From dc38b01de61fc5ef2492e3f22191eb25b8cb95c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 8 Feb 2022 18:21:39 +0100 Subject: [PATCH 26/38] Remove deprecated and redundant %python_provide call --- python-soupsieve.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 1b1fd66..250cae7 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -34,7 +34,6 @@ simply do not match anything.} %package -n python3-soupsieve Summary: %{summary} -%{?python_provide:%python_provide python3-soupsieve} %description -n python3-soupsieve %_description From 1a1203bf6d6989a76401e7610e6a630f923acc51 Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Mon, 14 Feb 2022 16:06:33 +0000 Subject: [PATCH 27/38] Disable tests for lack of html5lib --- python-soupsieve.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 250cae7..4c016ef 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,4 +1,4 @@ -%bcond_without tests +%bcond_with tests Name: python-soupsieve Version: 2.3.1 @@ -12,6 +12,7 @@ Source0: https://github.com/facelessuser/soupsieve/archive/%{version}/%{n BuildArch: noarch BuildRequires: python3-devel +BuildRequires: python3-beautifulsoup4 %global _description %{expand: Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. @@ -62,6 +63,8 @@ sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini # test_contains_cdata_html and test_contains_own_cdata_html are disabled to unblock Python 3.10 rebuild # downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1962458 %tox -- -- -k 'not test_namespace_xml_with_namespace and not test_contains_cdata_html and not test_contains_own_cdata_html' +%else +%pyproject_check_import %endif %files -n python3-soupsieve -f %{pyproject_files} From 93ae7d32e9cd3c7dfbade7bf392c5efad6605c4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 21 Apr 2022 14:16:05 +0200 Subject: [PATCH 28/38] Version 2.3.2.post1 (rhbz#2072609) --- .gitignore | 1 + python-soupsieve.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 616d1c4..24b0968 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /python-soupsieve-2.2.1.tar.gz /python-soupsieve-2.3.tar.gz /python-soupsieve-2.3.1.tar.gz +/python-soupsieve-2.3.2.post1.tar.gz diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 250cae7..3c48a9b 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,7 +1,7 @@ %bcond_without tests Name: python-soupsieve -Version: 2.3.1 +Version: 2.3.2.post1 Release: %autorelease Summary: CSS selector library @@ -48,7 +48,9 @@ sed -i 's/coverage.*//' tox.ini sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %generate_buildrequires -%pyproject_buildrequires %{?with_tests:-t} +# pyproject_buildrequires.py fails with +# ValueError: build backend cannot provide build metadata (incl. runtime requirements) before build. +%pyproject_buildrequires %{?with_tests:-t} || : %build %pyproject_wheel @@ -66,6 +68,7 @@ sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %files -n python3-soupsieve -f %{pyproject_files} %doc README.md +%{python3_sitelib}/soupsieve-%{version}.dist-info/license_files/ %changelog %autochangelog diff --git a/sources b/sources index aa3ddc0..3d8eb2e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-soupsieve-2.3.1.tar.gz) = 3f1245b27d67e8b37bce4cb0b21b2b3f4d6b7ae112cc66672e5406c0701b28e605ed12db1e111bfeccea15625b17042e398b075b7f026d3f3e15069f0cafccac +SHA512 (python-soupsieve-2.3.2.post1.tar.gz) = 80eae1e7256cbcf2f2b8520779a5bdb68798e9813ed738ee933204ff1c23ad52553e21f3aa89ad61b900b906dcaa7a1eebd819300417304df782cda9e2d79c4a From 5ecafe2a18713379d03218ac24cb2c602d028ebe Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 17:48:09 +0200 Subject: [PATCH 29/38] Bootstrap for Python 3.11 --- python-soupsieve.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 3c48a9b..a282d32 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,3 +1,4 @@ +%global _without_tests 1 %bcond_without tests Name: python-soupsieve From 6e8dd0b1eef64718821baedb61f5a0b380c5b175 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 21:46:52 +0200 Subject: [PATCH 30/38] Rebuilt for Python 3.11 --- python-soupsieve.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index a282d32..3c48a9b 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,4 +1,3 @@ -%global _without_tests 1 %bcond_without tests Name: python-soupsieve From 3a7a7a032abcc00f3279c9dcf657640df45886df Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 11 Jul 2022 10:13:28 -0400 Subject: [PATCH 31/38] Remove obsolete workaround for rhbz#1985340 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was fixed in pyproject-rpm-macros 1.1.0; now the workaround produces duplicates in the file list. Additionally, the license file directory in dist-info is renamed from “license_files” to “licenses” in hatchling 1.5.0, so the workaround would cause FTBFS. --- python-soupsieve.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 3c48a9b..cf48d83 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -68,7 +68,6 @@ sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %files -n python3-soupsieve -f %{pyproject_files} %doc README.md -%{python3_sitelib}/soupsieve-%{version}.dist-info/license_files/ %changelog %autochangelog From 3979d68ec2f7859b1a74205c15590d6ae57880fe Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 11 Jul 2022 10:17:42 -0400 Subject: [PATCH 32/38] Fix pyproject_buildrequires invocation for hatchling backend --- python-soupsieve.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index cf48d83..803f611 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -48,9 +48,7 @@ sed -i 's/coverage.*//' tox.ini sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %generate_buildrequires -# pyproject_buildrequires.py fails with -# ValueError: build backend cannot provide build metadata (incl. runtime requirements) before build. -%pyproject_buildrequires %{?with_tests:-t} || : +%pyproject_buildrequires -w %{?with_tests:-t} %build %pyproject_wheel From 1a317658dcca8d2215151ad4e83a8150829bb267 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 11 Jul 2022 10:22:36 -0400 Subject: [PATCH 33/38] Explicitly list the license file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While it is automatically included in dist-info, it is not currently marked with the “license” macro. See https://github.com/pypa/hatch/issues/193 for details. --- python-soupsieve.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 803f611..96dc242 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -65,6 +65,7 @@ sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %endif %files -n python3-soupsieve -f %{pyproject_files} +%license LICENSE.md %doc README.md %changelog From 1068caa0965f8a12316565ce236182ad3f8e9e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 22 Feb 2023 13:40:49 +0100 Subject: [PATCH 36/38] Version 2.4 ... (rhbz#2169774) --- .gitignore | 1 + python-soupsieve.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 24b0968..36a36b0 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /python-soupsieve-2.3.tar.gz /python-soupsieve-2.3.1.tar.gz /python-soupsieve-2.3.2.post1.tar.gz +/python-soupsieve-2.4.tar.gz diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 96dc242..7c05164 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,7 +1,7 @@ %bcond_without tests Name: python-soupsieve -Version: 2.3.2.post1 +Version: 2.4 Release: %autorelease Summary: CSS selector library diff --git a/sources b/sources index 3d8eb2e..304ec0a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-soupsieve-2.3.2.post1.tar.gz) = 80eae1e7256cbcf2f2b8520779a5bdb68798e9813ed738ee933204ff1c23ad52553e21f3aa89ad61b900b906dcaa7a1eebd819300417304df782cda9e2d79c4a +SHA512 (python-soupsieve-2.4.tar.gz) = 68885307d8e6731d47372af5130f2fb88567c7d5b5995c84fb11116007b2360dea88aac1b5c8cadc41f99ef71704c4fe710c45318be0be727ed9145ce009e4fd From f83d606b4db9c020ee73c024b604efc9c8f91577 Mon Sep 17 00:00:00 2001 From: jonathanspw Date: Thu, 27 Apr 2023 20:20:56 -0500 Subject: [PATCH 37/38] update to 2.4.1 rhbz#2187123 --- .gitignore | 2 ++ python-soupsieve.spec | 2 +- sources | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 36a36b0..4d30136 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ /python-soupsieve-2.3.1.tar.gz /python-soupsieve-2.3.2.post1.tar.gz /python-soupsieve-2.4.tar.gz +/soupsieve-2.4.1.tar.gz +/python-soupsieve-2.4.1.tar.gz diff --git a/python-soupsieve.spec b/python-soupsieve.spec index f3db335..baedf0e 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,7 +1,7 @@ %bcond_with tests Name: python-soupsieve -Version: 2.4 +Version: 2.4.1 Release: %autorelease Summary: CSS selector library diff --git a/sources b/sources index 304ec0a..d4dbd40 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-soupsieve-2.4.tar.gz) = 68885307d8e6731d47372af5130f2fb88567c7d5b5995c84fb11116007b2360dea88aac1b5c8cadc41f99ef71704c4fe710c45318be0be727ed9145ce009e4fd +SHA512 (python-soupsieve-2.4.1.tar.gz) = 71ed91beabd9afef5756dddbb259f2607ca5109b8ff3f0a25bc3d4730f2948e160c20334b1c6e9f9095362f2b9e601e1ccfee09854e000b2f9f83af514790caa From 98fc841a441aeb128c33de1874e2e3ace43f2bfd Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 31 Oct 2023 00:04:52 +0300 Subject: [PATCH 38/38] Remove unnecessary files and fix spec-file --- README.md | 3 --- changelog | 44 ------------------------------------------- python-soupsieve.spec | 16 +++++++++++++++- sources | 1 - 4 files changed, 15 insertions(+), 49 deletions(-) delete mode 100644 README.md delete mode 100644 changelog delete mode 100644 sources diff --git a/README.md b/README.md deleted file mode 100644 index e3346d4..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# python-soupsieve - -The python-soupsieve package \ No newline at end of file diff --git a/changelog b/changelog deleted file mode 100644 index 1166d55..0000000 --- a/changelog +++ /dev/null @@ -1,44 +0,0 @@ -* Fri Jul 23 2021 Fedora Release Engineering - 2.2.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jun 9 2021 Zbigniew Jędrzejewski-Szmek - 2.2.1-1 -- Update to latest bugfix version - -* Thu Jun 03 2021 Python Maint - 2.2-3 -- Rebuilt for Python 3.10 - -* Thu Jun 03 2021 Python Maint - 2.2-2 -- Bootstrap for Python 3.10 - -* Sat Feb 13 2021 Zbigniew Jędrzejewski-Szmek - 2.2-1 -- Latest version (#1927002) - -* Wed Jan 27 2021 Fedora Release Engineering - 2.1.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Thu Jan 07 2021 Joel Capitao - 2.1.0-1 -- Update to 2.1.0 (#1906625) - -* Wed Jul 29 2020 Fedora Release Engineering - 2.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jun 26 2020 Charalampos Stratakis - 2.0.1-1 -- Update to 2.0.1 (#1814999) - -* Sat May 23 2020 Miro Hrončok - 1.9.2-6 -- Rebuilt for Python 3.9 - -* Sat May 23 2020 Miro Hrončok - 1.9.2-5 -- Bootstrap for Python 3.9 - -* Thu Jan 30 2020 Fedora Release Engineering - 1.9.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Tue Sep 03 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-3 -- Subpackage python2-soupsieve has been removed (#1748298) - -* Mon Aug 19 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-2 -- Rebuilt for Python 3.8 - -* Mon Jun 10 2019 Zbigniew Jędrzejewski-Szmek - 1.9.2-1 -- Initial packaging diff --git a/python-soupsieve.spec b/python-soupsieve.spec index baedf0e..cb9fe20 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,3 +1,13 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + %bcond_with tests Name: python-soupsieve @@ -72,4 +82,8 @@ sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %doc README.md %changelog -%autochangelog +* Fri Apr 28 2023 jonathanspw - 2.4.1-1 +- update to 2.4.1 rhbz#2187123 + +* Mon Apr 17 2023 jonathanspw - 2.4-2 +- RPMAUTOSPEC: unresolvable merge diff --git a/sources b/sources deleted file mode 100644 index d4dbd40..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (python-soupsieve-2.4.1.tar.gz) = 71ed91beabd9afef5756dddbb259f2607ca5109b8ff3f0a25bc3d4730f2948e160c20334b1c6e9f9095362f2b9e601e1ccfee09854e000b2f9f83af514790caa