summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-07-08 00:09:43 +0200
committerTony Vroon <chainsaw@gentoo.org>2018-07-11 09:30:48 +0100
commitfd508becba0b70ce9d11b04a57196e413a67d57a (patch)
tree7a380a895163246c578b87b372619378f06dc370 /net-im/yowsup/files
parentx11-misc/mugshot: New package (diff)
downloadgentoo-fd508becba0b70ce9d11b04a57196e413a67d57a.tar.gz
gentoo-fd508becba0b70ce9d11b04a57196e413a67d57a.tar.bz2
gentoo-fd508becba0b70ce9d11b04a57196e413a67d57a.zip
net-im/yowsup: New package
Closes: https://bugs.gentoo.org/652258 Package-Manager: Portage-2.3.41, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9102 Closes: https://bugs.gentoo.org/652258
Diffstat (limited to 'net-im/yowsup/files')
-rw-r--r--net-im/yowsup/files/fix_newer_six_version.patch30
1 files changed, 30 insertions, 0 deletions
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 00000000000..d1bfb27ce29
--- /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__)