From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 16DD6138335 for ; Wed, 18 Dec 2019 18:19:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56324E09CD; Wed, 18 Dec 2019 18:19:15 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23728E09CC for ; Wed, 18 Dec 2019 18:19:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3B41634D9F6 for ; Wed, 18 Dec 2019 18:19:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99A68973 for ; Wed, 18 Dec 2019 18:19:09 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1576693089.3d911ea31b317dfd9a6d9c475a173b93c9bcf835.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/transwhat/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/transwhat/Manifest net-im/transwhat/transwhat-0.2.2_p20190426.ebuild X-VCS-Directories: net-im/transwhat/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 3d911ea31b317dfd9a6d9c475a173b93c9bcf835 X-VCS-Branch: master Date: Wed, 18 Dec 2019 18:19:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 38e62dc8-2c23-45af-bbba-d4841e506d08 X-Archives-Hash: d4d67c7af0049fc9fb7974a278ef6279 commit: 3d911ea31b317dfd9a6d9c475a173b93c9bcf835 Author: Conrad Kostecki gentoo org> AuthorDate: Wed Dec 18 18:15:50 2019 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Dec 18 18:18:09 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d911ea3 net-im/transwhat: bump to version 0.2.2_p20190426 This is the python3 branch, which also dropps python2 support. Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Conrad Kostecki gentoo.org> net-im/transwhat/Manifest | 1 + net-im/transwhat/transwhat-0.2.2_p20190426.ebuild | 38 +++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/net-im/transwhat/Manifest b/net-im/transwhat/Manifest index b70861dc49e..78585f8ec94 100644 --- a/net-im/transwhat/Manifest +++ b/net-im/transwhat/Manifest @@ -1 +1,2 @@ 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 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 00000000000..2de533f52d5 --- /dev/null +++ b/net-im/transwhat/transwhat-0.2.2_p20190426.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 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 +}