commit: a40c111c1e0d58033b70bd1fa0c60d5487be903f Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Sep 26 17:43:33 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Sep 26 17:43:33 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a40c111c
dev-python/beautifulsoup: Bump to 4.9.2 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/beautifulsoup/Manifest | 1 + .../beautifulsoup/beautifulsoup-4.9.2.ebuild | 33 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-python/beautifulsoup/Manifest b/dev-python/beautifulsoup/Manifest index df625dc9847..6b9e2318704 100644 --- a/dev-python/beautifulsoup/Manifest +++ b/dev-python/beautifulsoup/Manifest @@ -1 +1,2 @@ DIST beautifulsoup4-4.9.1.tar.gz 374759 BLAKE2B 43f5dc296bd0c4967036fcb70889f988c0dfc9d8713f8bbab423c9089e87960323392458b3abb9b2332acff286efbbb308a5c77058462c15f8dfe9056f0304c3 SHA512 a1fe9cbfe8616d2ff25cc836769ff02d51ed86b06ca9a37366867b145440b7f64b866346600ed74820f0407c8e70eaac3d58700766a99b5ff7433cb736a57b3c +DIST beautifulsoup4-4.9.2.tar.gz 375880 BLAKE2B 99137530e3b95aa4dde80b64dd42f0614c6429aca421208eab98764f7929c30a725e9df3625afa4a2c2e8bd4be56144cb9077e8e260741b6b306cfa696e6a076 SHA512 3bac5d57404e0be1e77a1bd560750e831c8636fc5f9b3c05b375c0cf44d6846ed73127a2a7d1d8ca657c21ec33854b8194f76b62820fb627d80a5906229a7454 diff --git a/dev-python/beautifulsoup/beautifulsoup-4.9.2.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.9.2.ebuild new file mode 100644 index 00000000000..8c2e9be5885 --- /dev/null +++ b/dev-python/beautifulsoup/beautifulsoup-4.9.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} pypy3 ) + +inherit distutils-r1 + +MY_PN="${PN}4" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree" +HOMEPAGE="https://www.crummy.com/software/BeautifulSoup/bs4/" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/soupsieve[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] +" + +distutils_enable_tests nose +distutils_enable_sphinx doc/source + +python_test() { + nosetests --verbose -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}" +}