summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 07:06:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 07:06:14 +0000
commite5b2c5360d44bd12e7ea00bfafddd2ceeb0119f0 (patch)
tree4359545c88d6805b7cc461af777770c08f0fd7b7
parent681096b43032f49e78beeaf293e506f5d098ae91 (diff)
automatic import of python-flask-argon2
-rw-r--r--.gitignore1
-rw-r--r--python-flask-argon2.spec92
-rw-r--r--sources1
3 files changed, 94 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ef1bc72 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Flask-Argon2-0.3.0.0.tar.gz
diff --git a/python-flask-argon2.spec b/python-flask-argon2.spec
new file mode 100644
index 0000000..2f70d0e
--- /dev/null
+++ b/python-flask-argon2.spec
@@ -0,0 +1,92 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Flask-Argon2
+Version: 0.3.0.0
+Release: 1
+Summary: Flask-Argon2 provides convenient wrappers for Argon2 password hashing
+License: MIT
+URL: https://github.com/red-coracle/flask-argon2
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7d/eb/c847d28a3d37e30000f52eb9d1bbf2549be650ea958b84950912db1849fa/Flask-Argon2-0.3.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-Flask
+Requires: python3-argon2-cffi
+
+%description
+The Flask-Argon2 extension provides Argon2i password hashing with
+sensible defaults and a random salt for Flask.
+Links
+`````
+* `Documentation <http://flask-argon2.readthedocs.org/en/latest/>`_
+* `Development version <https://github.com/red-coracle/flask-argon2>`_
+* `argon2_cffi <https://github.com/hynek/argon2_cffi>`_
+
+%package -n python3-Flask-Argon2
+Summary: Flask-Argon2 provides convenient wrappers for Argon2 password hashing
+Provides: python-Flask-Argon2
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Flask-Argon2
+The Flask-Argon2 extension provides Argon2i password hashing with
+sensible defaults and a random salt for Flask.
+Links
+`````
+* `Documentation <http://flask-argon2.readthedocs.org/en/latest/>`_
+* `Development version <https://github.com/red-coracle/flask-argon2>`_
+* `argon2_cffi <https://github.com/hynek/argon2_cffi>`_
+
+%package help
+Summary: Development documents and examples for Flask-Argon2
+Provides: python3-Flask-Argon2-doc
+%description help
+The Flask-Argon2 extension provides Argon2i password hashing with
+sensible defaults and a random salt for Flask.
+Links
+`````
+* `Documentation <http://flask-argon2.readthedocs.org/en/latest/>`_
+* `Development version <https://github.com/red-coracle/flask-argon2>`_
+* `argon2_cffi <https://github.com/hynek/argon2_cffi>`_
+
+%prep
+%autosetup -n Flask-Argon2-0.3.0.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-Flask-Argon2 -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..3cbc8de
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+8bb5df82ec1abdb530828abec2024ce7 Flask-Argon2-0.3.0.0.tar.gz