forked from pool/python-argon2-cffi
Accepting request 975432 from home:susnux:branches:devel:languages:python
Update to version 21.3.0 Requires this first: https://build.opensuse.org/request/show/975431 OBS-URL: https://build.opensuse.org/request/show/975432 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argon2-cffi?expand=0&rev=19
This commit is contained in:
parent
61bb022090
commit
089242aa2e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f710b61103d1a1f692ca3ecbd1373e28aa5e545ac625ba067ff2feca1b2bb870
|
|
||||||
size 1807800
|
|
BIN
argon2-cffi-21.3.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
argon2-cffi-21.3.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 6 12:54:25 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||||
|
|
||||||
|
- Update to version 21.3.0
|
||||||
|
* Feature: Full type hints.
|
||||||
|
* Adjusted defaults to RFC 9106 and support for pre-configured profiles.
|
||||||
|
* Python 3.5 is not supported anymore.
|
||||||
|
* The CFFI bindings have been extracted into a separate project:
|
||||||
|
argon2-cffi-bindings
|
||||||
|
* Added: argon2.Parameters.from_parameters() together with the
|
||||||
|
argon2.profiles module that offers easy access to the RFC-recommended
|
||||||
|
configuration parameters and then some.
|
||||||
|
* The CLI interface now has a --profile option that takes any name
|
||||||
|
from argon2.profiles.
|
||||||
|
* argon2.PasswordHasher now uses the RFC 9106 low-memory profile
|
||||||
|
by default. The old defaults are available as argon2.profiles.PRE_21_2.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 14 23:14:06 UTC 2021 - Michael Ströder <michael@stroeder.com>
|
Sun Nov 14 23:14:06 UTC 2021 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-argon2-cffi
|
# spec file for package python-argon2-cffi
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 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
|
||||||
@ -20,32 +20,24 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
|
|
||||||
Name: python-argon2-cffi
|
Name: python-argon2-cffi
|
||||||
Version: 21.1.0
|
Version: 21.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Argon2 password hashing algorithm for Python
|
Summary: The Argon2 password hashing algorithm for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/hynek/argon2_cffi
|
URL: https://github.com/hynek/argon2_cffi
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/argon2-cffi/argon2-cffi-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/argon2-cffi/argon2-cffi-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module cffi >= 1.0.0}
|
BuildRequires: %{python_module flit-core}
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module hypothesis}
|
BuildRequires: %{python_module hypothesis}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools >= 6.0}
|
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: pkgconfig
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: pkgconfig(libargon2)
|
# For test
|
||||||
Requires: python-cffi >= 1.0.0
|
BuildRequires: %{python_module argon2-cffi-bindings}
|
||||||
|
Requires: python-argon2-cffi-bindings
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
Provides: python-argon2_cffi
|
Provides: python-argon2_cffi
|
||||||
Obsoletes: python-argon2_cffi
|
Obsoletes: python-argon2_cffi
|
||||||
%if %{with python2}
|
|
||||||
BuildRequires: python-enum34
|
|
||||||
%endif
|
|
||||||
%ifpython2
|
|
||||||
Requires: python-enum34
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -57,19 +49,19 @@ C library.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export ARGON2_CFFI_USE_SYSTEM=1
|
export ARGON2_CFFI_USE_SYSTEM=1
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# test_argument_ranges - randomly fails
|
%pytest
|
||||||
%pytest_arch -k 'not test_argument_ranges'
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst CHANGELOG.rst FAQ.rst
|
%doc README.rst AUTHORS.rst FAQ.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitearch}/*
|
%{python_sitelib}/argon2
|
||||||
|
%{python_sitelib}/argon2_cffi-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user