summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 03:23:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 03:23:55 +0000
commita57e5a228fd20a1c2533630f3491f79c748c351b (patch)
tree82724eba28b33d3216ee8c5bf8c94e00543c6c58
parent1fe67b88286198449fe37c6e6fe305c1bff03956 (diff)
automatic import of python-strawberry-django-jwtopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-strawberry-django-jwt.spec84
-rw-r--r--sources1
3 files changed, 86 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4380dbd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/strawberry-django-jwt-0.2.3.tar.gz
diff --git a/python-strawberry-django-jwt.spec b/python-strawberry-django-jwt.spec
new file mode 100644
index 0000000..f2bc303
--- /dev/null
+++ b/python-strawberry-django-jwt.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-strawberry-django-jwt
+Version: 0.2.3
+Release: 1
+Summary: Strawberry-graphql port of the graphene-django-jwt package
+License: MIT
+URL: https://github.com/KundaPanda/strawberry-django-jwt/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/22/c9/121cf8c031233877691562bafc5ba5c216aa561d07b15a7540f8daa257c2/strawberry-django-jwt-0.2.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-Django
+Requires: python3-Django
+Requires: python3-PyJWT
+Requires: python3-strawberry-graphql
+Requires: python3-strawberry-graphql-django
+Requires: python3-django-admin-display
+Requires: python3-packaging
+Requires: python3-importlib-metadata
+Requires: python3-uvicorn[standard]
+
+%description
+## Disclaimer
+This project is a forked version of [Django GraphQL JWT](https://github.com/flavors/django-graphql-jwt) that
+
+%package -n python3-strawberry-django-jwt
+Summary: Strawberry-graphql port of the graphene-django-jwt package
+Provides: python-strawberry-django-jwt
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-strawberry-django-jwt
+## Disclaimer
+This project is a forked version of [Django GraphQL JWT](https://github.com/flavors/django-graphql-jwt) that
+
+%package help
+Summary: Development documents and examples for strawberry-django-jwt
+Provides: python3-strawberry-django-jwt-doc
+%description help
+## Disclaimer
+This project is a forked version of [Django GraphQL JWT](https://github.com/flavors/django-graphql-jwt) that
+
+%prep
+%autosetup -n strawberry-django-jwt-0.2.3
+
+%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-strawberry-django-jwt -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..45996af
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+04943e7eab8db94071a5ddea8f8f4806 strawberry-django-jwt-0.2.3.tar.gz