summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 01:43:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 01:43:14 +0000
commit88b01c82d1484bb8b09dddfbae8a122a6f74dfcf (patch)
treefaff3b90774c2933d45e2a0e84858b732eae9c5e
parent23d4bf864b1924a12235a4f3e370532130c985e6 (diff)
automatic import of python-globus-sdk
-rw-r--r--.gitignore1
-rw-r--r--python-globus-sdk.spec79
-rw-r--r--sources1
3 files changed, 81 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6460bd8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/globus-sdk-3.18.0.tar.gz
diff --git a/python-globus-sdk.spec b/python-globus-sdk.spec
new file mode 100644
index 0000000..ca3daed
--- /dev/null
+++ b/python-globus-sdk.spec
@@ -0,0 +1,79 @@
+%global _empty_manifest_terminate_build 0
+Name: python-globus-sdk
+Version: 3.18.0
+Release: 1
+Summary: Globus SDK for Python
+License: Apache Software License
+URL: https://github.com/globus/globus-sdk-python
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/92/60/f85ca8f9440b9217385e5c08d6b2dd0425e41cf1922593e10a65e841bc23/globus-sdk-3.18.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-pyjwt[crypto]
+Requires: python3-cryptography
+Requires: python3-typing-extensions
+
+%description
+This SDK provides a convenient Pythonic interface to
+`Globus <https://www.globus.org>`_ APIs.
+
+%package -n python3-globus-sdk
+Summary: Globus SDK for Python
+Provides: python-globus-sdk
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-globus-sdk
+This SDK provides a convenient Pythonic interface to
+`Globus <https://www.globus.org>`_ APIs.
+
+%package help
+Summary: Development documents and examples for globus-sdk
+Provides: python3-globus-sdk-doc
+%description help
+This SDK provides a convenient Pythonic interface to
+`Globus <https://www.globus.org>`_ APIs.
+
+%prep
+%autosetup -n globus-sdk-3.18.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-globus-sdk -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 3.18.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f1808e4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+95a2eb1b200869b143eccc9cf8eddcd6 globus-sdk-3.18.0.tar.gz