diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2019-09-25 01:20:20 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2019-09-25 01:20:31 +0200 |
commit | 2259c0f494e9606a6c926347abcbf67226f192d2 (patch) | |
tree | 8cdc7919ef3375436d4297d8c18853d0244e0b00 /net-analyzer/wapiti | |
parent | dev-util/pkgcheck: remove old (diff) | |
download | gentoo-2259c0f494e9606a6c926347abcbf67226f192d2.tar.gz gentoo-2259c0f494e9606a6c926347abcbf67226f192d2.tar.bz2 gentoo-2259c0f494e9606a6c926347abcbf67226f192d2.zip |
net-analyzer/wapiti: fix hard dependency on pytest-runner
Closes: https://bugs.gentoo.org/695582
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'net-analyzer/wapiti')
-rw-r--r-- | net-analyzer/wapiti/wapiti-3.0.2.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/net-analyzer/wapiti/wapiti-3.0.2.ebuild b/net-analyzer/wapiti/wapiti-3.0.2.ebuild index b96bead9fad6..d43c24730794 100644 --- a/net-analyzer/wapiti/wapiti-3.0.2.ebuild +++ b/net-analyzer/wapiti/wapiti-3.0.2.ebuild @@ -16,9 +16,12 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="kerberos ntlm" +IUSE="kerberos ntlm test" -DEPEND="" +DEPEND="test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + )" RDEPEND="dev-python/beautifulsoup:4[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-python/mako[${PYTHON_USEDEP}] @@ -29,3 +32,8 @@ RDEPEND="dev-python/beautifulsoup:4[${PYTHON_USEDEP}] ntlm? ( dev-python/requests-ntlm[${PYTHON_USEDEP}] )" S=${WORKDIR}/${MY_P} + +python_prepare_all() { + sed -e 's/"pytest-runner"//' -i setup.py || die + distutils-r1_python_prepare_all +} |