summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2019-12-10 13:28:17 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2019-12-10 13:28:17 +0100
commit866747d58651215a14d933ce41db24ecac0bc00f (patch)
tree3631f502b3037cae812ec80efe828acce563da6f /net-analyzer/wapiti
parentnet-analyzer/wapiti: drop old versions (diff)
downloadgentoo-866747d58651215a14d933ce41db24ecac0bc00f.tar.gz
gentoo-866747d58651215a14d933ce41db24ecac0bc00f.tar.bz2
gentoo-866747d58651215a14d933ce41db24ecac0bc00f.zip
net-analyzer/wapiti: update live ebuild
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'net-analyzer/wapiti')
-rw-r--r--net-analyzer/wapiti/wapiti-9999.ebuild19
1 files changed, 13 insertions, 6 deletions
diff --git a/net-analyzer/wapiti/wapiti-9999.ebuild b/net-analyzer/wapiti/wapiti-9999.ebuild
index be4f6180daec..f4bed0b518a6 100644
--- a/net-analyzer/wapiti/wapiti-9999.ebuild
+++ b/net-analyzer/wapiti/wapiti-9999.ebuild
@@ -1,24 +1,26 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_REQ_USE='xml'
-ESVN_REPO_URI="https://svn.code.sf.net/p/wapiti/code/trunk/"
-inherit distutils-r1 subversion
+inherit distutils-r1 git-r3
DESCRIPTION="Web-application vulnerability scanner"
HOMEPAGE="http://wapiti.sourceforge.net/"
-SRC_URI=""
+EGIT_REPO_URI="https://git.code.sf.net/p/wapiti/git wapiti-git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-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}]
@@ -27,3 +29,8 @@ RDEPEND="dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/yaswfp[${PYTHON_USEDEP}]
kerberos? ( dev-python/requests-kerberos[${PYTHON_USEDEP}] )
ntlm? ( dev-python/requests-ntlm[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ sed -e 's/"pytest-runner"//' -i setup.py || die
+ distutils-r1_python_prepare_all
+}