aboutsummaryrefslogtreecommitdiff
blob: 8e94dba9a06a7b1d184f2604c03a099fab47e8ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1

DESCRIPTION="Hunt down social media accounts by username across social networks"
HOMEPAGE="http://sherlock-project.github.io/"
if [[ ${PV} == *9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/sherlock-project/sherlock.git"
else
	SRC_URI="https://github.com/sherlock-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="MIT"
SLOT="0"

RDEPEND="
	$(python_gen_cond_dep '
		>=dev-python/certifi-2019.6.16[${PYTHON_USEDEP}]
		>=dev-python/colorama-0.4.1[${PYTHON_USEDEP}]
		>=dev-python/PySocks-1.7.0[${PYTHON_USEDEP}]
		>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
		>=dev-python/requests-futures-1.00.0[${PYTHON_USEDEP}]
		>=dev-python/pandas-1.0.0[${PYTHON_USEDEP}]
		>=dev-python/openpyxl-3.0.10.0.0[${PYTHON_USEDEP}]
	')
"

distutils_enable_tests pytest
distutils_enable_sphinx docs