pentoo-overlay/net-analyzer/wfuzz/wfuzz-2.4-r1.ebuild

34 lines
943 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6} )
inherit distutils-r1 multilib
DESCRIPTION="Wfuzz is a tool designed for bruteforcing Web Applications"
HOMEPAGE="http://www.edge-security.com/wfuzz.php"
SRC_URI="https://github.com/xmendez/wfuzz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=">=dev-python/pycurl-7.43.0.2[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/shodan[${PYTHON_USEDEP}]"
python_prepare_all() {
# FIXME: https://github.com/xmendez/wfuzz/issues/135
sed -e "/data_files/d" \
-i setup.py || die "sed failed"
distutils-r1_python_prepare_all
}