Hello community,

here is the log from the commit of package python-keyring for openSUSE:Factory 
checked in at 2015-09-11 09:02:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-keyring (Old)
 and      /work/SRC/openSUSE:Factory/.python-keyring.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-keyring"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-keyring/python-keyring.changes    
2015-05-19 23:16:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-keyring.new/python-keyring.changes       
2015-09-11 09:02:49.000000000 +0200
@@ -1,0 +2,10 @@
+Mon Sep  7 08:40:56 UTC 2015 - [email protected]
+
+- 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.
+
+-------------------------------------------------------------------

Old:
----
  keyring-5.3.zip

New:
----
  keyring-5.4.tar.gz
  keyring-gnome-3.18.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-keyring.spec ++++++
--- /var/tmp/diff_new_pack.XJui9v/_old  2015-09-11 09:02:50.000000000 +0200
+++ /var/tmp/diff_new_pack.XJui9v/_new  2015-09-11 09:02:50.000000000 +0200
@@ -17,18 +17,19 @@
 
 
 Name:           python-keyring
-Version:        5.3
+Version:        5.4
 Release:        0
 Url:            https://bitbucket.org/kang/python-keyring-lib
 Summary:        Store and access your passwords safely
 License:        Python-2.0 and MIT
 Group:          Development/Languages/Python
-Source:         
https://pypi.python.org/packages/source/k/keyring/keyring-%{version}.zip
+Source:         
https://pypi.python.org/packages/source/k/keyring/keyring-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM keyring-gnome-3.18.patch [email protected] -- Silence 
a warning when run in GNOME 3.18: gi requires versioned imports now.
+Patch0:         keyring-gnome-3.18.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-BuildRequires:  python-hgtools
 BuildRequires:  python-setuptools
-BuildRequires:  unzip
+BuildRequires:  python-setuptools_scm
 # Test requirements:
 BuildRequires:  python-mock
 BuildRequires:  python-pytest
@@ -55,6 +56,7 @@
 
 %prep
 %setup -q -n keyring-%{version}
+%patch0 -p1
 # For rpmlint warning: remove shebang from python library:
 sed -i '/^#!/d' keyring/cli.py keyring/backends/_win_crypto.py
 

++++++ keyring-gnome-3.18.patch ++++++
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

Reply via email to