14
0

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:
2022-10-31 07:50:59 +00:00
committed by Git OBS Bridge
parent 7ff0acdad5
commit 4c4b3032d3
3 changed files with 10 additions and 14 deletions

View File

@@ -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