Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/beautifulsoup/
Date: Sat, 03 Oct 2020 21:21:16
Message-Id: 1601760069.43253e89cc623881fd2b76f8c3e843fdc62504dc.mgorny@gentoo
1 commit: 43253e89cc623881fd2b76f8c3e843fdc62504dc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 3 20:58:29 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 3 21:21:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43253e89
7
8 dev-python/beautifulsoup: Bump to 4.9.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/beautifulsoup/Manifest | 1 +
13 .../beautifulsoup/beautifulsoup-4.9.3.ebuild | 33 ++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-python/beautifulsoup/Manifest b/dev-python/beautifulsoup/Manifest
17 index 6b9e2318704..620425abfae 100644
18 --- a/dev-python/beautifulsoup/Manifest
19 +++ b/dev-python/beautifulsoup/Manifest
20 @@ -1,2 +1,3 @@
21 DIST beautifulsoup4-4.9.1.tar.gz 374759 BLAKE2B 43f5dc296bd0c4967036fcb70889f988c0dfc9d8713f8bbab423c9089e87960323392458b3abb9b2332acff286efbbb308a5c77058462c15f8dfe9056f0304c3 SHA512 a1fe9cbfe8616d2ff25cc836769ff02d51ed86b06ca9a37366867b145440b7f64b866346600ed74820f0407c8e70eaac3d58700766a99b5ff7433cb736a57b3c
22 DIST beautifulsoup4-4.9.2.tar.gz 375880 BLAKE2B 99137530e3b95aa4dde80b64dd42f0614c6429aca421208eab98764f7929c30a725e9df3625afa4a2c2e8bd4be56144cb9077e8e260741b6b306cfa696e6a076 SHA512 3bac5d57404e0be1e77a1bd560750e831c8636fc5f9b3c05b375c0cf44d6846ed73127a2a7d1d8ca657c21ec33854b8194f76b62820fb627d80a5906229a7454
23 +DIST beautifulsoup4-4.9.3.tar.gz 376031 BLAKE2B fbe2139f288eee978c3f665c7640f66c6c51b857a186f6a8ace02b36effa1552f1cbea9e3744e0a46a65a06e6cdbd9203832e0ecd86b61406b933f9bd83d37b8 SHA512 e3cb6258bd7c51f12128fa8ee5948fb3566163ae233fac2dda21bab7772ab8dbb384d920b0ea138ef9921307b48f89cee3a9bf6111dfc8903d917ee7af365f34
24
25 diff --git a/dev-python/beautifulsoup/beautifulsoup-4.9.3.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.9.3.ebuild
26 new file mode 100644
27 index 00000000000..8c2e9be5885
28 --- /dev/null
29 +++ b/dev-python/beautifulsoup/beautifulsoup-4.9.3.ebuild
30 @@ -0,0 +1,33 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6..9} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +MY_PN="${PN}4"
41 +MY_P="${MY_PN}-${PV}"
42 +
43 +DESCRIPTION="Pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree"
44 +HOMEPAGE="https://www.crummy.com/software/BeautifulSoup/bs4/"
45 +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
46 +S="${WORKDIR}/${MY_P}"
47 +
48 +LICENSE="MIT"
49 +SLOT="4"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
51 +
52 +RDEPEND="
53 + dev-python/soupsieve[${PYTHON_USEDEP}]
54 + dev-python/html5lib[${PYTHON_USEDEP}]
55 + dev-python/lxml[${PYTHON_USEDEP}]
56 +"
57 +
58 +distutils_enable_tests nose
59 +distutils_enable_sphinx doc/source
60 +
61 +python_test() {
62 + nosetests --verbose -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}"
63 +}