1 |
commit: 5a1941493a4c3e319b1ed015fb97fcd5c4de18c3 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 31 18:48:57 2023 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 31 19:09:52 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a194149 |
7 |
|
8 |
dev-python/beautifulsoup4: add 4.11.2 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/beautifulsoup4/Manifest | 1 + |
13 |
.../beautifulsoup4/beautifulsoup4-4.11.2.ebuild | 37 ++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/beautifulsoup4/Manifest b/dev-python/beautifulsoup4/Manifest |
17 |
index c417a2b0a8dc..84adc392b283 100644 |
18 |
--- a/dev-python/beautifulsoup4/Manifest |
19 |
+++ b/dev-python/beautifulsoup4/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST beautifulsoup4-4.11.1.tar.gz 517113 BLAKE2B bc0cc8dbb1bffca2d3441a274147f201b79447f2147f7b4c329f05f6d230f9986eebd3709199d0b3c7dba8c15e4ce42e9dc75e290a2bfdfdae643f5dfe07e767 SHA512 7446be07cd55f23def929e6491f0d74a940cf50206ed520b8ae7b9d57bd19ecf6aa821f446ca4f26f1e08b43fcc71fb397886f51a3f0ec691f9e53dfdc7a0cf8 |
22 |
+DIST beautifulsoup4-4.11.2.tar.gz 517627 BLAKE2B 19fc88dff84c398461ecce3b66b1a92c3541114e3595aa1bae7182914e174d9c36b6de37ba120200695f6dca489c6afcd361244ae9577bc469d20a0864989d48 SHA512 68f5328f881946e80ed1af36b26da184f0af58aaf124f5f623f89c40130e1578f6dbe874b11c802e52c0ec02cfbf6b681e10eb235279631f479d14c2243e7dd3 |
23 |
|
24 |
diff --git a/dev-python/beautifulsoup4/beautifulsoup4-4.11.2.ebuild b/dev-python/beautifulsoup4/beautifulsoup4-4.11.2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..a785ef80106c |
27 |
--- /dev/null |
28 |
+++ b/dev-python/beautifulsoup4/beautifulsoup4-4.11.2.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree" |
41 |
+HOMEPAGE="https://www.crummy.com/software/BeautifulSoup/bs4/" |
42 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-python/soupsieve[${PYTHON_USEDEP}] |
50 |
+ dev-python/html5lib[${PYTHON_USEDEP}] |
51 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
52 |
+" |
53 |
+# bs4 prefers cchardet > chardet > charset-normalizer |
54 |
+# however, charset-normalizer causes test failures, so force the other two |
55 |
+# dev-python/chardet[${PYTHON_USEDEP}] |
56 |
+BDEPEND=" |
57 |
+ test? ( |
58 |
+ || ( |
59 |
+ dev-python/cchardet[${PYTHON_USEDEP}] |
60 |
+ dev-python/chardet[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+distutils_enable_tests pytest |
66 |
+distutils_enable_sphinx doc/source |