mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
eagleeye: drop, unmaintained
This commit is contained in:
parent
ecb9838992
commit
0cc905669e
6 changed files with 0 additions and 105 deletions
|
|
@ -1 +0,0 @@
|
|||
DIST eagleeye-20211020.tar.gz 46910 BLAKE2B efc00a39ad1a453d4676de9556e1ec630bddf25f5f88723f15545b1a8ef4c30eb3f89ef20d3a2301a85d5c23aa0454d4b586ee9bb80b49441be29fa24679dd9f SHA512 f80ffbf65f82638dd53c3755dfeac6c42d19e96cc48ed8c66d708892f977d99364b142ba7e037736c26c1c568026e62f85a605c58945794a447d0d96572fde38
|
||||
|
|
@ -1 +0,0 @@
|
|||
./eagleeye-9999.ebuild
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
DESCRIPTION="Find people's social media profile using reverse image search"
|
||||
HOMEPAGE="https://github.com/ThoughtfulDev/EagleEye"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ThoughtfulDev/EagleEye"
|
||||
else
|
||||
HASH_COMMIT="bcd580bd59cd92862a708b12d9d53f2fa5fb37e5"
|
||||
SRC_URI="https://github.com/ThoughtfulDev/EagleEye/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/EagleEye-${HASH_COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="WTFPL-2"
|
||||
IUSE=""
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-libs/boost
|
||||
dev-libs/libffi
|
||||
$(python_gen_cond_dep '
|
||||
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/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/spry[${PYTHON_USEDEP}]
|
||||
')
|
||||
www-apps/chromedriver-bin
|
||||
www-apps/geckodriver
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
--- config.py.orig 2021-12-25 10:13:31.964568836 +0800
|
||||
+++ config.py 2021-12-25 11:37:55.228288771 +0800
|
||||
@@ -3,6 +3,7 @@
|
||||
import sys
|
||||
import tempfile
|
||||
from selenium import webdriver
|
||||
+from selenium.webdriver.firefox.options import Options
|
||||
|
||||
with open('./config.json') as json_data:
|
||||
cfg = json.load(json_data)
|
||||
@@ -42,7 +43,12 @@
|
||||
profile.set_preference('browser.helperApps.neverAsk.saveToDisk', 'text/csv')
|
||||
profile.set_preference("browser.link.open_newwindow", 3)
|
||||
profile.set_preference("browser.link.open_newwindow.restriction", 2)
|
||||
- return webdriver.Firefox(profile)
|
||||
+
|
||||
+ options = Options()
|
||||
+ options.binary_location = '/usr/bin/firefox-bin'
|
||||
+# options.add_argument('--headless')
|
||||
+
|
||||
+ return webdriver.Firefox(profile, log_path='/dev/null', firefox_options=options)
|
||||
else:
|
||||
os.environ["webdriver.chrome.driver"] = cfg['WEBDRIVER']['PATH']
|
||||
return webdriver.Chrome()
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
34c34
|
||||
< with open('tmp.html', 'w') as t:
|
||||
---
|
||||
> with open('/tmp/tmp.html', 'w') as t:
|
||||
36,38c36,38
|
||||
< doc = HTML('tmp.html')
|
||||
< doc.write_pdf('{0}_Report.pdf'.format(name))
|
||||
< os.remove('tmp.html')
|
||||
---
|
||||
> doc = HTML('/tmp/tmp.html')
|
||||
> doc.write_pdf('/tmp/{0}_Report.pdf'.format(name))
|
||||
> os.remove('/tmp/tmp.html')
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue