[packages/python3-argon2-cffi-bindings] - new

qboosh qboosh at pld-linux.org
Sun Feb 15 21:46:08 CET 2026


commit 70e7436ffb86a243b159f8961f14cbc8b35d9dc1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 15 21:45:58 2026 +0100

    - new

 python3-argon2-cffi-bindings.spec | 66 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
---
diff --git a/python3-argon2-cffi-bindings.spec b/python3-argon2-cffi-bindings.spec
new file mode 100644
index 0000000..ee80059
--- /dev/null
+++ b/python3-argon2-cffi-bindings.spec
@@ -0,0 +1,66 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+Summary:	Low-level CFFI bindings for Argon2
+Summary(pl.UTF-8):	Niskopoziomowe wiązania CFFI do biblioteki Argon2
+Name:		python3-argon2-cffi-bindings
+Version:	25.1.0
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/argon2_cffi_bindings/
+Source0:	https://files.pythonhosted.org/packages/source/a/argon2-cffi-bindings/argon2_cffi_bindings-%{version}.tar.gz
+# Source0-md5:	135e9e3b3a166e602bc0512899254894
+URL:		https://pypi.org/project/argon2-cffi-bindings/
+BuildRequires:	libargon2-devel
+BuildRequires:	python3-cffi >= 1.0.1
+BuildRequires:	python3-devel >= 1:3.9
+BuildRequires:	python3-setuptools >= 1:77
+BuildRequires:	python3-setuptools_scm >= 6.2
+%if %{with tests}
+BuildRequires:	python3-pytest
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.9
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+argon2-cffi-bindings provides low-level CFFI bindings to the official
+implementation of the Argon2 password hashing algorithm.
+
+%description -l pl.UTF-8
+Ten pakiet dostarcza niskopoziomowe wiązania CFFI do oficjalnej
+implementacji algorytmu skrótu haseł Argon2.
+
+%prep
+%setup -q -n argon2_cffi_bindings-%{version}
+
+%build
+export ARGON2_CFFI_USE_SYSTEM=1
+%py3_build
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS= \
+PYTHONPATH=$(readlink -f build-3/lib.*) \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.md LICENSE README.md
+%dir %{py3_sitedir}/_argon2_cffi_bindings
+%{py3_sitedir}/_argon2_cffi_bindings/*.py
+%{py3_sitedir}/_argon2_cffi_bindings/_ffi.abi3.so
+%{py3_sitedir}/_argon2_cffi_bindings/__pycache__
+%{py3_sitedir}/argon2_cffi_bindings-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-argon2-cffi-bindings.git/commitdiff/70e7436ffb86a243b159f8961f14cbc8b35d9dc1



More information about the pld-cvs-commit mailing list