wfuzz: fix 'No module named shodan', drop ~ppc keyword

This commit is contained in:
Yury Martynov 2019-07-14 15:33:03 +03:00
parent b5136033d5
commit bc6767e95d
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
2 changed files with 11 additions and 9 deletions

View file

@ -13,7 +13,7 @@ SRC_URI="https://github.com/xmendez/wfuzz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
@ -22,8 +22,7 @@ RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]
dev-python/pycurl[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
dev-python/six[${PYTHON_USEDEP}]"
python_prepare_all() {
#https://github.com/xmendez/wfuzz/issues/116

View file

@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
PYTHON_COMPAT=( python3_{5,6} )
inherit distutils-r1 multilib
@ -13,19 +13,22 @@ SRC_URI="https://github.com/xmendez/wfuzz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="dev-python/pycurl[${PYTHON_USEDEP}]
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/chardet[${PYTHON_USEDEP}]
dev-python/shodan[${PYTHON_USEDEP}]"
python_prepare_all() {
#https://github.com/xmendez/wfuzz/issues/135
sed -e "/data_files/d" -i setup.py || die "sed failed"
# FIXME: https://github.com/xmendez/wfuzz/issues/135
sed -e "/data_files/d" \
-i setup.py || die "sed failed"
distutils-r1_python_prepare_all
}