update ebuild for review

This commit is contained in:
Michael Lawnce 2021-04-27 14:56:05 -05:00
parent 2325a7dc83
commit 77133c3a3c
No known key found for this signature in database
GPG key ID: FE8D405276AFE995
2 changed files with 20 additions and 14 deletions

View file

@ -0,0 +1 @@
honeypots-9999.ebuild

View file

@ -5,23 +5,28 @@ EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1 eutils
inherit distutils-r1 #eutils
DESCRIPTION="16 different honeypots "swissarmy-knife" in a single PyPI package for monitoring network traffic"
DESCRIPTION="16 different honeypots 'swissarmy-knife' in a single PyPI package for monitoring network traffic"
HOMEPAGE="https://github.com/qeeqbox/honeypots"
## also has varrious python OSINT tools github.com/qeeqbox/ .....
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
# EGIT_REPO_URI=="https://github.com/qeeqbox/honeypots.git"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI=="https://github.com/qeeqbox/honeypots.git"
case "${PVR}" in
9999) EGIT_BRANCH=main ;;
esac
fi
LICENSE="AGPL-3.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
#### dev-python/psycopg2 https://pypi.org/project/psycopg2/ , https://github.com/psycopg/psycopg2/
# dev-python/psycopg2cffi::tgbugs-overlay , mplementation of the psycopg2 module using cffi. Compatible with Psycopg 2.5.
RDEPEND="${PYTHON_DEPS}
RDEPEND="${PYTHON_DEPS} ${DEPEND}"
dev-python/pipenv
dev-python/twisted
dev-python/psutil
@ -36,14 +41,14 @@ RDEPEND="${PYTHON_DEPS}
dev-python/vncdotool
dev-python/service_identity
dev-python/PySocks
dev-python/pygments
DEPEND="${RDEPEND}"
dev-python/pygments
DEPEND="|| ( dev-python/psycopg dev-python/psycopg2cffi )"
# dev-python/psycopg in gentoo / psycopg2cffi rappid c++ extensions either should run.
# dev-python/psycopg2cffi::tgbugs-overlay , implementation of the psycopg2 module using cffi. Compatible with Psycopg 2.5.
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
S="${WORKDIR}/${PN}-${MY_PV}"
src_compile() {
compile_python() {
distutils-r1_python_compile --dynamic-linking
}
python_foreach_impl compile_python
}
einfo "https://pypi.org/project/honeypots/ https://github.com/qeeqbox/honeypots for wiki/directions"