www-apps/twint: add 2.1.20_p20220316

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-20 23:54:28 +02:00
parent a05bf9478d
commit f6dc58ef94
2 changed files with 43 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST twint-2.1.20.tar.gz 33518 BLAKE2B 6a7401357d7c08956a05d046cf5daec61c854b618c9cf647c2c014091b4be4b55337f598dccf772b146b215a740855449049600a6251cd7899a01afc82ba8dea SHA512 022c855b660d4a30eb7d4c864147a520b92b45048db2e6869df23cf9ab9b23b6812f74de6452d8b4b439ca02dd6742349a5c097f9b3d19222e7365034b21b864
DIST twint-2.1.20_p20220316.tar.gz 39871 BLAKE2B 6e289940c7d96537fe60a345470c059819a548461fa48c2e329a0f50af89eb0c6f0dc7b0525190edc3cf8f16e9b733ae2480e60e365065bbd92a87f8a29ce17c SHA512 73b646f8717f3e3cb9e2909a74e36a1d917da874bcb00cc4827853e4bd552811d3b7382c9f245defb68ace7eddbb0e83c5e563037d6cb7383a844366b43bb489

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="20dee4a397ff46e29d26545c000eb039ddb8dbd0"
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API"
HOMEPAGE="https://github.com/minamotorin/twint"
SRC_URI="https://github.com/minamotorin/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND="
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/aiohttp-socks[${PYTHON_USEDEP}]
dev-python/aiodns[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/cchardet[${PYTHON_USEDEP}]
dev-python/elasticsearch-py[${PYTHON_USEDEP}]
dev-python/fake-useragent[${PYTHON_USEDEP}]
dev-python/googletransx[${PYTHON_USEDEP}]
>=dev-python/pandas-0.23.0[${PYTHON_USEDEP}]
dev-python/PySocks[${PYTHON_USEDEP}]
dev-python/schedule[${PYTHON_USEDEP}]
sci-geosciences/geopy[${PYTHON_USEDEP}]
"
BDEPEND="test? ( ${RDEPEND} )"
RESTRICT="test"
PROPERTIES="test_network"
python_test() {
"${EPYTHON}" test.py -v || die
}