mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 00:16:22 +01:00
46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{12..14} )
|
|
|
|
inherit python-single-r1 git-r3
|
|
|
|
DESCRIPTION="GyoiThon is a growing penetration test tool using Machine Learning"
|
|
HOMEPAGE="https://github.com/gyoisamurai/GyoiThon"
|
|
EGIT_REPO_URI="https://github.com/gyoisamurai/GyoiThon.git"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
RDEPEND="${PYTHON_DEPS}
|
|
$(python_gen_cond_dep '
|
|
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
dev-python/faust-cchardet[${PYTHON_USEDEP}]
|
|
dev-python/censys[${PYTHON_USEDEP}]
|
|
dev-python/docopt[${PYTHON_USEDEP}]
|
|
dev-python/jinja2[${PYTHON_USEDEP}]
|
|
dev-python/msgpack[${PYTHON_USEDEP}]
|
|
dev-python/pandas[${PYTHON_USEDEP}]
|
|
dev-python/pysocks[${PYTHON_USEDEP}]
|
|
dev-python/urllib3[${PYTHON_USEDEP}]
|
|
dev-python/Scrapy[${PYTHON_USEDEP}]
|
|
>=dev-python/google-api-python-client-1.7.4[${PYTHON_USEDEP}]
|
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
dev-python/networkx[${PYTHON_USEDEP}]
|
|
dev-python/tldextract[${PYTHON_USEDEP}]
|
|
')
|
|
"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_prepare() {
|
|
#relax deps
|
|
sed -e 's|==.*||' -i requirements.txt || die "sed failed"
|
|
sed '/metplotlib/d' -i requirements.txt || die "sed failed"
|
|
eapply_user
|
|
}
|