From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D6D9715808D for ; Wed, 20 Apr 2022 21:57:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18BB3E08CD; Wed, 20 Apr 2022 21:57:17 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD458E08CD for ; Wed, 20 Apr 2022 21:57:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8723F341709 for ; Wed, 20 Apr 2022 21:57:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 385A0441 for ; Wed, 20 Apr 2022 21:57:11 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1650491820.f6dc58ef9441437d63ea9d4e47be83f5f94c1954.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-apps/twint/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-apps/twint/Manifest www-apps/twint/twint-2.1.20_p20220316.ebuild X-VCS-Directories: www-apps/twint/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: f6dc58ef9441437d63ea9d4e47be83f5f94c1954 X-VCS-Branch: dev Date: Wed, 20 Apr 2022 21:57:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 34873e16-1af2-473e-bf40-db6cf41984cc X-Archives-Hash: ef80f1cb71220ef654af9fcf2b19abce commit: f6dc58ef9441437d63ea9d4e47be83f5f94c1954 Author: Alessandro Barbieri gmail com> AuthorDate: Wed Apr 20 21:54:28 2022 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Wed Apr 20 21:57:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6dc58ef www-apps/twint: add 2.1.20_p20220316 Signed-off-by: Alessandro Barbieri gmail.com> www-apps/twint/Manifest | 1 + www-apps/twint/twint-2.1.20_p20220316.ebuild | 42 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/www-apps/twint/Manifest b/www-apps/twint/Manifest index faf4eefff..df254a3bb 100644 --- a/www-apps/twint/Manifest +++ b/www-apps/twint/Manifest @@ -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 diff --git a/www-apps/twint/twint-2.1.20_p20220316.ebuild b/www-apps/twint/twint-2.1.20_p20220316.ebuild new file mode 100644 index 000000000..3c4020d64 --- /dev/null +++ b/www-apps/twint/twint-2.1.20_p20220316.ebuild @@ -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 +}