summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 15:01:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 15:01:41 +0000
commite3f90b33362bab52aab96f04693efbb04eb447bd (patch)
tree7df79e2f85dffa1ed665063ceb1cb080cade8943
parentd5f8798acc4a7ba636aa1f53928fe5893f19546e (diff)
automatic import of python-keg-authopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-keg-auth.spec107
-rw-r--r--sources1
3 files changed, 109 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..846b048 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Keg-Auth-0.7.0.tar.gz
diff --git a/python-keg-auth.spec b/python-keg-auth.spec
new file mode 100644
index 0000000..60a551e
--- /dev/null
+++ b/python-keg-auth.spec
@@ -0,0 +1,107 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Keg-Auth
+Version: 0.7.0
+Release: 1
+Summary: Authentication plugin for Keg
+License: BSD License
+URL: https://github.com/level12/keg-auth
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fe/49/69ff27563fa9508f8efe68269ffbf777787c83bd5cbccebfc02344ca5971/Keg-Auth-0.7.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-authlib
+Requires: python3-bcrypt
+Requires: python3-markdown-it-py
+Requires: python3-Flask-Login
+Requires: python3-Keg
+Requires: python3-KegElements
+Requires: python3-inflect
+Requires: python3-passlib
+Requires: python3-shortuuid
+Requires: python3-webgrid
+Requires: python3-morphi
+Requires: python3-webgrid[i18n]
+Requires: python3-flask-jwt-extended
+Requires: python3-ldap
+Requires: python3-Flask-Mail
+Requires: python3-requests
+Requires: python3-email-validator
+Requires: python3-flake8
+Requires: python3-flask-bootstrap
+Requires: python3-flask-jwt-extended
+Requires: python3-flask-mail
+Requires: python3-flask-webtest
+Requires: python3-freezegun
+Requires: python3-mock
+Requires: python3-psycopg2-binary
+Requires: python3-ldap
+Requires: python3-pyquery
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-requests
+Requires: python3-tox
+Requires: python3-xlsxwriter
+
+%description
+Flask extension in the Keg ecosystem to wrap authentication and authorization functionality. Keg-Auth
+provides helpers for auth model, view/authorization setup, protected navigation menus, and more.
+
+%package -n python3-Keg-Auth
+Summary: Authentication plugin for Keg
+Provides: python-Keg-Auth
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Keg-Auth
+Flask extension in the Keg ecosystem to wrap authentication and authorization functionality. Keg-Auth
+provides helpers for auth model, view/authorization setup, protected navigation menus, and more.
+
+%package help
+Summary: Development documents and examples for Keg-Auth
+Provides: python3-Keg-Auth-doc
+%description help
+Flask extension in the Keg ecosystem to wrap authentication and authorization functionality. Keg-Auth
+provides helpers for auth model, view/authorization setup, protected navigation menus, and more.
+
+%prep
+%autosetup -n Keg-Auth-0.7.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-Keg-Auth -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..2d04e69
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6debff286114e787953a861c5e28cc83 Keg-Auth-0.7.0.tar.gz