about summary refs log tree commit diff
path: root/pkgs/development/python-modules/poezio/fix_gnupg_import.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/poezio/fix_gnupg_import.patch')
-rw-r--r--pkgs/development/python-modules/poezio/fix_gnupg_import.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/poezio/fix_gnupg_import.patch b/pkgs/development/python-modules/poezio/fix_gnupg_import.patch
new file mode 100644
index 000000000000..d75e09b722bf
--- /dev/null
+++ b/pkgs/development/python-modules/poezio/fix_gnupg_import.patch
@@ -0,0 +1,12 @@
+diff -Nur poezio-0.10.orig/plugins/gpg/__init__.py poezio-0.10/plugins/gpg/__init__.py
+--- poezio-0.10.orig/plugins/gpg/__init__.py	2016-07-27 19:02:41.000000000 +0200
++++ poezio-0.10/plugins/gpg/__init__.py	2016-11-16 14:17:06.011128631 +0100
+@@ -105,7 +105,7 @@
+ .. _XEP-0027: http://xmpp.org/extensions/xep-0027.html
+ 
+ """
+-from gpg import gnupg
++import slixmpp.thirdparty.gnupg as gnupg
+ from slixmpp.xmlstream.stanzabase import JID
+ 
+ from xml.etree import cElementTree as ET