summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 04:19:03 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 04:19:03 +0000
commit082b895aff835558f3d69dd379148a9da8065d74 (patch)
treef197bc27cbb757a56c182d34db51747f4a95e1ac
parent84a0020c603a8c2c227a05a380a355b5e4d51bd7 (diff)
automatic import of python-Flask-Firstopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-flask-first.spec99
-rw-r--r--sources1
3 files changed, 101 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d980755 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Flask-First-0.13.2.tar.gz
diff --git a/python-flask-first.spec b/python-flask-first.spec
new file mode 100644
index 0000000..dc7eea9
--- /dev/null
+++ b/python-flask-first.spec
@@ -0,0 +1,99 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Flask-First
+Version: 0.13.2
+Release: 1
+Summary: Flask extension for using "specification first" principle via OpenAPI specification.
+License: MIT
+URL: https://github.com/flask-pro/flask-first
+Source0: https://mirrors.aliyun.com/pypi/web/packages/a6/29/32b051f946c772b050a7426f3f34c1cbed1939089abcd99afb2a08940d82/Flask-First-0.13.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-Flask
+Requires: python3-openapi-spec-validator
+Requires: python3-marshmallow
+
+%description
+Will be added in future releases.
+* Full specification in one file.
+* Headers not supported.
+* Authorization not supported.
+## Installing
+Install and update using `pip`:
+```shell
+$ pip install flask_first
+```
+
+%package -n python3-Flask-First
+Summary: Flask extension for using "specification first" principle via OpenAPI specification.
+Provides: python-Flask-First
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Flask-First
+Will be added in future releases.
+* Full specification in one file.
+* Headers not supported.
+* Authorization not supported.
+## Installing
+Install and update using `pip`:
+```shell
+$ pip install flask_first
+```
+
+%package help
+Summary: Development documents and examples for Flask-First
+Provides: python3-Flask-First-doc
+%description help
+Will be added in future releases.
+* Full specification in one file.
+* Headers not supported.
+* Authorization not supported.
+## Installing
+Install and update using `pip`:
+```shell
+$ pip install flask_first
+```
+
+%prep
+%autosetup -n Flask-First-0.13.2
+
+%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-First -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.13.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a1bcb2a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e16731c679eacb64b32a7c334458b62a Flask-First-0.13.2.tar.gz