Accepting request 679266 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/679266 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-keyring?expand=0&rev=33
This commit is contained in:
commit
e65ab09fe1
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6232b972dfbd44fd9bd649242dbf17f616988b152d4268f9ca1dcc704b467381
|
|
||||||
size 42891
|
|
3
keyring-18.0.0.tar.gz
Normal file
3
keyring-18.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:12833d2b05d2055e0e25931184af9cd6a738f320a2264853cabbd8a3a0f0b65d
|
||||||
|
size 48509
|
@ -1,3 +1,46 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 26 13:10:57 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Add LICENSE
|
||||||
|
- Remove tests from runtime package
|
||||||
|
- Fix test failure occurring in test_packaging.py
|
||||||
|
- Use pytest --ignore to avoid removing build directories in %check
|
||||||
|
- Remove unnecessary build dependency pytest-sugar
|
||||||
|
- Update to v18.0.0
|
||||||
|
* On macOS, the backend now raises a ``KeyringLocked``
|
||||||
|
when access to the keyring is denied (on get or set) instead
|
||||||
|
of ``PasswordSetError`` or ``KeyringError``. Any API users
|
||||||
|
may need to account for this change, probably by catching
|
||||||
|
the parent ``KeyringError``.
|
||||||
|
Additionally, the error message from the underying error is
|
||||||
|
now included in any errors that occur.
|
||||||
|
- from 17.1.1
|
||||||
|
* Update packaging technique to avoid 0.0.0 releases.
|
||||||
|
- from 17.1.0
|
||||||
|
* When calling ``keyring.core.init_backend``, if any limit function is
|
||||||
|
supplied, it is saved and later honored by the ``ChainerBackend`` as well.
|
||||||
|
- from 17.0.0
|
||||||
|
* Remove application attribute from stored passwords
|
||||||
|
using SecretService, addressing regression introduced in
|
||||||
|
10.5.0 (#292). Impacted Linux keyrings will once again
|
||||||
|
prompt for a password for "Python program".
|
||||||
|
- from 16.1.1
|
||||||
|
* Fix error on import due to circular imports on Python 3.4.
|
||||||
|
- from 16.1.0
|
||||||
|
* Refactor ChainerBackend, introduced in 16.0 to function
|
||||||
|
as any other backend, activating when relevant.
|
||||||
|
- 16.0.2
|
||||||
|
* In Windows backend, trap all exceptions when attempting to import pywin32.
|
||||||
|
- from 16.0.1
|
||||||
|
* Once again allow all positive, non-zero priority keyrings to participate.
|
||||||
|
- from 16.0.0
|
||||||
|
* Fix race condition in delete_password on Windows.
|
||||||
|
* All suitable backends (priority 1 and greater) are
|
||||||
|
allowed to participate.
|
||||||
|
- from 15.2.0
|
||||||
|
* Added new API for ``get_credentials``, for backends
|
||||||
|
that can resolve both a username and password for a service.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 12 03:19:07 UTC 2018 - Arun Persaud <arun@gmx.de>
|
Fri Oct 12 03:19:07 UTC 2018 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-keyring
|
# spec file for package python-keyring
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-keyring
|
Name: python-keyring
|
||||||
Version: 15.1.0
|
Version: 18.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Store and access your passwords safely
|
Summary: Store and access your passwords safely
|
||||||
License: Python-2.0 AND MIT
|
License: Python-2.0 AND MIT
|
||||||
@ -29,7 +29,6 @@ BuildRequires: %{python_module SecretStorage}
|
|||||||
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 pytest-sugar >= 0.9.1}
|
|
||||||
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: fdupes
|
BuildRequires: fdupes
|
||||||
@ -48,25 +47,26 @@ 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
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%{python_expand rm -r %{buildroot}%{$python_sitelib}/keyring/tests
|
||||||
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# remove flake8
|
|
||||||
sed -i -e 's,--flake8,,' pytest.ini
|
|
||||||
# remove test expecting the /usr/bin
|
|
||||||
rm -rf tests/test_packaging.py
|
|
||||||
# sadly most tests need running dbus to communicate with secretstorage/etc
|
# sadly most tests need running dbus to communicate with secretstorage/etc
|
||||||
%{python_expand rm -rf _build*
|
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||||
py.test-%{$python_bin_suffix}}
|
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
|
||||||
|
%license LICENSE
|
||||||
%python3_only %{_bindir}/keyring
|
%python3_only %{_bindir}/keyring
|
||||||
%{python_sitelib}/keyring-%{version}-py*.egg-info
|
%{python_sitelib}/keyring-%{version}-py*.egg-info
|
||||||
%{python_sitelib}/keyring/
|
%{python_sitelib}/keyring/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user