summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 13:23:48 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 13:23:48 +0000
commitffa86bfd2839b36041557e77d3dcb9fd0ad64d75 (patch)
treebe1cb2a2f06c849e0150dd36648a34e9709255c5
parent27966a9b23b1ce535a645faef6ac5ab74924b972 (diff)
automatic import of python-graphene-django
-rw-r--r--.gitignore1
-rw-r--r--python-graphene-django.spec101
-rw-r--r--sources1
3 files changed, 103 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..872835b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/graphene-django-3.0.0.tar.gz
diff --git a/python-graphene-django.spec b/python-graphene-django.spec
new file mode 100644
index 0000000..0d9dbd9
--- /dev/null
+++ b/python-graphene-django.spec
@@ -0,0 +1,101 @@
+%global _empty_manifest_terminate_build 0
+Name: python-graphene-django
+Version: 3.0.0
+Release: 1
+Summary: Graphene Django integration
+License: MIT
+URL: https://github.com/graphql-python/graphene-django
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/61/05/f737bee1cda957601a6a5bc9c9068dcc32b7ca3f004c77801210b8c3d87a/graphene-django-3.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-graphene
+Requires: python3-graphql-core
+Requires: python3-graphql-relay
+Requires: python3-Django
+Requires: python3-promise
+Requires: python3-text-unidecode
+Requires: python3-black
+Requires: python3-flake8
+Requires: python3-flake8-black
+Requires: python3-flake8-bugbear
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-random-order
+Requires: python3-coveralls
+Requires: python3-mock
+Requires: python3-pytz
+Requires: python3-django-filter
+Requires: python3-pytest-django
+Requires: python3-djangorestframework
+Requires: python3-djangorestframework
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-random-order
+Requires: python3-coveralls
+Requires: python3-mock
+Requires: python3-pytz
+Requires: python3-django-filter
+Requires: python3-pytest-django
+Requires: python3-djangorestframework
+
+%description
+
+
+%package -n python3-graphene-django
+Summary: Graphene Django integration
+Provides: python-graphene-django
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-graphene-django
+
+
+%package help
+Summary: Development documents and examples for graphene-django
+Provides: python3-graphene-django-doc
+%description help
+
+
+%prep
+%autosetup -n graphene-django-3.0.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-graphene-django -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..9638a41
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7052323946e6dc2980674fcbc2c7c3cc graphene-django-3.0.0.tar.gz