[python-keyring] Packaged keyring v 0.7

Ratnadeep Debnath rtnpro at fedoraproject.org
Sat Jan 14 18:01:28 UTC 2012


commit 74f7c59fce57edab73b1d66b91922d384f9f78fa
Author: rtnpro <rtnpro at gmail.com>
Date:   Sat Jan 14 23:30:52 2012 +0530

    Packaged keyring v 0.7

 .gitignore          |    1 +
 keyring-0.7.patch   |   26 ++++++++++++++++++++++++++
 python-keyring.spec |   46 +++++++++++++++++++++++++++++++---------------
 sources             |    2 +-
 4 files changed, 59 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5213e98..5312244 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /keyring-0.4.tar.gz
 /keyring-0.5.1.tar.gz
+/keyring-0.7.zip
diff --git a/keyring-0.7.patch b/keyring-0.7.patch
new file mode 100644
index 0000000..1f79b5c
--- /dev/null
+++ b/keyring-0.7.patch
@@ -0,0 +1,26 @@
+diff -uNr keyring-0.7/keyring/backends/osx_keychain.py keyring-0.7_p/keyring/backends/osx_keychain.py
+--- keyring-0.7/keyring/backends/osx_keychain.py	2011-10-19 09:23:30.000000000 +0530
++++ keyring-0.7_p/keyring/backends/osx_keychain.py	2012-01-14 23:11:39.976633258 +0530
+@@ -1,5 +1,3 @@
+-#!/usr/bin/python
+-
+ import sys
+ if sys.platform != 'darwin':
+     raise ImportError('Mac OS X only module')
+diff -uNr keyring-0.7/keyring/backends/win32_crypto.py keyring-0.7_p/keyring/backends/win32_crypto.py
+--- keyring-0.7/keyring/backends/win32_crypto.py	2011-10-19 09:23:30.000000000 +0530
++++ keyring-0.7_p/keyring/backends/win32_crypto.py	2012-01-14 23:12:01.503478652 +0530
+@@ -1,5 +1,3 @@
+-#!/usr/bin/python
+-
+ import sys
+ if sys.platform != 'win32':
+     raise ImportError('Windows-only module')
+diff -uNr keyring-0.7/keyring/cli.py keyring-0.7_p/keyring/cli.py
+--- keyring-0.7/keyring/cli.py	2011-11-04 11:09:28.000000000 +0530
++++ keyring-0.7_p/keyring/cli.py	2012-01-14 23:23:25.817162691 +0530
+@@ -1,4 +1,3 @@
+-#!/usr/bin/env python
+ """Simple command line interface to get/set password from a keyring"""
+ 
+ import getpass
diff --git a/python-keyring.spec b/python-keyring.spec
index 84089d2..4bd1335 100644
--- a/python-keyring.spec
+++ b/python-keyring.spec
@@ -1,11 +1,12 @@
 %global upstream_name keyring
 
 Name:           python-keyring
-Version:        0.5.1
-Release:        3%{?dist}
+Version:        0.7
+Release:        1%{?dist}
 Summary:        Python library to access the system keyring service
 
-Source0:        http://pypi.python.org/packages/source/k/keyring/%{upstream_name}-%{version}.tar.gz
+Source0:        http://pypi.python.org/packages/source/k/keyring/%{upstream_name}-%{version}.zip
+Patch0:         keyring-%{version}.patch
 License:        Python
 Group:          Development/Libraries
 URL:            http://pypi.python.org/pypi/keyring
@@ -14,19 +15,19 @@ BuildRequires:  python-devel
 Obsoletes:      %{name}-kwallet < %{version}
 Obsoletes:      %{name}-gnome < %{version}
 Obsoletes:      %{name} < %{version}
-Obsoletes:      %{name} < %{version}
 
 %description
-The Python keyring lib provides a easy way to access the system keyring 
-service from python. It can be used in any application that needs safe 
+The Python keyring lib provides a easy way to access the system keyring
+service from python. It can be used in any application that needs safe
 password storage.
 
-This package only provides file-based pseudo-keyrings. To interface with 
-gnome-keyring or KWallet, please install one of python-keyring-gnome or 
+This package only provides file-based pseudo-keyrings. To interface with
+gnome-keyring or KWallet, please install one of python-keyring-gnome or
 python-keyring-kwallet.
 
 %prep
 %setup -q -n %{upstream_name}-%{version}
+%patch0 -p1
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
@@ -38,25 +39,40 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
 %{__rm} -rf $RPM_BUILD_ROOT
 
 
-%files 
+%files
 %defattr(-,root,root,-)
-%doc README.txt demo
+%doc README demo
 %{python_sitelib}/%{upstream_name}
 %{python_sitelib}/%{upstream_name}-*.egg-info
 
 %changelog
-* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.1-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+* Sat Jan 14 2012 rtnpro <rtnpro at gmail.com> 0.7-1
+- Python 3 is now supported. All tests now pass under Python 3.2 on Windows and
+Linux (although Linux backend support is limited). Fixes #28.
+- Extension modules on Mac and Windows replaced by pure-Python ctypes
+implementations. Thanks to Jérôme Laheurte.
+- WinVaultKeyring now supports multiple passwords for the same service.
+Fixes #47.
+- Most of the tests don't require user interaction anymore.
+- Entries stored in Gnome Keyring appears now with a meaningful name if you try
+to browser your keyring (for ex. with Seahorse)
+- Tests from Gnome Keyring no longer pollute the user own keyring.
+- keyring.util.escape now accepts only unicode strings. Don't try to encode
+strings passed to it.
+
+* Tue Nov 08 2011 rtnpro <rtnpro at gmail.com> 0.6.2-1
+- fix compiling on OSX with XCode 4.0
+- Gnome keyring should not be used if there is no DISPLAY or if the dbus is not around
+    (https://bugs.launchpad.net/launchpadlib/+bug/752282).
+- Added keyring.http for facilitating HTTP Auth using keyring.
+- Add a utility to access the keyring from the command line.
 
 * Mon Jan 10 2011 rtnpro <rtnpro at gmail.com> 0.5.1-1
 - Remove a spurious KDE debug message when using KWallet
 - Fix a bug that caused an exception if the user canceled the KWallet dialog
 
 * Sun Nov 28 2010 rtnpro <rtnpro at gmail.com> 0.5-2
-- Removed sub-packages: gnome and kwallet; removed "Requires: PyKDE4 PyQt4" 
+- Removed sub-packages: gnome and kwallet; removed "Requires: PyKDE4 PyQt4"
 
 * Mon Nov 22 2010 rtnpro <rtnpro at gmail.com> 0.5-1
 - RPM for keyring-0.5
diff --git a/sources b/sources
index 1d6471a..6cdb13e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a2f0dcea7185580c163ef2db1f4fbe0c  keyring-0.5.1.tar.gz
+084f0c7aba79dbf072599cc14d91c59a  keyring-0.7.zip


More information about the scm-commits mailing list