From 8f867e864ce388f8a4cccfee9278777a7b4ef40c4ca2a2d54477200de9cd4632 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Tue, 15 Nov 2016 15:22:45 +0000 Subject: [PATCH] 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 --- keyring-10.0.2.tar.gz | 3 +++ keyring-9.3.1.tar.gz | 3 --- python-keyring.changes | 18 ++++++++++++++++++ python-keyring.spec | 19 +++++++------------ 4 files changed, 28 insertions(+), 15 deletions(-) create mode 100644 keyring-10.0.2.tar.gz delete mode 100644 keyring-9.3.1.tar.gz diff --git a/keyring-10.0.2.tar.gz b/keyring-10.0.2.tar.gz new file mode 100644 index 0000000..641b008 --- /dev/null +++ b/keyring-10.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91c31fd805b3ce6343406c7c51437f7505f3e9abb6e14ccac8242ea1fc912d77 +size 36587 diff --git a/keyring-9.3.1.tar.gz b/keyring-9.3.1.tar.gz deleted file mode 100644 index 39eb019..0000000 --- a/keyring-9.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3be74f6568fcac1350b837d7e46bd3525e2e9fe2b78b3a3a87dc3b29f24a0c00 -size 40579 diff --git a/python-keyring.changes b/python-keyring.changes index 3f08ebc..003c757 100644 --- a/python-keyring.changes +++ b/python-keyring.changes @@ -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. diff --git a/python-keyring.spec b/python-keyring.spec index d383250..71ad29e 100644 --- a/python-keyring.spec +++ b/python-keyring.spec @@ -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