diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-01-11 04:26:51 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-01-11 04:26:51 +0100 |
commit | a21278f83da23e9e5e54890e9fa3758d0e1d1319 (patch) | |
tree | a7670340145296695f5e09d781a1b49873d3b686 /dev-python/beautifulsoup | |
parent | media-gfx/imagemagick: Bump to versions 6.9.7.3 and 7.0.4.3. Removed old. (diff) | |
download | gentoo-a21278f83da23e9e5e54890e9fa3758d0e1d1319.tar.gz gentoo-a21278f83da23e9e5e54890e9fa3758d0e1d1319.tar.bz2 gentoo-a21278f83da23e9e5e54890e9fa3758d0e1d1319.zip |
dev-python/beautifulsoup: Bump to version 4.5.3
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/beautifulsoup')
-rw-r--r-- | dev-python/beautifulsoup/Manifest | 1 | ||||
-rw-r--r-- | dev-python/beautifulsoup/beautifulsoup-4.5.3.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/beautifulsoup/Manifest b/dev-python/beautifulsoup/Manifest index b4bddb1445b5..0945d53e6cf1 100644 --- a/dev-python/beautifulsoup/Manifest +++ b/dev-python/beautifulsoup/Manifest @@ -4,3 +4,4 @@ DIST beautifulsoup4-4.3.2.tar.gz 143356 SHA256 a2b29bd048ca2fe54a046b29770964738 DIST beautifulsoup4-4.4.0.tar.gz 151500 SHA256 fad91da88f69438b9ba939ab1b2cabaa31b1d914f1cccb4bb157a993ed2917f6 SHA512 812abb09099779ecb9c41ce55963ad42973eef00193e28e59dd907715fd6bc2b470b07f80bbe2838b790be252935eb81357a8cfb59808865d2fb62479476eb2f WHIRLPOOL 93b4bd82f1b7596a198d3a8ad5d21cfad51595884b2eb03c36e827e1b3d9f7a8400ed4415c9f0ffe9d014eac66c93cd52521a433ca914cac1a390a6487f153ba DIST beautifulsoup4-4.4.1.tar.gz 152140 SHA256 87d4013d0625d4789a4f56b8d79a04d5ce6db1152bb65f1d39744f7709a366b4 SHA512 16c692196d306564df23018bde714052b0209301f32df27c18413c085e98b404d81fad6427c8e8179e54158e98bdf2edce71ee75d8b8d835d2566cc170eae1d5 WHIRLPOOL c59d384ff72a1e9ca3a0e6e54b4e201ab8d127a4e2eecd01b43f2f67b6a6bba3af4de6ddd8441a237b5838428098aaf3198e2d55607a188331c6e7dff5d51a8f DIST beautifulsoup4-4.5.1.tar.gz 158039 SHA256 3c9474036afda9136aac6463def733f81017bf9ef3510d25634f335b0c87f5e1 SHA512 d560d7f743507084ec546708d29bb3764512f5b2c380004280dde813350bf48d1697fddce3bd3f95186407bf5142941d7adc7d0de8e7962eb5ca1278dbc7e93f WHIRLPOOL bf971596707c2ff69e93528164be01254258aa45601763c543246b67c5d31024b0e4de618382775a3cf313d255d8d1d6268a47542773531aacee9a2643412661 +DIST beautifulsoup4-4.5.3.tar.gz 159185 SHA256 b21ca09366fa596043578fd4188b052b46634d22059e68dd0077d9ee77e08a3e SHA512 d31db0e3bb778a78c37882fcd55dc580eb5eeadfd48744eae6e2e0d0ef5983b216a4682af84a4971611b05fb99c45012ce094475f2d7c39a5b90dad99906ec84 WHIRLPOOL f8dbffd8e4a1dbee0a7ad8a4bcbe22a984f524474f0241a4c03ef5c37b291f9834a6ff1d076421c0cf1087588df1e49f5b99cd9afd7e81591c9063d92d4d097d diff --git a/dev-python/beautifulsoup/beautifulsoup-4.5.3.ebuild b/dev-python/beautifulsoup/beautifulsoup-4.5.3.ebuild new file mode 100644 index 000000000000..5c7ac425737a --- /dev/null +++ b/dev-python/beautifulsoup/beautifulsoup-4.5.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN}4 +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Provides pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree" +HOMEPAGE="https://bugs.launchpad.net/beautifulsoup/ + https://pypi.python.org/pypi/beautifulsoup4" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" + +IUSE="doc test" + +# html5lib is optional however hard coding since its use is actively discouraged in the devmanual +RDEPEND=" + $(python_gen_cond_dep 'dev-python/html5lib[${PYTHON_USEDEP}]' python2_7 pypy) + $(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]' python2_7 'python3*')" +DEPEND=" + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/nose[${PYTHON_USEDEP}] ) + " + +S=${WORKDIR}/${MY_P} + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + nosetests --verbose -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/html/. ) + distutils-r1_python_install_all +} |