commit:     eff4846a73e429b0bd621d22a6ed1f15e57b2122
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 19 18:33:52 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> 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 <conikost <AT> 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
+}

Reply via email to