empire: cleanup

This commit is contained in:
blshkv 2020-01-14 09:41:19 +08:00
parent f384494135
commit a1fcf36016
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F

View file

@ -3,7 +3,6 @@
EAPI=7
#The tool supports python2.7 but let upstream to make a proper fix:
#https://github.com/BC-SECURITY/Empire/issues/39
PYTHON_COMPAT=( python3_{6,7} )
PYTHON_REQ_USE="sqlite"
@ -52,11 +51,11 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/Empire-${PV}"
pkg_setup() {
python-single-r1_pkg_setup
}
#pkg_setup() {
# python-single-r1_pkg_setup
#}
src_prepare() {
#src_prepare() {
# python_fix_shebang "${S}"
# sed -i \
@ -64,11 +63,13 @@ src_prepare() {
# setup/setup_database.py || die
# set empty password for database
echo | ${PYTHON} setup/setup_database.py || die
# echo | ${PYTHON} setup/setup_database.py || die
default
}
# default
#}
# waiting for the upstream
# https://bugs.gentoo.org/684734
src_install() {
insinto "/usr/share/${PN}"
doins -r data/ lib/ plugins/ setup/ empire