forked from pool/python-keyring
- Update to 23.0.1:
* #504: Better error with invalid parameter to init_keyring. * #505: Nicer documentation for headless Docker. * Backends now all invoke ``set_properties_from_env`` on self in the initializer. Derived backends should be sure to invoke ``super().__init__()``. * Use new entry points API from importlib_metadata 3.6. * Added redundant type declarations for accessor functions in ``keyring.core``. * Added type declaration for ``keyring.core.get_keyring()``. * #438: For better interoperability with other applications, ``Windows`` backend now attempts to decode passwords using UTF-8 if UTF-16 decoding fails. Passwords are still stored as UTF-16. * #437: Package now declares typing support. * #403: Keyring no longer eagerly initializes the backend on import, but instead defers the backend initialization until a keyring is accessed. Any callers reliant on this early intialization behavior may need to call ``keyring.core.init_backend()`` to explicitly initialize the detected backend. * #474: SecretService and KWallet backends are now disabled if the relevant names are not available on D-Bus. Keyring should now be much more responsive in these environments. * #463: Fixed regression in KWallet ``get_credential`` where a simple string was returned instead of a SimpleCredential. * #431: KWallet backend now supports ``get_credential``. * #445: Suppress errors when ``sys.argv`` is not OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=90
This commit is contained in:
@@ -19,14 +19,14 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-keyring
|
||||
Version: 21.2.1
|
||||
Version: 23.0.1
|
||||
Release: 0
|
||||
Summary: System keyring service access from Python
|
||||
License: Python-2.0 AND MIT
|
||||
License: MIT AND Python-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/jaraco/keyring
|
||||
Source: https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz
|
||||
Patch: fix-kwallet-tests.patch
|
||||
# Patch: fix-kwallet-tests.patch
|
||||
BuildRequires: %{python_module SecretStorage >= 3}
|
||||
BuildRequires: %{python_module entrypoints}
|
||||
BuildRequires: %{python_module importlib-metadata}
|
||||
@@ -42,7 +42,7 @@ Requires: python-importlib-metadata
|
||||
Requires: python-jeepney >= 0.4.2
|
||||
Requires: python-setuptools
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -51,8 +51,8 @@ The Python keyring lib provides a way to access the system keyring service
|
||||
from python. It can be used in any application that needs safe password storage.
|
||||
|
||||
%prep
|
||||
%setup -q -n keyring-%{version}
|
||||
%patch -p1
|
||||
%autosetup -p1 -n keyring-%{version}
|
||||
|
||||
%if 0%{?sle_version}
|
||||
# keyring is not setting the egg version correctly without this:
|
||||
sed -i -e '1a version=%{version}' setup.cfg
|
||||
|
Reference in New Issue
Block a user