From 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:52:04 +0100 Subject: gentoo resync : 14.07.2018 --- net-im/yowsup/Manifest | 4 ++++ net-im/yowsup/files/fix_newer_six_version.patch | 30 +++++++++++++++++++++++++ net-im/yowsup/metadata.xml | 23 +++++++++++++++++++ net-im/yowsup/yowsup-2.5.7.ebuild | 29 ++++++++++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 net-im/yowsup/Manifest create mode 100644 net-im/yowsup/files/fix_newer_six_version.patch create mode 100644 net-im/yowsup/metadata.xml create mode 100644 net-im/yowsup/yowsup-2.5.7.ebuild (limited to 'net-im/yowsup') diff --git a/net-im/yowsup/Manifest b/net-im/yowsup/Manifest new file mode 100644 index 000000000000..f6c6a3af214a --- /dev/null +++ b/net-im/yowsup/Manifest @@ -0,0 +1,4 @@ +AUX fix_newer_six_version.patch 1109 BLAKE2B 0805c79a35d9f49ed3900dfe294bf371c2d1c44b88af7761a6e042665526356e84e7fb00073596c99a37b1b47d3f3bbbbbe1ee2d0332900622a5874001cdc924 SHA512 a8e4689b58b1843eb53befc1f75a868ea43e4e2d6292369948f1d69c918f06b3e2b99c60753ac028ba2b8966e36b7865572f485fd9a7519b7215f163b9765ff2 +DIST yowsup-2.5.7.tar.gz 125732 BLAKE2B 31896cfef601bfe4b65df3518ce6812ad66a98902ec7c8ca5b2ffda15c48c9390010fce58e1158f6ddc325911fd78d1be2bc708d499ab11b725835c5cd5ea246 SHA512 e64e119e8301d6cd9244a24ce960fdd00a5372a7766cf2f52dfd7610828358086e6c4f77fba6f962c1b84f6b28fa6b6d4d708bbb50c281e5a6563b99634b9495 +EBUILD yowsup-2.5.7.ebuild 872 BLAKE2B cb055c3b21432d3114451f0d444a4fc5107e73b0ac79b4d4c7af870cd8d9c459136342b2af30ff2040f8fd79748fdc9e64068bea5eb4ec008852d0ee7f965900 SHA512 15cbb45959822fe511978e1a12b00ccaf10b9d0b6130e04ca89f8ee7d9f99d866fe72f3453ea7aa9abf46d1457ae65ff8c97071a25a9a478d294fdb99531917d +MISC metadata.xml 874 BLAKE2B 42719d6bff7e94386fcc419fe562d412e3b2876b652b00a26d4d27b81200f7a565d4cea66ed1510907688436aaac47cdf531242f67eeee9e6597634073ad3e31 SHA512 0acd83cef9fd9ab80aa49db19580c53d49d2416e6cb42027bbf86dc10d69e2ad74d2dd61d34bb586fad517d2698e4d9bc90f73cc35265b784d05e56c8380926a diff --git a/net-im/yowsup/files/fix_newer_six_version.patch b/net-im/yowsup/files/fix_newer_six_version.patch new file mode 100644 index 000000000000..d1bfb27ce295 --- /dev/null +++ b/net-im/yowsup/files/fix_newer_six_version.patch @@ -0,0 +1,30 @@ +--- a/setup.py 2017-12-30 00:12:35.000000000 +0100 ++++ b/setup.py 2018-04-29 20:51:23.000000000 +0200 +@@ -5,7 +5,7 @@ + import platform + import sys + +-deps = ['python-dateutil', 'argparse', 'python-axolotl>=0.1.39', 'six==1.10'] ++deps = ['python-dateutil', 'python-axolotl>=0.1.39', 'six'] + + if sys.version_info < (2,7): + deps += ['importlib', "protobuf==3.4.0"] +--- a/yowsup/env/env.py 2017-12-30 00:12:35.000000000 +0100 ++++ b/yowsup/env/env.py 2018-04-29 20:51:44.000000000 +0200 +@@ -13,7 +13,6 @@ + super(YowsupEnvType, cls).__init__(name, bases, dct) + + class YowsupEnv(with_metaclass(YowsupEnvType, object)): +- __metaclass__ = YowsupEnvType + __ENVS = {} + __CURR = None + +--- a/yowsup/layers/protocol_media/picture.py 2017-12-30 00:12:35.000000000 +0100 ++++ b/yowsup/layers/protocol_media/picture.py 2018-04-29 20:52:30.000000000 +0200 +@@ -1,5 +1,5 @@ + from yowsup.layers import YowLayer +-from yowsup import ProtocolTreeNode ++from yowsup.structs import ProtocolTreeNode + from .mediadownloader import MediaDownloader + import shutil, os, logging + logger = logging.getLogger(__name__) diff --git a/net-im/yowsup/metadata.xml b/net-im/yowsup/metadata.xml new file mode 100644 index 000000000000..dc32909be69f --- /dev/null +++ b/net-im/yowsup/metadata.xml @@ -0,0 +1,23 @@ + + + + + ck+gentoo@bl4ckb0x.de + Conrad Kostecki + + + proxy-maint@gentoo.org + Proxy Maintainers + + + https://github.com/tgalal/yowsup/issues + tgalal/yowsup + + + Yowsup is a Python library that enables you to build applications, + which use the WhatsApp service. Yowsup has been used to create two clients: + 1) An unofficial WhatsApp client Nokia N9 through the Wazapp project + which was in use by more than 200K users. + 2) Another fully featured unofficial client for Blackberry 10. + + diff --git a/net-im/yowsup/yowsup-2.5.7.ebuild b/net-im/yowsup/yowsup-2.5.7.ebuild new file mode 100644 index 000000000000..862206fd28dd --- /dev/null +++ b/net-im/yowsup/yowsup-2.5.7.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_REQ_USE="readline" + +inherit distutils-r1 + +DESCRIPTION="A library that enables you to build applications which use the WhatsApp service" +HOMEPAGE="https://github.com/tgalal/yowsup" +SRC_URI="https://github.com/tgalal/yowsup/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/configargparse[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/pycrypto[${PYTHON_USEDEP}] + dev-python/python-axolotl-curve25519[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}]" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${RDEPEND}" + +PATCHES=( "${FILESDIR}/fix_newer_six_version.patch" ) -- cgit v1.2.3