4.12.3
This commit is contained in:
parent
757c397cee
commit
b970158806
@ -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 = """<?xml version="1.0" encoding="utf-8"?>
|
||||
<Document xmlns="http://example.com/ns0"
|
||||
xmlns:ns1="http://example.com/ns1"
|
||||
- xmlns:ns2="http://example.com/ns2"
|
||||
+ xmlns:ns2="http://example.com/ns2">
|
||||
<ns1:tag>foo</ns1:tag>
|
||||
<ns1:tag>bar</ns1:tag>
|
||||
<ns2:tag key="value">baz</ns2:tag>
|
@ -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 <terje.rosten@ntnu.no> - 4.12.3-1
|
||||
- 4.12.3
|
||||
|
||||
* Sat Dec 16 2023 Terje Rosten <terje.rosten@ntnu.no> - 4.12.2-5
|
||||
- Add patch from upstream to fix test issue with libxml2 2.12.1 (bz#2251911)
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (beautifulsoup4-4.12.2.tar.gz) = 1dbb620f675bb319ef050ece0f343e80359bdc59cd8b8de19b1851aa5bca1081a7e953e3221ad97142198c17f67384c05b0406af24a123d71398f209fb89db97
|
||||
SHA512 (beautifulsoup4-4.12.3.tar.gz) = b5b6cc9f64a97fa52b9a2ee1265aa215db476e705d3d79e49301de7e8d36c56c96924cb440eec0715f7ec75c5ddf4c1ade9d6cef7cdc9bf9e37125ac6eb50837
|
||||
|
45
tox.patch
45
tox.patch
@ -1,45 +0,0 @@
|
||||
From c9f9b09140a0921694432ad33ad542a7e8a37894 Mon Sep 17 00:00:00 2001
|
||||
From: Terje Rosten <terje.rosten@ntnu.no>
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user