beautifulsoup-4.6.3
This commit is contained in:
parent
f9eb05f631
commit
07359cfe1a
@ -1,2 +1,4 @@
|
||||
DIST beautifulsoup4-4.6.0.tar.gz 160846 BLAKE2B c56c61c5ac2116721815b3cc8e0ec249f191a76bc36e26593af54cc0937e3a4d70c5a2b3069b12f1ae4f5b78cda78e2abda5da99fdd6987afe0f581a4130685c SHA512 1a7eee4218e58cc3852e71fe4f0892f673bb46a851941264766a38eff8ef05d612d88b4641fcb478ce8f66ac50dc987ca039923c4bbb11867c74813289f7e578
|
||||
DIST beautifulsoup4-4.6.3.tar.gz 167469 BLAKE2B 0bc8f729298a2fd1e8f3cc8a7635587217f9a2e6e2c71709e99c40eedf1ebb4d76cd0d17ec36b99f3ee047193e4d44e31b8d2aa9864c43ce5db380fbdc083f76 SHA512 0cacae77843326ebee87d108b6706a7ca6943684bcccc62554d2ae5d77dfd181c97435ceca9d3e2e51962b024bbe52bc08d7f0dc516311aa87b3a1f87fb4ae23
|
||||
EBUILD beautifulsoup-4.6.0.ebuild 1324 BLAKE2B 34832ce698f74ccd1c331a8c392b165567dd44899991d9799f4b885ba1b177227c8c9f74d19481958965907c40524d11d6cf3407760a7d0f1ff53b7e1dd33f40 SHA512 e2b79e8cc2f0852c93330c20741fc1a6edd447d46c07ee9602c19086636be841a3928db571c8a683719f9f113df2908ec13013aeaa011d68fb5707b9071abff8
|
||||
EBUILD beautifulsoup-4.6.3.ebuild 1324 BLAKE2B 34832ce698f74ccd1c331a8c392b165567dd44899991d9799f4b885ba1b177227c8c9f74d19481958965907c40524d11d6cf3407760a7d0f1ff53b7e1dd33f40 SHA512 e2b79e8cc2f0852c93330c20741fc1a6edd447d46c07ee9602c19086636be841a3928db571c8a683719f9f113df2908ec13013aeaa011d68fb5707b9071abff8
|
||||
|
||||
45
dev-python/beautifulsoup/beautifulsoup-4.6.3.ebuild
Normal file
45
dev-python/beautifulsoup/beautifulsoup-4.6.3.ebuild
Normal file
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy 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"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user