summaryrefslogtreecommitdiff
path: root/net-im/transwhat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:52:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:52:04 +0100
commit71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /net-im/transwhat
parent6612a728ea11526a849618ec515ad57131d64416 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'net-im/transwhat')
-rw-r--r--net-im/transwhat/Manifest3
-rw-r--r--net-im/transwhat/metadata.xml15
-rw-r--r--net-im/transwhat/transwhat-0.2.2.ebuild34
3 files changed, 52 insertions, 0 deletions
diff --git a/net-im/transwhat/Manifest b/net-im/transwhat/Manifest
new file mode 100644
index 000000000000..22c5f3af5793
--- /dev/null
+++ b/net-im/transwhat/Manifest
@@ -0,0 +1,3 @@
+DIST transwhat-0.2.2.tar.gz 49494 BLAKE2B 2d34a697df74d010aa030cd0162d6b1523d3e6eb1935251efb3c76a6259c8111f8644f244141c9724018f6617fef67bbd503be22d29a42bee3ffd619932cc3fb SHA512 4a292ba7dd064214e1f7e90f3a0da4f9fbd42e1227fe648ab2269b35c345eb7feda4d47d90b3ab95a31c356e6c0ad19aa6ffbea6641947810835ab06fbda4b75
+EBUILD transwhat-0.2.2.ebuild 875 BLAKE2B 1430bed676d19e1c2ccd9ff0a5b5bb5184c17808e6fc6aeb3756a9951a7c5a4d528cf9276f36f1aea18f94aacde177531e98311bd206e6530bedf09fa77e76cc SHA512 3c3a0862fe22575f8ca53452e7b8c6403ef31cdb2bdb400f8bbfaffe22ffe689741b5d6ba0ba39dfd13b31dfd3f2746bff4a6e79ac40953f6d1743595172fe67
+MISC metadata.xml 481 BLAKE2B ac11f22fdd6b29218a3f4f1d509a4595b2a5809f6bf762a7472ced7b3e16bdb5e23b57cbcdcaa2eb8c5c32b024c54b780d2ecfe1f20c02a49eaec9edea276f8b SHA512 ae9ba799931d5f4c0cf8774254f4072de619412896eb6d1fa8fdafa243368f78d17128eee88d49e5a8b9231613d52af6a475844e92c797e1e3e88baca3794d59
diff --git a/net-im/transwhat/metadata.xml b/net-im/transwhat/metadata.xml
new file mode 100644
index 000000000000..91277090fe3b
--- /dev/null
+++ b/net-im/transwhat/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ transWhat is a WhatsApp XMPP Gateway based on Spectrum 2 and Yowsup 2.
+ </longdescription>
+</pkgmetadata>
diff --git a/net-im/transwhat/transwhat-0.2.2.ebuild b/net-im/transwhat/transwhat-0.2.2.ebuild
new file mode 100644
index 000000000000..6b03897d8fc8
--- /dev/null
+++ b/net-im/transwhat/transwhat-0.2.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="A WhatsApp XMPP Gateway based on Spectrum 2 and Yowsup 2"
+HOMEPAGE="https://github.com/stv0g/transwhat"
+SRC_URI="https://github.com/stv0g/transwhat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/e4u[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ net-im/yowsup[${PYTHON_USEDEP}]"
+
+DEPEND="${RDEPEND}"
+
+DOCS=( "INSTALL.rst" "README.rst" "USAGE.rst" )
+
+src_prepare() {
+ default
+
+ # Fixes for Spectrum2
+ mv config.py Spectrum2/config.py || die
+ sed -i -e 's/config import SpectrumConfig/Spectrum2.&/' transWhat/transwhat.py || die
+}