From: @caodongxia Reviewed-by: @cherry530 Signed-off-by: @cherry530
This commit is contained in:
commit
de7940dcd8
@ -1,25 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
||||||
BIN
argon2-cffi-20.1.0.tar.gz
Normal file
BIN
argon2-cffi-20.1.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,16 +1,12 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-argon2-cffi
|
Name: python-argon2-cffi
|
||||||
Version: 21.3.0
|
Version: 20.1.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: The secure Argon2 password hashing algorithm.
|
Summary: The secure Argon2 password hashing algorithm.
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/hynek/argon2-cffi
|
URL: https://argon2-cffi.readthedocs.io/
|
||||||
Source0: https://files.pythonhosted.org/packages/3f/18/20bb5b6bf55e55d14558b57afc3d4476349ab90e0c43e60f27a7c2187289/argon2-cffi-21.3.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/74/fd/d78e003a79c453e8454197092fce9d1c6099445b7e7da0b04eb4fe1dbab7/argon2-cffi-20.1.0.tar.gz
|
||||||
Patch0: 0001-add-setup.py.patch
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
Requires: python3-argon2-cffi-bindings
|
|
||||||
Requires: python3-typing-extensions
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
CFFI-based Argon2 Bindings for Python
|
CFFI-based Argon2 Bindings for Python
|
||||||
@ -20,6 +16,8 @@ Summary: The secure Argon2 password hashing algorithm.
|
|||||||
Provides: python-argon2-cffi
|
Provides: python-argon2-cffi
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-cffi
|
||||||
|
BuildRequires: gcc
|
||||||
%description -n python3-argon2-cffi
|
%description -n python3-argon2-cffi
|
||||||
CFFI-based Argon2 Bindings for Python
|
CFFI-based Argon2 Bindings for Python
|
||||||
|
|
||||||
@ -30,8 +28,7 @@ Provides: python3-argon2-cffi-doc
|
|||||||
CFFI-based Argon2 Bindings for Python
|
CFFI-based Argon2 Bindings for Python
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n argon2-cffi-%{version}
|
%autosetup -n argon2-cffi-20.1.0
|
||||||
%patch0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -65,15 +62,12 @@ mv %{buildroot}/filelist.lst .
|
|||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%files -n python3-argon2-cffi -f filelist.lst
|
%files -n python3-argon2-cffi -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitearch}/*
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Aug 04 2021 chenyanpanHW <chenyanpan@huawei.com> - 20.1.0-2
|
||||||
- DESC: delete BuildRequires gdb
|
- DESC: delete BuildRequires gdb
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user