forked from pool/python-keyring
Accepting request 1032309 from home:bnavigator:branches:devel:languages:python
- Drop support-new-importlib.patch * "New" importlib 5.0 dropped deprecated indexing support gh#python/importlib_metadata#405 * See also gh#jaraco/keyring#526 OBS-URL: https://build.opensuse.org/request/show/1032309 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=110
This commit is contained in:
@@ -31,7 +31,6 @@ Summary: System keyring service access from Python
|
||||
License: MIT AND Python-2.0
|
||||
URL: https://github.com/jaraco/keyring
|
||||
Source: https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz
|
||||
Patch0: support-new-importlib.patch
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 56}
|
||||
@@ -78,6 +77,8 @@ sed -i '/^#!/d' keyring/cli.py
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
# https://github.com/jaraco/keyring/issues/526
|
||||
rm -r keyring.egg-info
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
|
Reference in New Issue
Block a user