diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-08-19 20:33:52 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-08-19 20:40:16 +0200 |
commit | eff4846a73e429b0bd621d22a6ed1f15e57b2122 (patch) | |
tree | 3e97752442e2c696afdb6de7ecc9c32f9873f2a5 /net-im | |
parent | sys-devel/gcc: drop 9.3.0-r1, 9.3.0-r2 (diff) | |
download | gentoo-eff4846a73e429b0bd621d22a6ed1f15e57b2122.tar.gz gentoo-eff4846a73e429b0bd621d22a6ed1f15e57b2122.tar.bz2 gentoo-eff4846a73e429b0bd621d22a6ed1f15e57b2122.zip |
net-im/transwhat: fix DISTUTILS_USE_SETUPTOOLS
Closes: https://bugs.gentoo.org/809101
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/transwhat/transwhat-0.2.2_p20190426-r2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-im/transwhat/transwhat-0.2.2_p20190426-r2.ebuild b/net-im/transwhat/transwhat-0.2.2_p20190426-r2.ebuild new file mode 100644 index 000000000000..338805c70b2c --- /dev/null +++ b/net-im/transwhat/transwhat-0.2.2_p20190426-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_COMMIT="d022243f6c7b23674d3c87a09819f00b10df1165" +PYTHON_COMPAT=( python3_{8..10} ) + +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" +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +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}" + +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 +} |