mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 06:41:01 +02:00
sherlock: bump to 0.10.4
This commit is contained in:
parent
884c22ffb9
commit
d06f4b58ca
4 changed files with 84 additions and 7 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST sherlock-0.10.4.tar.gz 1423062 BLAKE2B 8d9dee38544c5d2b87897306b954ed25d7f301b967b5c2c4c093f66dc387c9da7605654e14143b46a77c7ccdde167299a72328175c5995d23d908997452c708e SHA512 954fcc9ddc2ff0bb96b9f4bc5e26e955d2372ae4a2535a1d5751f949bd7359671335a8fd1ae23aed87dab77d82a3ca6f97152f6d7f0972305f77d10b79326776
|
||||
DIST sherlock-0.8.4.tar.gz 1415689 BLAKE2B d49e332fa908d7c899b8c4568763315b349091dc1115049fa8a798e865aecd0d20bd51f09c0e695c5b7a4b5f5326ce7c6529a1270c1c2c6c78d7f4514101604f SHA512 c7fccd9c4b73852179acbe59c194b34746f94c97f72be604eacef97793607dfad12949bd3714b1d860c6c6edffc9e35e03dd15931e0480f127b210842666d73e
|
||||
|
|
|
|||
1
net-misc/sherlock/sherlock-0.10.4.ebuild
Symbolic link
1
net-misc/sherlock/sherlock-0.10.4.ebuild
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
./sherlock-9999.ebuild
|
||||
|
|
@ -1 +0,0 @@
|
|||
./sherlock-9999.ebuild
|
||||
76
net-misc/sherlock/sherlock-0.8.4.ebuild
Normal file
76
net-misc/sherlock/sherlock-0.8.4.ebuild
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
DESCRIPTION="Find usernames across social networks"
|
||||
HOMEPAGE="https://github.com/sherlock-project/sherlock"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/sherlock-project/sherlock"
|
||||
else
|
||||
# snapshot: 20190831
|
||||
HASH_COMMIT="8dc39ecdf08115cf11648a20b3bb4fd4f8b9c89a"
|
||||
|
||||
SRC_URI="https://github.com/sherlock-project/sherlock/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~x86"
|
||||
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT=0
|
||||
#IUSE="test"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/PySocks[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/requests-futures[${PYTHON_USEDEP}]
|
||||
dev-python/soupsieve[${PYTHON_USEDEP}]
|
||||
dev-python/torrequest[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
net-libs/stem[${PYTHON_USEDEP}]"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/add_support_custom_data_json.patch
|
||||
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
sed -e "s/__version__ = \"\(.*\)\"/__version__ = \"${PV}\"/" \
|
||||
-i sherlock.py || die
|
||||
fi
|
||||
|
||||
python_fix_shebang "${S}"
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
doins data.json *.py
|
||||
|
||||
python_optimize "${D}/usr/share/${PN}"
|
||||
|
||||
make_wrapper ${PN} "python3 /usr/share/${PN}/sherlock.py"
|
||||
make_wrapper ${PN}-get-sitelist "python3 /usr/share/${PN}/site_list.py"
|
||||
|
||||
dodoc *.md Dockerfile
|
||||
}
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
|
|
@ -14,8 +14,8 @@ if [[ ${PV} == *9999 ]]; then
|
|||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/sherlock-project/sherlock"
|
||||
else
|
||||
# snapshot: 20190831
|
||||
HASH_COMMIT="8dc39ecdf08115cf11648a20b3bb4fd4f8b9c89a"
|
||||
# snapshot: 20200109
|
||||
HASH_COMMIT="639d781a02d20acac02a751100ee1fcd5ca72220"
|
||||
|
||||
SRC_URI="https://github.com/sherlock-project/sherlock/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~x86"
|
||||
|
|
@ -69,8 +69,8 @@ src_install() {
|
|||
|
||||
python_optimize "${D}/usr/share/${PN}"
|
||||
|
||||
make_wrapper ${PN} "python3 /usr/share/${PN}/sherlock.py"
|
||||
make_wrapper ${PN}-get-sitelist "python3 /usr/share/${PN}/site_list.py"
|
||||
make_wrapper ${PN} "${EPYTHON} /usr/share/${PN}/sherlock.py"
|
||||
make_wrapper ${PN}-get-sitelist "${EPYTHON} /usr/share/${PN}/site_list.py"
|
||||
|
||||
dodoc *.md Dockerfile
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue