summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 07:21:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 07:21:23 +0000
commitde4c199cd600ff26180439c067ebb543d728422a (patch)
tree861c0a61d4a6d0212e6ea02e35f3d797933b2665
parentfdab568a7d144e6753b204f26b648864b886414e (diff)
automatic import of python-caluma
-rw-r--r--.gitignore1
-rw-r--r--python-caluma.spec96
-rw-r--r--sources1
3 files changed, 98 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..13cd38e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/caluma-8.0.0.tar.gz
diff --git a/python-caluma.spec b/python-caluma.spec
new file mode 100644
index 0000000..647c438
--- /dev/null
+++ b/python-caluma.spec
@@ -0,0 +1,96 @@
+%global _empty_manifest_terminate_build 0
+Name: python-caluma
+Version: 8.0.0
+Release: 1
+Summary: Caluma Service providing GraphQL API
+License: GPL-3.0-or-later
+URL: https://caluma.io
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d5/19/f869e05e5793cbe0b51140bf57c1c601c0b876072008279d41393ca4514c/caluma-8.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-Django
+Requires: python3-dateparser
+Requires: python3-django-cors-headers
+Requires: python3-django-environ
+Requires: python3-django-filter
+Requires: python3-django-localized-fields
+Requires: python3-django-postgres-extra
+Requires: python3-django-simple-history
+Requires: python3-django-watchman
+Requires: python3-djangorestframework
+Requires: python3-graphene-django
+Requires: python3-graphql-core
+Requires: python3-graphql-relay
+Requires: python3-idna
+Requires: python3-minio
+Requires: python3-psycopg2-binary
+Requires: python3-pyjexl
+Requires: python3-memcached
+Requires: python3-requests
+Requires: python3-uWSGI
+Requires: python3-urllib3
+
+%description
+- Contributing guide: [CONTRIBUTING.md](CONTRIBUTING.md)
+- Maintainer's Handbook: [MAINTAINING.md](MAINTAINING.md)
+
+%package -n python3-caluma
+Summary: Caluma Service providing GraphQL API
+Provides: python-caluma
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-caluma
+- Contributing guide: [CONTRIBUTING.md](CONTRIBUTING.md)
+- Maintainer's Handbook: [MAINTAINING.md](MAINTAINING.md)
+
+%package help
+Summary: Development documents and examples for caluma
+Provides: python3-caluma-doc
+%description help
+- Contributing guide: [CONTRIBUTING.md](CONTRIBUTING.md)
+- Maintainer's Handbook: [MAINTAINING.md](MAINTAINING.md)
+
+%prep
+%autosetup -n caluma-8.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-caluma -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 8.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4dafc01
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ef3023de8631c3efc56684b29864b9b7 caluma-8.0.0.tar.gz