Sync from SUSE:SLFO:Main python-argon2-cffi-bindings revision d61e8540718adf3a633eeb8677211b11

This commit is contained in:
Adrian Schröter 2024-05-03 20:06:10 +02:00
commit 5a7204598a
4 changed files with 105 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
argon2-cffi-bindings-21.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,11 @@
-------------------------------------------------------------------
Thu Oct 20 07:32:50 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Remove not needed dep python-six
- Use a more specific python_sitelib in %files
-------------------------------------------------------------------
Fri May 6 13:31:49 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Initial version 21.2.0

View File

@ -0,0 +1,68 @@
#
# spec file for package python-argon2-cffi-bindings
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-argon2-cffi-bindings
Version: 21.2.0
Release: 0
Summary: Low-level Python CFFI Bindings for Argon2
License: MIT
URL: https://github.com/hynek/argon2-cffi-bindings
Source: https://files.pythonhosted.org/packages/source/a/argon2-cffi-bindings/argon2-cffi-bindings-%{version}.tar.gz
BuildRequires: %{python_module cffi >= 1.0.1}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 45}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(libargon2)
Requires: python-cffi >= 1.0.1
Provides: python-argon2_cffi_bindings
Obsoletes: python-argon2_cffi_bindings
%python_subpackages
%description
argon2-cffi-bindings provides low-level CFFI bindings
to the Argon2 password hashing algorithm.
%prep
%setup -q -n argon2-cffi-bindings-%{version}
%build
export ARGON2_CFFI_USE_SYSTEM=1
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%pytest_arch -v
%files %{python_files}
%doc README.md CHANGELOG.md
%license LICENSE
%{python_sitearch}/_argon2_cffi_bindings
%{python_sitearch}/argon2_cffi_bindings-%{version}*-info
%changelog