Accepting request 794535 from home:pgajdos:python
Too soon? OBS-URL: https://build.opensuse.org/request/show/794535 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=80
This commit is contained in:
parent
7871c12f9c
commit
ee812d94f0
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:67d6cc0132bd77922725fae9f18366bb314fd8f95ff4d323a4df41890a96a838
|
|
||||||
size 48559
|
|
3
keyring-21.2.0.tar.gz
Normal file
3
keyring-21.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:197fd5903901030ef7b82fe247f43cfed2c157a28e7747d1cfcf4bc5e699dd03
|
||||||
|
size 53978
|
@ -1,3 +1,62 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 08:27:33 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 21.2.0
|
||||||
|
v21.2.0
|
||||||
|
-------
|
||||||
|
* #372: Chainer now deterministically resolves at a lower
|
||||||
|
priority than the Fail keyring (when there are no backends
|
||||||
|
to chain).
|
||||||
|
* #372: Fail keyring now raises a ``NoKeyringError`` for
|
||||||
|
easier selectability.
|
||||||
|
* #405: Keyring now logs at DEBUG rather than INFO during
|
||||||
|
backend startup.
|
||||||
|
v21.1.1
|
||||||
|
-------
|
||||||
|
* Refreshed package metadata.
|
||||||
|
v21.1.0
|
||||||
|
-------
|
||||||
|
* #380: In SecretService backend, close connections after
|
||||||
|
using them.
|
||||||
|
v21.0.0
|
||||||
|
-------
|
||||||
|
* Require Python 3.6 or later.
|
||||||
|
v20.0.1
|
||||||
|
-------
|
||||||
|
* #417: Fix TypeError when backend fails to initialize.
|
||||||
|
v20.0.0
|
||||||
|
-------
|
||||||
|
* Extracted ``keyring.testing`` package to contain supporting
|
||||||
|
functionality for plugin backends. ``keyring.tests`` has been
|
||||||
|
removed from the package.
|
||||||
|
v19.3.0
|
||||||
|
-------
|
||||||
|
* Switch to `importlib.metadata
|
||||||
|
<https://docs.python.org/3/library/importlib.metadata.html>`_
|
||||||
|
for loading entry points. Removes one dependency on Python 3.8.
|
||||||
|
* Added new ``KeyringBackend.set_properties_from_env``.
|
||||||
|
* #382: Add support for alternate persistence scopes for Windows
|
||||||
|
backend. Set ``.persist`` to "local machine" or "session"
|
||||||
|
to enable the alternate scopes or "enterprise" to use the
|
||||||
|
default scope.
|
||||||
|
* #404: Improve import times when a backend is specifically
|
||||||
|
configured by lazily calling ``get_all_keyring``.
|
||||||
|
19.2.0
|
||||||
|
------
|
||||||
|
* Add support for get_credential() with the SecretService backend.
|
||||||
|
19.1.0
|
||||||
|
------
|
||||||
|
* #369: macOS Keyring now honors a ``KEYCHAIN_PATH``
|
||||||
|
environment variable. If set, Keyring will use that
|
||||||
|
keychain instead of the default.
|
||||||
|
19.0.2
|
||||||
|
------
|
||||||
|
* Refresh package skeleton.
|
||||||
|
* Adopt `black <https://pypi.org/project/black>`_ code style.
|
||||||
|
19.0.1
|
||||||
|
------
|
||||||
|
* Merge with 18.0.1.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 28 21:08:23 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Thu Mar 28 21:08:23 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-keyring
|
# spec file for package python-keyring
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,24 +17,27 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-keyring
|
Name: python-keyring
|
||||||
Version: 18.0.1
|
Version: 21.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: System keyring service access from Python
|
Summary: System keyring service access from Python
|
||||||
License: Python-2.0 AND MIT
|
License: Python-2.0 AND MIT
|
||||||
Group: Development/Languages/Python
|
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
|
||||||
BuildRequires: %{python_module SecretStorage}
|
BuildRequires: %{python_module SecretStorage >= 3}
|
||||||
BuildRequires: %{python_module entrypoints}
|
BuildRequires: %{python_module entrypoints}
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module pytest >= 3.5}
|
BuildRequires: %{python_module pytest >= 3.5}
|
||||||
BuildRequires: %{python_module setuptools >= 17.1}
|
BuildRequires: %{python_module setuptools >= 17.1}
|
||||||
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
|
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
|
||||||
|
BuildRequires: %{python_module toml}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-SecretStorage
|
Requires: python-SecretStorage >= 3
|
||||||
Requires: python-entrypoints
|
Requires: python-entrypoints
|
||||||
|
Requires: python-jeepney >= 0.4.2
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -47,7 +50,7 @@ from python. It can be used in any application that needs safe password storage.
|
|||||||
%setup -q -n keyring-%{version}
|
%setup -q -n keyring-%{version}
|
||||||
# For rpmlint warning: remove shebang from python library:
|
# For rpmlint warning: remove shebang from python library:
|
||||||
sed -i '/^#!/d' keyring/cli.py
|
sed -i '/^#!/d' keyring/cli.py
|
||||||
sed -i -e 's,--flake8,,' pytest.ini
|
sed -i -e 's,--flake8,,' -e 's,--black,,' -e 's,--cov,,' pytest.ini
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -57,10 +60,7 @@ sed -i -e 's,--flake8,,' pytest.ini
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# sadly most tests need running dbus to communicate with secretstorage/etc
|
%pytest
|
||||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
|
||||||
py.test-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3
|
|
||||||
}
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst CHANGES.rst
|
%doc README.rst CHANGES.rst
|
||||||
|
Loading…
x
Reference in New Issue
Block a user