From b55d2282b2232c46fc011425292279297c3c6567 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 5 Jan 2025 23:18:55 +0300 Subject: [PATCH] import python-argon2-cffi-bindings-21.2.0-8.el10 --- .gitignore | 1 + .python-argon2-cffi-bindings.metadata | 1 + SPECS/python-argon2-cffi-bindings.spec | 102 +++++++++++++++++++++++++ 3 files changed, 104 insertions(+) create mode 100644 .gitignore create mode 100644 .python-argon2-cffi-bindings.metadata create mode 100644 SPECS/python-argon2-cffi-bindings.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8787238 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/argon2-cffi-bindings-21.2.0.tar.gz diff --git a/.python-argon2-cffi-bindings.metadata b/.python-argon2-cffi-bindings.metadata new file mode 100644 index 0000000..d8bcee6 --- /dev/null +++ b/.python-argon2-cffi-bindings.metadata @@ -0,0 +1 @@ +5a9b8906d9ca73c53c2bf0a2f0a8127fda69e965 SOURCES/argon2-cffi-bindings-21.2.0.tar.gz diff --git a/SPECS/python-argon2-cffi-bindings.spec b/SPECS/python-argon2-cffi-bindings.spec new file mode 100644 index 0000000..e6b4877 --- /dev/null +++ b/SPECS/python-argon2-cffi-bindings.spec @@ -0,0 +1,102 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 8; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +Name: python-argon2-cffi-bindings +Version: 21.2.0 +Release: %autorelease +Summary: Low-level CFFI bindings for Argon2 + +License: MIT +URL: https://github.com/hynek/argon2-cffi-bindings +Source: %{pypi_source argon2-cffi-bindings} + +BuildRequires: gcc +BuildRequires: python3-devel +BuildRequires: pkgconfig(libargon2) + + +%global _description %{expand: +This package provides low-level CFFI bindings to the Argon2 password hashing +algorithm. + +If you want to hash passwords in an application, +this package is not for you. +Have a look at argon2-cffi with its high-level abstractions! + +These bindings have been extracted from argon2-cffi and it remains its main +consumer. However, they may be used by other packages that want to use the +Argon2 library without dealing with C-related complexities.} + + +%description %_description + +%package -n python3-argon2-cffi-bindings +Summary: %{summary} + +%description -n python3-argon2-cffi-bindings %_description + + +%prep +%autosetup -p1 -n argon2-cffi-bindings-%{version} +# using system libargon +rm -r extras/libargon2 + + +%generate_buildrequires +export ARGON2_CFFI_USE_SYSTEM=1 +%pyproject_buildrequires -x tests + + +%build +export ARGON2_CFFI_USE_SYSTEM=1 +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files _argon2_cffi_bindings + + +%check +%pytest -v + +%files -n python3-argon2-cffi-bindings -f %{pyproject_files} +%doc README.md CHANGELOG.md + + +%changelog +* Sun Jan 05 2025 Arkady L. Shane - 21.2.0-8 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 21.2.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 21.2.0-7 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 21.2.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 21.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 21.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 21.2.0-3 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 21.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Dec 05 2022 Miro HronĨok - 21.2.0-1 +- Initial import (rhbz#2150851) +## END: Generated by rpmautospec