mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-11 09:43:40 +02:00
This commit is contained in:
parent
27ec233d18
commit
bfb8d85743
1 changed files with 35 additions and 24 deletions
|
|
@ -5,7 +5,7 @@ EAPI=7
|
|||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit python-r1
|
||||
inherit eutils python-single-r1
|
||||
|
||||
DESCRIPTION="Find people's social media profile using reverse image search"
|
||||
HOMEPAGE="https://github.com/ThoughtfulDev/EagleEye"
|
||||
|
|
@ -16,35 +16,46 @@ if [[ ${PV} == *9999 ]]; then
|
|||
else
|
||||
HASH_COMMIT="3f0c0af85c93cf49992c608bb56022cc68b2a6b9"
|
||||
SRC_URI="https://github.com/ThoughtfulDev/EagleEye/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
#WIP
|
||||
# KEYWORDS="~amd64 ~x86"
|
||||
# WIP: dep dev-python/requests-html depends on currently masked
|
||||
# dev-python/pyee which may be removed soon. I asked for it to remain in
|
||||
# the tree: https://bugs.gentoo.org/711808#c67
|
||||
#KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/EagleEye-${HASH_COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
LICENSE="WTFPL-2"
|
||||
IUSE=""
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
www-apps/geckodriver
|
||||
www-apps/chromedriver-bin
|
||||
x11-libs/gtk+:3
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-libs/boost
|
||||
virtual/libffi
|
||||
dev-python/termcolor[${PYTHON_USEDEP}]
|
||||
media-libs/opencv[python,${PYTHON_USEDEP}]
|
||||
dev-python/selenium[${PYTHON_USEDEP}]
|
||||
dev-python/face_recognition[${PYTHON_USEDEP}]
|
||||
dev-python/weasyprint[${PYTHON_USEDEP}]
|
||||
dev-python/requests-html[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/spry[${PYTHON_USEDEP}]
|
||||
dev-libs/libffi
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/beautifulsoup:4[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/face_recognition[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/requests-html[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/selenium[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/spry[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/termcolor[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/weasyprint[${PYTHON_MULTI_USEDEP}]
|
||||
media-libs/opencv[python,${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
www-apps/chromedriver-bin
|
||||
www-apps/geckodriver
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
#src_install() {
|
||||
# dodoc README.md CHANGELOG
|
||||
# python_foreach_impl python_domodule Linux/lazagne
|
||||
# python_foreach_impl python_newscript Linux/laZagne.py lazagne
|
||||
#}
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r grabber known report utils config.json eagle-eye.py face_recog.py
|
||||
|
||||
python_optimize "${ED}/usr/share/${PN}"
|
||||
|
||||
make_wrapper eagle-eye \
|
||||
"${EPYTHON} /usr/share/${PN}/eagle-eye.py" \
|
||||
"/usr/share/${PN}"
|
||||
|
||||
dodoc README.md
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue