From 98b91536ff3e1c380b35b3916c1f91b450dfee9a Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Oct 09 2023 06:56:38 +0000 Subject: Update to 2.5 Related-to: https://review.rdoproject.org/r/q/Ic29d7ed326b69d5bb218c0f327a902222e753628 --- diff --git a/.python-soupsieve.metadata b/.python-soupsieve.metadata index 6900694..8438c56 100644 --- a/.python-soupsieve.metadata +++ b/.python-soupsieve.metadata @@ -1 +1 @@ -92f00f7f4c3cdfc41c6992eac00ce95b295bde16 SOURCES/python-soupsieve-2.4.1.tar.gz +05fdd8f9d93891583a1b682dbf964de193ece1eb SOURCES/python-soupsieve-2.5.tar.gz diff --git a/SPECS/python-soupsieve.spec b/SPECS/python-soupsieve.spec index 89d5548..829c6b4 100644 --- a/SPECS/python-soupsieve.spec +++ b/SPECS/python-soupsieve.spec @@ -8,10 +8,10 @@ }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -%bcond_with tests +%bcond_without tests Name: python-soupsieve -Version: 2.4.1 +Version: 2.5 Release: %autorelease Summary: CSS selector library @@ -23,7 +23,7 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros -BuildRequires: python3-beautifulsoup4 +BuildRequires: python3-pytest %global _description %{expand: Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. @@ -53,14 +53,10 @@ Summary: %{summary} %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 +sed -i -e '/coverage/d' -e '/pytest-cov/d' requirements/tests.txt %generate_buildrequires -%pyproject_buildrequires -w %{?with_tests:-t} +%pyproject_buildrequires -w %{?with_tests:-r requirements/tests.txt} %build %pyproject_wheel @@ -73,9 +69,7 @@ sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %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 -%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 +%pytest -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 -f %{pyproject_files} @@ -83,11 +77,29 @@ sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %doc README.md %changelog -* Fri Apr 28 2023 jonathanspw - 2.4.1-1 -- update to 2.4.1 rhbz#2187123 +* Wed Sep 06 2023 Zbigniew Jędrzejewski-Szmek - 2.5-1 +- Version 2.5 (rhbz#2236980) + +* Fri Jul 21 2023 Fedora Release Engineering - 2.4.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jun 29 2023 Python Maint - 2.4.1-6 +- Rebuilt for Python 3.12 + +* Mon Jun 26 2023 Python Maint - 2.4.1-5 +- Bootstrap for Python 3.12 + +* Fri Jun 16 2023 Python Maint - 2.4.1-4 +- Rebuilt for Python 3.12 + +* Tue Jun 13 2023 Python Maint - 2.4.1-3 +- Bootstrap for Python 3.12 + +* Mon May 29 2023 Yaakov Selkowitz - 2.4.1-2 +- Avoid tox dependency -* Mon Apr 17 2023 jonathanspw - 2.4-2 -- RPMAUTOSPEC: unresolvable merge +* Sat May 20 2023 Zbigniew Jędrzejewski-Szmek - 2.4.1-1 +- Version 2.4.1 (rhbz#2187123) * Wed Feb 22 2023 Zbigniew Jędrzejewski-Szmek - 2.4-1 - Version 2.4 (rhbz#2169774)