- Update to version 5.7

- Removed CONTRIBUTORS.txt because not available in upstream
  source anymore.
- dropped patches keyring-import-gi.patch and keyring-gnome-3.18.patch
  because they were obsoleted by fixes in upstream source
5.7
---
* Issue #177: Resolve default keyring name on Gnome using the API.
* Issue #145: Add workaround for password exposure through
  process status for most passwords containing simple
  characters.
5.6
---
* Allow keyring to be invoked from command-line with
  ``python -m keyring``.
5.5.1
-----
* Issue #156: Fixed test failures in ``pyfs`` keyring related to
  0.5 release.
5.5
---
* Pull Request #176: Use recommended mechanism for checking
  GnomeKeyring version.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=41
This commit is contained in:
Dirk Mueller 2015-12-17 13:43:06 +00:00 committed by Git OBS Bridge
parent 1843d4087d
commit c2093ea544
5 changed files with 30 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45891cd0af4c4af70fbed7ec6e3964d0261c14188de9ab31030c9d02272e22d2
size 68986

3
keyring-5.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d388e459bb18da2e3540e475f5ac4e45eb8da0926c776ee117b5c098af43bc0
size 70370

View File

@ -1,13 +0,0 @@
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,8 @@ import os
try:
from gi import Repository
if Repository.get_default().enumerate_versions('GnomeKeyring'):
+ import gi
+ gi.require_version('GnomeKeyring', '1.0')
from gi.repository import GnomeKeyring
except ImportError:
pass

View File

@ -1,8 +1,30 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 17 12:59:08 UTC 2015 - dmueller@suse.com Fri Dec 11 14:45:37 UTC 2015 - michael@stroeder.com
- drop keyring-import-gi.patch, and update keyring-gnome-3.18.patch, - Update to version 5.7
which introduces the regression - Removed CONTRIBUTORS.txt because not available in upstream
source anymore.
- dropped patches keyring-import-gi.patch and keyring-gnome-3.18.patch
because they were obsoleted by fixes in upstream source
5.7
---
* Issue #177: Resolve default keyring name on Gnome using the API.
* Issue #145: Add workaround for password exposure through
process status for most passwords containing simple
characters.
5.6
---
* Allow keyring to be invoked from command-line with
``python -m keyring``.
5.5.1
-----
* Issue #156: Fixed test failures in ``pyfs`` keyring related to
0.5 release.
5.5
---
* Pull Request #176: Use recommended mechanism for checking
GnomeKeyring version.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 17 11:41:56 UTC 2015 - m0ses@samaxi.de Mon Sep 17 11:41:56 UTC 2015 - m0ses@samaxi.de

View File

@ -17,15 +17,13 @@
Name: python-keyring Name: python-keyring
Version: 5.4 Version: 5.7
Release: 0 Release: 0
Url: https://bitbucket.org/kang/python-keyring-lib Url: https://bitbucket.org/kang/python-keyring-lib
Summary: Store and access your passwords safely Summary: Store and access your passwords safely
License: Python-2.0 and MIT License: Python-2.0 and MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/k/keyring/keyring-%{version}.tar.gz Source: https://pypi.python.org/packages/source/k/keyring/keyring-%{version}.tar.gz
# PATCH-FIX-UPSTREAM keyring-gnome-3.18.patch dimstar@opensuse.org -- 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-setuptools BuildRequires: python-setuptools
@ -56,7 +54,6 @@ from python. It can be used in any application that needs safe password storage.
%prep %prep
%setup -q -n keyring-%{version} %setup -q -n keyring-%{version}
%patch0 -p1
# For rpmlint warning: remove shebang from python library: # For rpmlint warning: remove shebang from python library:
sed -i '/^#!/d' keyring/cli.py keyring/backends/_win_crypto.py sed -i '/^#!/d' keyring/cli.py keyring/backends/_win_crypto.py
@ -86,7 +83,7 @@ fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc CONTRIBUTORS.txt README.rst CHANGES.rst %doc README.rst CHANGES.rst
%ghost %{_sysconfdir}/alternatives/keyring %ghost %{_sysconfdir}/alternatives/keyring
%{_bindir}/keyring %{_bindir}/keyring
%{_bindir}/keyring-%{py_ver} %{_bindir}/keyring-%{py_ver}