From dadb260ada518f3d1ef128c5cbc97f2de6b18510 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 13:49:06 +0000 Subject: automatic import of python-flask-graphql --- .gitignore | 1 + python-flask-graphql.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 77 insertions(+) create mode 100644 python-flask-graphql.spec create mode 100644 sources 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 - 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 -- cgit v1.2.3