From 5a7204598a945ccb70b171bd2acc94f46e65aab824d6915f5506953eeb9e4ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 20:06:10 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-argon2-cffi-bindings revision d61e8540718adf3a633eeb8677211b11 --- .gitattributes | 23 ++++++++++ argon2-cffi-bindings-21.2.0.tar.gz | 3 ++ python-argon2-cffi-bindings.changes | 11 +++++ python-argon2-cffi-bindings.spec | 68 +++++++++++++++++++++++++++++ 4 files changed, 105 insertions(+) create mode 100644 .gitattributes create mode 100644 argon2-cffi-bindings-21.2.0.tar.gz create mode 100644 python-argon2-cffi-bindings.changes create mode 100644 python-argon2-cffi-bindings.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/argon2-cffi-bindings-21.2.0.tar.gz b/argon2-cffi-bindings-21.2.0.tar.gz new file mode 100644 index 0000000..6f439d2 --- /dev/null +++ b/argon2-cffi-bindings-21.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb89ceffa6c791807d1305ceb77dbfacc5aa499891d2c55661c6459651fc39e3 +size 1779911 diff --git a/python-argon2-cffi-bindings.changes b/python-argon2-cffi-bindings.changes new file mode 100644 index 0000000..5fea509 --- /dev/null +++ b/python-argon2-cffi-bindings.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Thu Oct 20 07:32:50 UTC 2022 - Daniel Garcia + +- Remove not needed dep python-six +- Use a more specific python_sitelib in %files + +------------------------------------------------------------------- +Fri May 6 13:31:49 UTC 2022 - Ferdinand Thiessen + +- Initial version 21.2.0 + diff --git a/python-argon2-cffi-bindings.spec b/python-argon2-cffi-bindings.spec new file mode 100644 index 0000000..f2c8832 --- /dev/null +++ b/python-argon2-cffi-bindings.spec @@ -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