Accepting request 440041 from home:stroeder:branches:devel:languages:python

update to 10.0.2

OBS-URL: https://build.opensuse.org/request/show/440041
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=53
This commit is contained in:
Jan Matejek 2016-11-15 15:22:45 +00:00 committed by Git OBS Bridge
parent 101a37dc2c
commit 8f867e864c
4 changed files with 28 additions and 15 deletions

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:91c31fd805b3ce6343406c7c51437f7505f3e9abb6e14ccac8242ea1fc912d77
size 36587

View File

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

View File

@ -1,6 +1,24 @@
-------------------------------------------------------------------
Sat Nov 12 15:17:19 UTC 2016 - michael@stroeder.com
- update to 10.0.2
- build requires python-tox instead of python-pytest-runner
10.0.2
-----
* #247: Restored console script.
10.0.1
------
* Update readme to reflect test recommendations.
10.0
----
* Drop support for Python 3.2.
* Test suite now uses tox instead of pytest-runner.
Test requirements are now defined in tests/requirements.txt.
-------------------------------------------------------------------
Fri Aug 12 21:41:15 UTC 2016 - michael@stroeder.com
- updated project URL
- update to 9.3.1:
* Link to the new Gitter chat room is now in the
readme.

View File

@ -17,9 +17,9 @@
Name: python-keyring
Version: 9.3.1
Version: 10.0.2
Release: 0
Url: https://bitbucket.org/kang/python-keyring-lib
Url: https://github.com/jaraco/keyring
Summary: Store and access your passwords safely
License: Python-2.0 and MIT
Group: Development/Languages/Python
@ -31,7 +31,8 @@ BuildRequires: python-setuptools_scm >= 1.9
# Test requirements:
BuildRequires: python-mock
BuildRequires: python-pytest
BuildRequires: python-pytest-runner
BuildRequires: python-tox
BuildRequires: python-SecretStorage
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python-unittest2
%endif
@ -39,16 +40,7 @@ Requires: python-SecretStorage
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
Provides: python-keyring-kde = %{version}
Obsoletes: python-keyring-kde < %{version}
Provides: python-keyring-gnome = %{version}
Obsoletes: python-keyring-gnome < %{version}
Supplements: packageand(kdebase4-workspace:kwalletmanager)
%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
The Python keyring lib provides a easy way to access the system keyring service
@ -56,6 +48,8 @@ from python. It can be used in any application that needs safe password storage.
%prep
%setup -q -n keyring-%{version}
# For rpmlint warning: remove shebang from python library:
sed -i '/^#!/d' keyring/cli.py
%build
python setup.py build
@ -70,6 +64,7 @@ touch %{buildroot}%{_sysconfdir}/alternatives/keyring
ln -sf %{_sysconfdir}/alternatives/keyring %{buildroot}%{_bindir}/keyring
%check
export PYTHONPATH="%{buildroot}%{python_sitelib}:$PYTHONPATH"
py.test
%post