biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / slixmpp / hardcode-gnupg-path.patch
blob4bb3b7c73490c679bf144666d2ea542a461b94cd
1 diff --git a/slixmpp/plugins/xep_0027/gpg.py b/slixmpp/plugins/xep_0027/gpg.py
2 index a0b1df4..7cfb3bd 100644
3 --- a/slixmpp/plugins/xep_0027/gpg.py
4 +++ b/slixmpp/plugins/xep_0027/gpg.py
5 @@ -41,7 +41,7 @@ class XEP_0027(BasePlugin):
6 dependencies = set()
7 stanza = stanza
8 default_config = {
9 - 'gpg_binary': 'gpg',
10 + 'gpg_binary': '@gnupg@/bin/gpg',
11 'gpg_home': '',
12 'use_agent': True,
13 'keyring': None,
14 diff --git a/slixmpp/thirdparty/gnupg.py b/slixmpp/thirdparty/gnupg.py
15 index a89289f..46dd9b7 100644
16 --- a/slixmpp/thirdparty/gnupg.py
17 +++ b/slixmpp/thirdparty/gnupg.py
18 @@ -468,7 +468,7 @@ class GPG(object):
21 "Encapsulate access to the gpg executable"
22 - def __init__(self, gpgbinary='gpg', gnupghome=None, verbose=False,
23 + def __init__(self, gpgbinary='@gnupg@/bin/gpg', gnupghome=None, verbose=False,
24 use_agent=False, keyring=None):
25 """Initialize a GPG process wrapper. Options are: