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