diff options
author | Conrad Kostecki <conrad@kostecki.com> | 2018-07-11 10:42:55 +0200 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2018-07-11 11:50:32 +0100 |
commit | dbe7e24fee5886d445886732a4e70e826ab7d5d0 (patch) | |
tree | 5260f895ed955aaadc05275af63dbc034b60a44a /net-im/transwhat | |
parent | 7f88318eb4051e96d55ff78e4306d2d817e4a083 (diff) | |
download | gentoo-dbe7e24fee5886d445886732a4e70e826ab7d5d0.tar.gz gentoo-dbe7e24fee5886d445886732a4e70e826ab7d5d0.tar.xz |
net-im/transwhat: New package
Closes: https://bugs.gentoo.org/652264
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9101
Closes: https://bugs.gentoo.org/652264
Diffstat (limited to 'net-im/transwhat')
-rw-r--r-- | net-im/transwhat/Manifest | 1 | ||||
-rw-r--r-- | net-im/transwhat/metadata.xml | 15 | ||||
-rw-r--r-- | net-im/transwhat/transwhat-0.2.2.ebuild | 34 |
3 files changed, 50 insertions, 0 deletions
diff --git a/net-im/transwhat/Manifest b/net-im/transwhat/Manifest new file mode 100644 index 00000000000..b70861dc49e --- /dev/null +++ b/net-im/transwhat/Manifest @@ -0,0 +1 @@ +DIST transwhat-0.2.2.tar.gz 49494 BLAKE2B 2d34a697df74d010aa030cd0162d6b1523d3e6eb1935251efb3c76a6259c8111f8644f244141c9724018f6617fef67bbd503be22d29a42bee3ffd619932cc3fb SHA512 4a292ba7dd064214e1f7e90f3a0da4f9fbd42e1227fe648ab2269b35c345eb7feda4d47d90b3ab95a31c356e6c0ad19aa6ffbea6641947810835ab06fbda4b75 diff --git a/net-im/transwhat/metadata.xml b/net-im/transwhat/metadata.xml new file mode 100644 index 00000000000..91277090fe3 --- /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 00000000000..6b03897d8fc --- /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 +} |