From 32fe9849ea0ea4bd5c47ec1ffefaa08a827b337e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 9 Mar 2023 11:38:04 +0000 Subject: automatic import of python-graphene --- python-graphene.spec | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 python-graphene.spec (limited to 'python-graphene.spec') 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 `__ +**We are looking for contributors**! Please check the +`ROADMAP `__ +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 `__ +**We are looking for contributors**! Please check the +`ROADMAP `__ +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 `__ +**We are looking for contributors**! Please check the +`ROADMAP `__ +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 - 3.2.1-1 +- Package Spec generated -- cgit v1.2.3