summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2019-07-26 23:18:08 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-08-02 21:14:42 +0300
commitf7e529155909025558089340c0f828c4c22977b6 (patch)
treefa34b3fb9d6126ff803e2739cba86e0b9869b8d5 /net-im/yowsup/files
parentdev-python/transitions: New package (diff)
downloadgentoo-f7e529155909025558089340c0f828c4c22977b6.tar.gz
gentoo-f7e529155909025558089340c0f828c4c22977b6.tar.bz2
gentoo-f7e529155909025558089340c0f828c4c22977b6.zip
net-im/yowsup: bump to version 3.2.3
This is a new major release of net-im/yowsup, which needs new dependencies: dev-python/consonance dev-python/dissononce dev-python/transitions Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Closes: https://github.com/gentoo/gentoo/pull/12550 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im/yowsup/files')
-rw-r--r--net-im/yowsup/files/yowsup-3.2.3-fix-install-path.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-im/yowsup/files/yowsup-3.2.3-fix-install-path.patch b/net-im/yowsup/files/yowsup-3.2.3-fix-install-path.patch
new file mode 100644
index 00000000000..eba10fbced5
--- /dev/null
+++ b/net-im/yowsup/files/yowsup-3.2.3-fix-install-path.patch
@@ -0,0 +1,21 @@
+--- a/setup.py 2019-05-07 18:52:38.000000000 +0200
++++ b/setup.py 2019-07-26 23:05:18.000000000 +0200
+@@ -33,7 +33,6 @@
+ #long_description=long_description,
+ packages= find_packages(),
+ include_package_data=True,
+- data_files = [('yowsup/common', ['yowsup/common/mime.types'])],
+ platforms='any',
+ #test_suite='',
+ classifiers = [
+--- a/yowsup/common/tools.py 2019-05-07 18:52:38.000000000 +0200
++++ b/yowsup/common/tools.py 2019-07-26 23:05:38.000000000 +0200
+@@ -173,7 +173,7 @@
+ return preview
+
+ class MimeTools:
+- MIME_FILE = os.path.join(os.path.dirname(__file__), 'mime.types')
++ MIME_FILE = os.path.join('/usr/share/yowsup/common', 'mime.types')
+ mimetypes.init() # Load default mime.types
+ try:
+ mimetypes.init([MIME_FILE]) # Append whatsapp mime.types