From b970158806a9bbcf5bd79e4517925207d683aefa Mon Sep 17 00:00:00 2001 From: Terje Rosten Date: Wed, 17 Jan 2024 19:36:25 +0100 Subject: [PATCH] 4.12.3 --- libxml2.patch | 13 ----------- python-beautifulsoup4.spec | 10 ++++----- sources | 2 +- tox.patch | 45 -------------------------------------- 4 files changed, 6 insertions(+), 64 deletions(-) delete mode 100644 libxml2.patch delete mode 100644 tox.patch diff --git a/libxml2.patch b/libxml2.patch deleted file mode 100644 index ceabe68..0000000 --- a/libxml2.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/bs4/tests/__init__.py b/bs4/tests/__init__.py -index dbb1593..325affe 100644 ---- a/bs4/tests/__init__.py -+++ b/bs4/tests/__init__.py -@@ -1105,7 +1105,7 @@ class XMLTreeBuilderSmokeTest(TreeBuilderSmokeTest): - doc = """ - - foo - bar - baz diff --git a/python-beautifulsoup4.spec b/python-beautifulsoup4.spec index ff9739a..81c2480 100644 --- a/python-beautifulsoup4.spec +++ b/python-beautifulsoup4.spec @@ -3,15 +3,12 @@ %bcond tests 1 Name: python-beautifulsoup4 -Version: 4.12.2 -Release: 5%{?dist} +Version: 4.12.3 +Release: 1%{?dist} Summary: HTML/XML parser for quick-turnaround applications like screen-scraping License: MIT URL: http://www.crummy.com/software/BeautifulSoup/ Source0: https://files.pythonhosted.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz -Patch0: tox.patch -# https://bugs.launchpad.net/beautifulsoup/+bug/2045481 -Patch1: libxml2.patch BuildArch: noarch # html5lib BR just for test coverage %if %{with tests} @@ -81,6 +78,9 @@ Obsoletes: python3-BeautifulSoup < 1:3.2.1-2 %{python3_sitelib}/bs4 %changelog +* Wed Jan 17 2024 Terje Rosten - 4.12.3-1 +- 4.12.3 + * Sat Dec 16 2023 Terje Rosten - 4.12.2-5 - Add patch from upstream to fix test issue with libxml2 2.12.1 (bz#2251911) diff --git a/sources b/sources index 85bf2e2..e344086 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (beautifulsoup4-4.12.2.tar.gz) = 1dbb620f675bb319ef050ece0f343e80359bdc59cd8b8de19b1851aa5bca1081a7e953e3221ad97142198c17f67384c05b0406af24a123d71398f209fb89db97 +SHA512 (beautifulsoup4-4.12.3.tar.gz) = b5b6cc9f64a97fa52b9a2ee1265aa215db476e705d3d79e49301de7e8d36c56c96924cb440eec0715f7ec75c5ddf4c1ade9d6cef7cdc9bf9e37125ac6eb50837 diff --git a/tox.patch b/tox.patch deleted file mode 100644 index 5dede52..0000000 --- a/tox.patch +++ /dev/null @@ -1,45 +0,0 @@ -From c9f9b09140a0921694432ad33ad542a7e8a37894 Mon Sep 17 00:00:00 2001 -From: Terje Rosten -Date: Thu, 13 Apr 2023 19:01:57 +0200 -Subject: [PATCH] Add missing tox.ini file - ---- - tox.ini | 26 ++++++++++++++++++++++++++ - 1 file changed, 26 insertions(+) - create mode 100644 tox.ini - -diff --git a/tox.ini b/tox.ini -new file mode 100644 -index 0000000..f793655 ---- /dev/null -+++ b/tox.ini -@@ -0,0 +1,26 @@ -+[tox] -+env_list = -+ py{36, 37, 38, 39, 310, 311},bare,docs -+minversion = 3.28.0 -+skip_missing_interpreters = true -+ -+[testenv] -+package = wheel -+wheel_build_env = .pkg -+description = run the tests with all dependencies installed -+deps = lxml -+ html5lib -+ soupsieve>=1.2 -+ pytest>=6 -+commands = pytest {tty:--color=yes} {posargs} -+ -+[testenv:docs] -+basepython = python3 -+description = build the documentation -+deps = sphinx -+commands = sphinx-build -b html doc/source doc/build/html -+ -+[testenv:bare] -+description = run the tests on the oldest supported version of Python, without any dependencies installed -+basepython = python3.6 -+deps = pytest>=6 --- -2.39.2 -