1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} )
12 DESCRIPTION="Web-application vulnerability scanner"
13 HOMEPAGE="http://wapiti.sourceforge.net/"
14 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
21 RDEPEND="dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
22 dev-python/lxml[${PYTHON_USEDEP}]
23 dev-python/mako[${PYTHON_USEDEP}]
24 >=dev-python/requests-1.2.3[${PYTHON_USEDEP}]
25 dev-python/tld[${PYTHON_USEDEP}]
26 dev-python/yaswfp[${PYTHON_USEDEP}]
27 kerberos? ( dev-python/requests-kerberos[${PYTHON_USEDEP}] )
28 ntlm? ( dev-python/requests-ntlm[${PYTHON_USEDEP}] )"
32 python_prepare_all() {
33 sed -e 's/"pytest-runner"//' -i setup.py || die
34 distutils-r1_python_prepare_all