- Spec file cleanup:

* Add proper provides/obsoletes pairs for -gnome and -kde subpackages
  * Removed outdated %clean section
  * Package CONTRIBUTORS.txt
  * Run testsuite
- Update to version 0.7.1:
  * Removed non-ASCII characters from README and CHANGES docs
- Changes from version 0.7:
  * Python 3 is now supported.
  * Extension modules on Mac and Windows replaced by pure-Python ctypes
    implementations. Thanks to Jerome Laheurte.
  * WinVaultKeyring now supports multiple passwords for the same service.
  * 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=4
This commit is contained in:
Sascha Peilicke 2012-02-01 10:55:23 +00:00 committed by Git OBS Bridge
parent b834b26ac1
commit c63e3f2944
4 changed files with 73 additions and 30 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67958427296147bf66560627578857ad4202deca419576aacc2dd67939b17ef8
size 21765

3
keyring-0.7.1.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11487ff2549adfdb1203c113fca56f778aee54e9a0cec2e5d8cbb7289179cf1f
size 40304

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Wed Feb 1 10:51:39 UTC 2012 - saschpe@suse.de
- Spec file cleanup:
* Add proper provides/obsoletes pairs for -gnome and -kde subpackages
* Removed outdated %clean section
* Package CONTRIBUTORS.txt
* Run testsuite
- Update to version 0.7.1:
* Removed non-ASCII characters from README and CHANGES docs
- Changes from version 0.7:
* Python 3 is now supported.
* Extension modules on Mac and Windows replaced by pure-Python ctypes
implementations. Thanks to Jerome Laheurte.
* WinVaultKeyring now supports multiple passwords for the same service.
* 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.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 2 08:12:48 UTC 2011 - adrian@suse.de Fri Sep 2 08:12:48 UTC 2011 - adrian@suse.de

View File

@ -1,40 +1,61 @@
%define modname keyring #
Name: python-%{modname} # spec file for package python-keyring
Version: 0.6.2 #
Release: 1 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
Summary: Python Library That Provides Access to KDE/Gnome/MacOS/Windows keyrings #
URL: http://pypi.python.org/pypi/keyring # All modifications and additions to the file contributed by third parties
License: LGPL v2 or later # remain the property of their copyright owners, unless otherwise agreed
Group: Development/Libraries/Python # upon. The license for this file, and modifications and additions to the
Source: http://pypi.python.org/packages/source/k/%{modname}/%{modname}-%{version}.tar.gz # file, is the same license as for the pristine package itself (unless the
BuildRoot: %{_tmppath}/%{name}-buildroot # license for the pristine package is not an Open Source License, in which
%{py_requires} # case the license is the MIT License). An "Open Source License" is a
BuildRequires: python-devel libkde4-devel gnome-keyring-devel # license that conforms to the Open Source Definition (Version 1.9)
Obsoletes: python-keyring-kde # published by the Open Source Initiative.
Obsoletes: python-keyring-gnome #
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-keyring
Version: 0.7.1
Release: 0
Url: http://bitbucket.org/kang/python-keyring-lib
Summary: Store and access your passwords safely
License: Python-2.0
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/k/keyring/keyring-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-nose
BuildRequires: unzip
Provides: python-keyring-kde = %{version}
Obsoletes: python-keyring-kde < %{version}
Provides: python-keyring-gnome = %{version}
Obsoletes: python-keyring-gnome < %{version}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description %description
Generic keyring library for python applications. It can be used standalone or with The Python keyring lib provides a easy way to access the system keyring service
wrapper plugins for KDE or Gnome. from python. It can be used in any application that needs safe password storage.
%prep %prep
%setup -q -n %{modname}-%{version} %setup -q -n keyring-%{version}
%build %build
CFLAGS="%{optflags}" \ python setup.py build
%__python ./setup.py build
%install %install
%__python ./setup.py install \ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
--prefix="%{_prefix}" \
--root="%{buildroot}"
%clean %check
rm -rf %{buildroot} nosetests
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README CHANGES.txt %doc CONTRIBUTORS.txt README CHANGES.txt
%{python_sitelib}/keyring* %{python_sitelib}/*
%changelog