diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-graphene.spec | 109 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 111 insertions, 0 deletions
@@ -0,0 +1 @@ +/graphene-3.2.1.tar.gz diff --git a/python-graphene.spec b/python-graphene.spec new file mode 100644 index 0000000..443c86d --- /dev/null +++ b/python-graphene.spec @@ -0,0 +1,109 @@ +%global _empty_manifest_terminate_build 0 +Name: python-graphene +Version: 3.2.1 +Release: 1 +Summary: GraphQL Framework for Python +License: MIT +URL: https://github.com/graphql-python/graphene +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c7/82/b5714a1082120f1ac71fb0d34b151d681c989e9a8f6c291b6d942387ace8/graphene-3.2.1.tar.gz +BuildArch: noarch + +Requires: python3-graphql-core +Requires: python3-graphql-relay +Requires: python3-aniso8601 +Requires: python3-black +Requires: python3-flake8 +Requires: python3-pytest +Requires: python3-pytest-benchmark +Requires: python3-pytest-cov +Requires: python3-pytest-mock +Requires: python3-pytest-asyncio +Requires: python3-snapshottest +Requires: python3-coveralls +Requires: python3-mock +Requires: python3-pytz +Requires: python3-iso8601 +Requires: python3-pytest +Requires: python3-pytest-benchmark +Requires: python3-pytest-cov +Requires: python3-pytest-mock +Requires: python3-pytest-asyncio +Requires: python3-snapshottest +Requires: python3-coveralls +Requires: python3-mock +Requires: python3-pytz +Requires: python3-iso8601 + +%description +`���� Join the community on +Slack <https://join.slack.com/t/graphenetools/shared_invite/enQtOTE2MDQ1NTg4MDM1LTA4Nzk0MGU0NGEwNzUxZGNjNDQ4ZjAwNDJjMjY0OGE1ZDgxZTg4YjM2ZTc4MjE2ZTAzZjE2ZThhZTQzZTkyMmM>`__ +**We are looking for contributors**! Please check the +`ROADMAP <https://github.com/graphql-python/graphene/blob/master/ROADMAP.md>`__ +to see how you can help ������ + +%package -n python3-graphene +Summary: GraphQL Framework for Python +Provides: python-graphene +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-graphene +`���� Join the community on +Slack <https://join.slack.com/t/graphenetools/shared_invite/enQtOTE2MDQ1NTg4MDM1LTA4Nzk0MGU0NGEwNzUxZGNjNDQ4ZjAwNDJjMjY0OGE1ZDgxZTg4YjM2ZTc4MjE2ZTAzZjE2ZThhZTQzZTkyMmM>`__ +**We are looking for contributors**! Please check the +`ROADMAP <https://github.com/graphql-python/graphene/blob/master/ROADMAP.md>`__ +to see how you can help ������ + +%package help +Summary: Development documents and examples for graphene +Provides: python3-graphene-doc +%description help +`���� Join the community on +Slack <https://join.slack.com/t/graphenetools/shared_invite/enQtOTE2MDQ1NTg4MDM1LTA4Nzk0MGU0NGEwNzUxZGNjNDQ4ZjAwNDJjMjY0OGE1ZDgxZTg4YjM2ZTc4MjE2ZTAzZjE2ZThhZTQzZTkyMmM>`__ +**We are looking for contributors**! Please check the +`ROADMAP <https://github.com/graphql-python/graphene/blob/master/ROADMAP.md>`__ +to see how you can help ������ + +%prep +%autosetup -n graphene-3.2.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-graphene -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2.1-1 +- Package Spec generated @@ -0,0 +1 @@ +8b4ee4a130fd03bc3f89765485c03acb graphene-3.2.1.tar.gz |