!8 Upgrade package to version 21.3.0

From: @Gzx1999 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-09-29 10:42:33 +00:00 committed by Gitee
commit a5622005e8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 39 additions and 8 deletions

25
0001-add-setup.py.patch Normal file
View File

@ -0,0 +1,25 @@
From 442decd2a4c9b754e8c674044b85016d4fa99a7d Mon Sep 17 00:00:00 2001
From: Gzx1999 <guozhengxin@kylinos.cn>
Date: Sat, 24 Sep 2022 19:45:06 +0800
Subject: [PATCH] add setup.py
---
setup.py | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 setup.py
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..bac24a4
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import setuptools
+
+if __name__ == "__main__":
+ setuptools.setup()
--
2.25.1

Binary file not shown.

BIN
argon2-cffi-21.3.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,16 @@
%global _empty_manifest_terminate_build 0
Name: python-argon2-cffi
Version: 20.1.0
Release: 2
Version: 21.3.0
Release: 1
Summary: The secure Argon2 password hashing algorithm.
License: MIT
URL: https://argon2-cffi.readthedocs.io/
Source0: https://files.pythonhosted.org/packages/74/fd/d78e003a79c453e8454197092fce9d1c6099445b7e7da0b04eb4fe1dbab7/argon2-cffi-20.1.0.tar.gz
URL: https://github.com/hynek/argon2-cffi
Source0: https://files.pythonhosted.org/packages/3f/18/20bb5b6bf55e55d14558b57afc3d4476349ab90e0c43e60f27a7c2187289/argon2-cffi-21.3.0.tar.gz
Patch0: 0001-add-setup.py.patch
BuildArch: noarch
Requires: python3-argon2-cffi-bindings
Requires: python3-typing-extensions
%description
CFFI-based Argon2 Bindings for Python
@ -16,8 +20,6 @@ Summary: The secure Argon2 password hashing algorithm.
Provides: python-argon2-cffi
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-cffi
BuildRequires: gcc
%description -n python3-argon2-cffi
CFFI-based Argon2 Bindings for Python
@ -28,7 +30,8 @@ Provides: python3-argon2-cffi-doc
CFFI-based Argon2 Bindings for Python
%prep
%autosetup -n argon2-cffi-20.1.0
%autosetup -n argon2-cffi-%{version}
%patch0
%build
%py3_build
@ -62,12 +65,15 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-argon2-cffi -f filelist.lst
%dir %{python3_sitearch}/*
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Thu Sep 29 2022 guozhengxin <guozhengxin@kylinos.cn> - 21.3.0-1
- Upgrade package to version 21.3.0
* Wed Aug 04 2021 chenyanpanHW <chenyanpan@huawei.com> - 20.1.0-2
- DESC: delete BuildRequires gdb