diff options
Diffstat (limited to 'net-im/transwhat')
-rw-r--r-- | net-im/transwhat/Manifest | 2 | ||||
-rw-r--r-- | net-im/transwhat/transwhat-0.2.2_p20190426.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/net-im/transwhat/Manifest b/net-im/transwhat/Manifest index 4f4088fb9bc0..8131eb28ecce 100644 --- a/net-im/transwhat/Manifest +++ b/net-im/transwhat/Manifest @@ -1,3 +1,5 @@ DIST transwhat-0.2.2.tar.gz 49494 BLAKE2B 2d34a697df74d010aa030cd0162d6b1523d3e6eb1935251efb3c76a6259c8111f8644f244141c9724018f6617fef67bbd503be22d29a42bee3ffd619932cc3fb SHA512 4a292ba7dd064214e1f7e90f3a0da4f9fbd42e1227fe648ab2269b35c345eb7feda4d47d90b3ab95a31c356e6c0ad19aa6ffbea6641947810835ab06fbda4b75 +DIST transwhat-0.2.2_p20190426.tar.gz 38373 BLAKE2B 3addf2ae66d042eaf4a5f6b54015b9592fea68b69f4c542c5ec0d97040c0eb473d15b893af35f6d6cf83671417ed718c9c91b6268242e667fa34397fc230d2d5 SHA512 7079d1015bf5dfcd97e729219306320055ef86ac3203bb727bebb1e96abb60a26787882a12f9a8f4cce2ef45652bebfbd824a98d37d97ed72ebe0269004c1a71 EBUILD transwhat-0.2.2-r1.ebuild 891 BLAKE2B 48e9e42aeb32d421cb9e90c9e06f43348edc2adf23357ed631ac6ad95b0494e8548c351fb3919679dc36d6320b94f6c19ca3f9502f0c8195d5d982094ec83904 SHA512 5a9ca69bbc943a3148c64c8c85f223404f3a0cb850a48bcfa787b5a1b1b2ae926b507e253ff38291794cf4472c1a42486459dd10efee2702534735d5c4ad7b0b +EBUILD transwhat-0.2.2_p20190426.ebuild 985 BLAKE2B 8aeb2c34e5f865dbc981f427f71bb546e20ab031ad592665ba60eddb8747d6b74355d4a91f00b77317ada27854dfc11e2c7e604f509845147fe8b9d5a8fd9349 SHA512 e29f27068a45f841da42e1386aa868460c25358ae69e3c1eed3c9bce89a6e4126cbebd531141e04c025cd9a49d157a208d22624d25b9705722f3832afe56b64d MISC metadata.xml 505 BLAKE2B 55ac85389dacf96d85ec56284e3282e9518a920e8086861293f37323f3e1ef3a533665b177447c49af8079ada04b0e40e630b85324b5a4f70088ec70855378eb SHA512 e7691f2646f7e0c293d27625533e5656c6349ec6e726dc055127e62e99bc994f0d6e6d6d2280f2f0b7305ac58ce1f897d9036ef69c98ec56e14916ea6eef2e9b diff --git a/net-im/transwhat/transwhat-0.2.2_p20190426.ebuild b/net-im/transwhat/transwhat-0.2.2_p20190426.ebuild new file mode 100644 index 000000000000..263053f14954 --- /dev/null +++ b/net-im/transwhat/transwhat-0.2.2_p20190426.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS="bdepend" +EGIT_COMMIT="d022243f6c7b23674d3c87a09819f00b10df1165" +PYTHON_COMPAT=( python3_{6,7,8} ) + +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" + +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}" + +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +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 +} |