fd533b464a
- Update to version 5.4: + Prefer setuptools_scm to hgtools. - Replace python-hgtools BuildRequires with python-setuptools_scm, following upstreams change back to setuptools_scm. - Add keyring-gnome-3.18.patch: Silence a warning: on GNOME 3.18, it is mandatory to specify the version to be imported. OBS-URL: https://build.opensuse.org/request/show/329452 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=36
13 lines
464 B
Diff
13 lines
464 B
Diff
Index: keyring-5.4/keyring/backends/Gnome.py
|
|
===================================================================
|
|
--- keyring-5.4.orig/keyring/backends/Gnome.py
|
|
+++ keyring-5.4/keyring/backends/Gnome.py
|
|
@@ -3,6 +3,7 @@ import os
|
|
try:
|
|
from gi import Repository
|
|
if Repository.get_default().enumerate_versions('GnomeKeyring'):
|
|
+ gi.require_version('GnomeKeyring', '1.0')
|
|
from gi.repository import GnomeKeyring
|
|
except ImportError:
|
|
pass
|