1 |
commit: 67298db5765054e4c318ef1322901b67043fc441 |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Wed Nov 27 02:16:37 2019 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 27 02:18:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67298db5 |
7 |
|
8 |
dev-python/beautifulsoup-4.8.1: bump, add py38 |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/beautifulsoup/Manifest | 1 + |
15 |
.../beautifulsoup/beautifulsoup-4.8.1.ebuild | 36 ++++++++++++++++++++++ |
16 |
2 files changed, 37 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/beautifulsoup/Manifest b/dev-python/beautifulsoup/Manifest |
19 |
index 35b0715a3c4..940c2cc10de 100644 |
20 |
--- a/dev-python/beautifulsoup/Manifest |
21 |
+++ b/dev-python/beautifulsoup/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST BeautifulSoup-3.2.1.tar.gz 31224 BLAKE2B 9361ce6d048d0443c3257d10ec2734c24202af8eb850a59a4344e6992856f849d92dd509f102c27cdf9634bbc235e5f96e304993e6d4813d275d66bd3791b451 SHA512 365b7b045a2069cf437877543577bc0aa99256a6dc4c9743670b46bfceab5494a06628012d6eccecfe99c25d5c9e0c65814964b47026f15ba1a538444cfb7789 |
24 |
DIST beautifulsoup4-4.5.1.tar.gz 158039 BLAKE2B 5eb99c7efdb13c359385c7c7f3280332ca28cc4b5ff80b90c326d80ef55acef8e98d86691a7b1df420bf68bc65e96ad7d559b461a03f44e494fb4b7789753601 SHA512 d560d7f743507084ec546708d29bb3764512f5b2c380004280dde813350bf48d1697fddce3bd3f95186407bf5142941d7adc7d0de8e7962eb5ca1278dbc7e93f |
25 |
DIST beautifulsoup4-4.6.3.tar.gz 167469 BLAKE2B 0bc8f729298a2fd1e8f3cc8a7635587217f9a2e6e2c71709e99c40eedf1ebb4d76cd0d17ec36b99f3ee047193e4d44e31b8d2aa9864c43ce5db380fbdc083f76 SHA512 0cacae77843326ebee87d108b6706a7ca6943684bcccc62554d2ae5d77dfd181c97435ceca9d3e2e51962b024bbe52bc08d7f0dc516311aa87b3a1f87fb4ae23 |
26 |
+DIST beautifulsoup4-4.8.1.tar.gz 159164 BLAKE2B 00121e9b30f700ade0bb2ec8f637b4173ecb4c187b8f9a77bcc4e6b333fced85a699c8d9efa5b757ab02f54c2b05740702c13625ff427730ccc1f6a97f43fa48 SHA512 7abc5e84cb8da5428dafc6b473418d0cc72b518cb1a73d4ae58b8dad3ec985e5778629dc1d7c8374dfb223be981983c745a1dbb55a98078b4cfe7ba5ce25539b |
27 |
|
28 |
diff --git a/dev-python/beautifulsoup/beautifulsoup-4.8.1.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.8.1.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..5e044edabc6 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/beautifulsoup/beautifulsoup-4.8.1.ebuild |
33 |
@@ -0,0 +1,36 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+MY_PN="${PN}4" |
44 |
+MY_P="${MY_PN}-${PV}" |
45 |
+ |
46 |
+DESCRIPTION="Pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree" |
47 |
+HOMEPAGE="https://www.crummy.com/software/BeautifulSoup/bs4/" |
48 |
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="4" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+ |
54 |
+# html5lib is optional however hard coding since its use is actively discouraged in the devmanual |
55 |
+RDEPEND=" |
56 |
+ dev-python/soupsieve[${PYTHON_USEDEP}] |
57 |
+ $(python_gen_cond_dep 'dev-python/html5lib[${PYTHON_USEDEP}]' python2_7 pypy) |
58 |
+ $(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]' python2_7 'python3*') |
59 |
+" |
60 |
+BDEPEND="${RDEPEND}" |
61 |
+ |
62 |
+S="${WORKDIR}/${MY_P}" |
63 |
+ |
64 |
+distutils_enable_tests nose |
65 |
+distutils_enable_sphinx doc/source --no-autodoc |
66 |
+ |
67 |
+python_test() { |
68 |
+ nosetests --verbose -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}" |
69 |
+} |