summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 08:50:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 08:50:55 +0000
commite9c9b0a0c092a152d2e29cdaaeee18a2726c2606 (patch)
treea5076a8c9421f66a669fb84b9051017203b31358
parent9c6fa5b2d07d792508bc0e8792bfb029e89ec64e (diff)
automatic import of python-Flask-JinjaHelpersopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-flask-jinjahelpers.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6dc6627 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Flask-JinjaHelpers-0.3.8.tar.gz
diff --git a/python-flask-jinjahelpers.spec b/python-flask-jinjahelpers.spec
new file mode 100644
index 0000000..8829e0c
--- /dev/null
+++ b/python-flask-jinjahelpers.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Flask-JinjaHelpers
+Version: 0.3.8
+Release: 1
+Summary: Various helpers for Flask based Jinja2 templates.
+License: BSD
+URL: https://github.com/kvesteri/flask-jinjahelpers
+Source0: https://mirrors.aliyun.com/pypi/web/packages/8a/5e/0da9fae225eee0644b56fe49fc0957b1385fb113e7aecb12d54854f1ae09/Flask-JinjaHelpers-0.3.8.tar.gz
+BuildArch: noarch
+
+
+%description
+Various helpers for Flask based Jinja2 templates.
+
+%package -n python3-Flask-JinjaHelpers
+Summary: Various helpers for Flask based Jinja2 templates.
+Provides: python-Flask-JinjaHelpers
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Flask-JinjaHelpers
+Various helpers for Flask based Jinja2 templates.
+
+%package help
+Summary: Development documents and examples for Flask-JinjaHelpers
+Provides: python3-Flask-JinjaHelpers-doc
+%description help
+Various helpers for Flask based Jinja2 templates.
+
+%prep
+%autosetup -n Flask-JinjaHelpers-0.3.8
+
+%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-JinjaHelpers -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.8-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..fe13e78
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+93e92eb2672f6777260d85052d6ee07a Flask-JinjaHelpers-0.3.8.tar.gz