diff --git a/argon2-cffi-21.1.0.tar.gz b/argon2-cffi-21.1.0.tar.gz deleted file mode 100644 index 2ee3396..0000000 --- a/argon2-cffi-21.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f710b61103d1a1f692ca3ecbd1373e28aa5e545ac625ba067ff2feca1b2bb870 -size 1807800 diff --git a/argon2-cffi-21.3.0.tar.gz b/argon2-cffi-21.3.0.tar.gz new file mode 100644 index 0000000..5cd09ac --- /dev/null +++ b/argon2-cffi-21.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d384164d944190a7dd7ef22c6aa3ff197da12962bd04b17f64d4e93d934dba5b +size 38446 diff --git a/python-argon2-cffi.changes b/python-argon2-cffi.changes index 59755dc..184de61 100644 --- a/python-argon2-cffi.changes +++ b/python-argon2-cffi.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri May 6 12:54:25 UTC 2022 - Ferdinand Thiessen + +- 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 diff --git a/python-argon2-cffi.spec b/python-argon2-cffi.spec index 35a2014..50b1146 100644 --- a/python-argon2-cffi.spec +++ b/python-argon2-cffi.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -20,32 +20,24 @@ %define skip_python2 1 Name: python-argon2-cffi -Version: 21.1.0 +Version: 21.3.0 Release: 0 Summary: The Argon2 password hashing algorithm for Python License: MIT URL: https://github.com/hynek/argon2_cffi 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 devel} +BuildRequires: %{python_module flit-core} BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools >= 6.0} -BuildRequires: %{python_module six} BuildRequires: fdupes -BuildRequires: pkgconfig BuildRequires: python-rpm-macros -BuildRequires: pkgconfig(libargon2) -Requires: python-cffi >= 1.0.0 +# For test +BuildRequires: %{python_module argon2-cffi-bindings} +Requires: python-argon2-cffi-bindings Requires: python-six Provides: python-argon2_cffi Obsoletes: python-argon2_cffi -%if %{with python2} -BuildRequires: python-enum34 -%endif -%ifpython2 -Requires: python-enum34 -%endif %python_subpackages %description @@ -57,19 +49,19 @@ C library. %build export ARGON2_CFFI_USE_SYSTEM=1 -%python_build +%pyproject_wheel %install -%python_install -%python_expand %fdupes %{buildroot}%{$python_sitearch} +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# test_argument_ranges - randomly fails -%pytest_arch -k 'not test_argument_ranges' +%pytest %files %{python_files} -%doc README.rst CHANGELOG.rst FAQ.rst +%doc README.rst AUTHORS.rst FAQ.rst %license LICENSE -%{python_sitearch}/* +%{python_sitelib}/argon2 +%{python_sitelib}/argon2_cffi-%{version}.dist-info %changelog