Accepting request 810904 from devel:languages:python

- update to 21.2.1:
  * #426: Restored lenience on startup when entry point
    metadata is missing.
  * #423: Avoid RecursionError when initializing backends
    when a limit is supplied.

- Fix the requirements to match reality of setup.cfg

- %python3_only -> %python_alternative

OBS-URL: https://build.opensuse.org/request/show/810904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-keyring?expand=0&rev=37
This commit is contained in:
2020-06-05 17:59:43 +00:00
committed by Git OBS Bridge
4 changed files with 35 additions and 7 deletions

View File

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

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

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

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Jun 2 16:32:46 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 21.2.1:
* #426: Restored lenience on startup when entry point
metadata is missing.
* #423: Avoid RecursionError when initializing backends
when a limit is supplied.
-------------------------------------------------------------------
Thu May 28 07:16:57 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix the requirements to match reality of setup.cfg
-------------------------------------------------------------------
Mon May 25 06:50:30 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
-------------------------------------------------------------------
Thu Apr 16 08:27:33 UTC 2020 - pgajdos@suse.com

View File

@@ -19,16 +19,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-keyring
Version: 21.2.0
Version: 21.2.1
Release: 0
Summary: System keyring service access from Python
License: Python-2.0 AND MIT
Group: Development/Languages/Python
URL: https://github.com/jaraco/keyring
Source: https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz
BuildRequires: %{python_module SecretStorage >= 3}
BuildRequires: %{python_module entrypoints}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module pytest >= 3.5}
BuildRequires: %{python_module setuptools >= 17.1}
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
@@ -37,8 +36,11 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-SecretStorage >= 3
Requires: python-entrypoints
Requires: python-importlib-metadata
Requires: python-jeepney >= 0.4.2
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -57,15 +59,22 @@ sed -i -e 's,--flake8,,' -e 's,--black,,' -e 's,--cov,,' pytest.ini
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/keyring
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%post
%python_install_alternative keyring
%postun
%python_uninstall_alternative keyring
%files %{python_files}
%doc README.rst CHANGES.rst
%license LICENSE
%python3_only %{_bindir}/keyring
%python_alternative %{_bindir}/keyring
%{python_sitelib}/keyring-%{version}-py*.egg-info
%{python_sitelib}/keyring/