diff options
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 +} |