summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 13:49:06 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 13:49:06 +0000
commitdadb260ada518f3d1ef128c5cbc97f2de6b18510 (patch)
treee1a867dacb720d679e0e5fa03c41c673cf8141e4
parent5943593c900101c0711178ae5621fa90fd16ed88 (diff)
automatic import of python-flask-graphql
-rw-r--r--.gitignore1
-rw-r--r--python-flask-graphql.spec75
-rw-r--r--sources1
3 files changed, 77 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f1d15c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Flask-GraphQL-2.0.1.tar.gz
diff --git a/python-flask-graphql.spec b/python-flask-graphql.spec
new file mode 100644
index 0000000..ab86314
--- /dev/null
+++ b/python-flask-graphql.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Flask-GraphQL
+Version: 2.0.1
+Release: 1
+Summary: Adds GraphQL support to your Flask application
+License: MIT
+URL: https://github.com/graphql-python/flask-graphql
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/61/73/7e30093467341c1a9261fdd1ea296f6a1efd13dc659a8beb915d40853705/Flask-GraphQL-2.0.1.tar.gz
+BuildArch: noarch
+
+
+%description
+|Build Status| |Coverage Status| |PyPI version|
+Adds GraphQL support to your Flask application.
+
+%package -n python3-Flask-GraphQL
+Summary: Adds GraphQL support to your Flask application
+Provides: python-Flask-GraphQL
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Flask-GraphQL
+|Build Status| |Coverage Status| |PyPI version|
+Adds GraphQL support to your Flask application.
+
+%package help
+Summary: Development documents and examples for Flask-GraphQL
+Provides: python3-Flask-GraphQL-doc
+%description help
+|Build Status| |Coverage Status| |PyPI version|
+Adds GraphQL support to your Flask application.
+
+%prep
+%autosetup -n Flask-GraphQL-2.0.1
+
+%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-GraphQL -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..07f1589
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+49d725e7bba68b3a4335ac4d373433de Flask-GraphQL-2.0.1.tar.gz