Accepting request 921255 from devel:languages:python
- Update to 23.2.1: * #530: In libsecret tests, use a session collection to allow tests to pass on Debian. * #521: Add libsecret backend. * #519: macOS backend APIs updated to newer, non-legacy APIs. - Add patch support-new-importlib.patch: * Support new importlib-metadata. OBS-URL: https://build.opensuse.org/request/show/921255 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-keyring?expand=0&rev=41
This commit is contained in:
commit
6923a6804d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:045703609dd3fccfcdb27da201684278823b72af515aedec1a8515719a038cb8
|
|
||||||
size 59185
|
|
3
keyring-23.2.1.tar.gz
Normal file
3
keyring-23.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6334aee6073db2fb1f30892697b1730105b5e9a77ce7e61fca6b435225493efe
|
||||||
|
size 53996
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 24 09:21:13 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 23.2.1:
|
||||||
|
* #530: In libsecret tests, use a session collection to allow tests
|
||||||
|
to pass on Debian.
|
||||||
|
* #521: Add libsecret backend.
|
||||||
|
* #519: macOS backend APIs updated to newer, non-legacy APIs.
|
||||||
|
- Add patch support-new-importlib.patch:
|
||||||
|
* Support new importlib-metadata.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 17 14:52:19 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
Thu Jun 17 14:52:19 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -19,14 +19,13 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-keyring
|
Name: python-keyring
|
||||||
Version: 23.0.1
|
Version: 23.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: System keyring service access from Python
|
Summary: System keyring service access from Python
|
||||||
License: MIT AND Python-2.0
|
License: MIT AND Python-2.0
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/jaraco/keyring
|
URL: https://github.com/jaraco/keyring
|
||||||
Source: https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz
|
||||||
# Patch: fix-kwallet-tests.patch
|
Patch0: support-new-importlib.patch
|
||||||
BuildRequires: %{python_module SecretStorage >= 3}
|
BuildRequires: %{python_module SecretStorage >= 3}
|
||||||
BuildRequires: %{python_module entrypoints}
|
BuildRequires: %{python_module entrypoints}
|
||||||
BuildRequires: %{python_module importlib-metadata}
|
BuildRequires: %{python_module importlib-metadata}
|
||||||
|
13
support-new-importlib.patch
Normal file
13
support-new-importlib.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: keyring-23.2.1/tests/test_packaging.py
|
||||||
|
===================================================================
|
||||||
|
--- keyring-23.2.1.orig/tests/test_packaging.py
|
||||||
|
+++ keyring-23.2.1/tests/test_packaging.py
|
||||||
|
@@ -9,7 +9,7 @@ def test_entry_point():
|
||||||
|
that's a callable.
|
||||||
|
"""
|
||||||
|
matches = metadata.entry_points(group='console_scripts', name='keyring')
|
||||||
|
- (script,) = matches
|
||||||
|
+ script = matches[0]
|
||||||
|
assert callable(script.load())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user