From 4cb0c4744115136453e28a00d7d54cdd8fbf0474066a51dbb390c70014971ae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 9 May 2022 04:09:33 +0000 Subject: [PATCH] Accepting request 975431 from home:susnux:branches:devel:languages:python required for python-argon2-cffi OBS-URL: https://build.opensuse.org/request/show/975431 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argon2-cffi-bindings?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + argon2-cffi-bindings-21.2.0.tar.gz | 3 ++ python-argon2-cffi-bindings.changes | 5 +++ python-argon2-cffi-bindings.spec | 69 +++++++++++++++++++++++++++++ 5 files changed, 101 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc 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..f701e64 --- /dev/null +++ b/python-argon2-cffi-bindings.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +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..987bbc5 --- /dev/null +++ b/python-argon2-cffi-bindings.spec @@ -0,0 +1,69 @@ +# +# 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: %{python_module six} +BuildRequires: fdupes +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(libargon2) +Requires: python-cffi >= 1.0.1 +Requires: python-six +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}/* + +%changelog