mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-26 16:51:03 +02:00
parsel: fix test failure
This commit is contained in:
parent
da7e378c77
commit
6b5d80293d
1 changed files with 9 additions and 3 deletions
|
|
@ -4,7 +4,6 @@
|
|||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Parsel is a library to extract data from HTML and XML using XPath and CSS selectors"
|
||||
|
|
@ -14,12 +13,19 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/w3lib-1.19.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/cssselect-0.9[${PYTHON_USEDEP}]"
|
||||
>=dev-python/cssselect-0.9[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/functools32[${PYTHON_USEDEP}]' python2_7)"
|
||||
|
||||
DEPEND="${REDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
# test? ( >=dev-python/pytest-runner[${PYTHON_USEDEP}] )
|
||||
|
||||
src_prepare() {
|
||||
# don't require pytest-runner
|
||||
sed -i "/setup_require/d" setup.py || die
|
||||
eapply_user
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue