mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
empire: cleanup
This commit is contained in:
parent
f384494135
commit
a1fcf36016
1 changed files with 9 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue