1 |
commit: a83789d5eb199b4b098ed73e8ebee588356d0d40 |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Sat Oct 31 15:32:48 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 3 08:20:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a83789d5 |
7 |
|
8 |
net-im/transwhat: correct DISTUTILS_USE_SETUPTOOLS |
9 |
|
10 |
Closes: https://bugs.gentoo.org/751868 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/18084 |
12 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
13 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
14 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
15 |
|
16 |
.../transwhat/transwhat-0.2.2_p20190426-r1.ebuild | 38 ++++++++++++++++++++++ |
17 |
1 file changed, 38 insertions(+) |
18 |
|
19 |
diff --git a/net-im/transwhat/transwhat-0.2.2_p20190426-r1.ebuild b/net-im/transwhat/transwhat-0.2.2_p20190426-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000000..5a801e19e2e |
22 |
--- /dev/null |
23 |
+++ b/net-im/transwhat/transwhat-0.2.2_p20190426-r1.ebuild |
24 |
@@ -0,0 +1,38 @@ |
25 |
+# Copyright 1999-2020 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=7 |
29 |
+ |
30 |
+DISTUTILS_USE_SETUPTOOLS="rdepend" |
31 |
+EGIT_COMMIT="d022243f6c7b23674d3c87a09819f00b10df1165" |
32 |
+PYTHON_COMPAT=( python3_{6..9} ) |
33 |
+ |
34 |
+inherit distutils-r1 |
35 |
+ |
36 |
+DESCRIPTION="A WhatsApp XMPP Gateway based on Spectrum 2 and Yowsup 3" |
37 |
+HOMEPAGE="https://github.com/stv0g/transwhat" |
38 |
+SRC_URI="https://github.com/stv0g/transwhat/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="GPL-3+" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="amd64 x86" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ dev-python/protobuf-python[${PYTHON_USEDEP}] |
46 |
+ dev-python/pyspectrum2[${PYTHON_USEDEP}] |
47 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
48 |
+ net-im/yowsup[${PYTHON_USEDEP}] |
49 |
+" |
50 |
+ |
51 |
+DEPEND="${RDEPEND}" |
52 |
+ |
53 |
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}" |
54 |
+ |
55 |
+DOCS=( "INSTALL.rst" "README.rst" "USAGE.rst" ) |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ |
60 |
+ # Spectrum2 must be lower case |
61 |
+ sed -e 's/Spectrum2/spectrum2/g' -i transWhat/{buddy,group,registersession,session,transwhat,whatsappbackend}.py || die |
62 |
+} |