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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 76179158CB7 for ; Thu, 19 Aug 2021 18:40:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F677E0863; Thu, 19 Aug 2021 18:40:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C25B4E0823 for ; Thu, 19 Aug 2021 18:40:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D997C33D3C5 for ; Thu, 19 Aug 2021 18:40:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 597B925 for ; Thu, 19 Aug 2021 18:40:23 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1629398416.eff4846a73e429b0bd621d22a6ed1f15e57b2122.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/transwhat/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/transwhat/transwhat-0.2.2_p20190426-r2.ebuild X-VCS-Directories: net-im/transwhat/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: eff4846a73e429b0bd621d22a6ed1f15e57b2122 X-VCS-Branch: master Date: Thu, 19 Aug 2021 18:40:23 +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: 4a2fad4c-23a4-4aaa-a252-a4f78ae7b4cb X-Archives-Hash: 027a8fea0331c36815194ea7cda38967 commit: eff4846a73e429b0bd621d22a6ed1f15e57b2122 Author: Conrad Kostecki gentoo org> AuthorDate: Thu Aug 19 18:33:52 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Thu Aug 19 18:40:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eff4846a net-im/transwhat: fix DISTUTILS_USE_SETUPTOOLS Closes: https://bugs.gentoo.org/809101 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> .../transwhat/transwhat-0.2.2_p20190426-r2.ebuild | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/net-im/transwhat/transwhat-0.2.2_p20190426-r2.ebuild b/net-im/transwhat/transwhat-0.2.2_p20190426-r2.ebuild new file mode 100644 index 00000000000..338805c70b2 --- /dev/null +++ b/net-im/transwhat/transwhat-0.2.2_p20190426-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_COMMIT="d022243f6c7b23674d3c87a09819f00b10df1165" +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="A WhatsApp XMPP Gateway based on Spectrum 2 and Yowsup 3" +HOMEPAGE="https://github.com/stv0g/transwhat" +SRC_URI="https://github.com/stv0g/transwhat/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=" + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/pyspectrum2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + net-im/yowsup[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND}" + +DOCS=( "INSTALL.rst" "README.rst" "USAGE.rst" ) + +src_prepare() { + default + + # Spectrum2 must be lower case + sed -e 's/Spectrum2/spectrum2/g' -i transWhat/{buddy,group,registersession,session,transwhat,whatsappbackend}.py || die +}