summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 11:23:04 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 11:23:04 +0000
commit9ac1651a1edd6eaa5c4b0cbf7462a0c8270983e0 (patch)
tree726858a3c3fc5786675725c306686db30c12e13b
parent5dc3589e4c54e0a57654845638e78c76a5f76b1c (diff)
automatic import of python-gcsfs
-rw-r--r--.gitignore1
-rw-r--r--python-gcsfs.spec87
-rw-r--r--sources1
3 files changed, 89 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..148a5ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gcsfs-2023.3.0.tar.gz
diff --git a/python-gcsfs.spec b/python-gcsfs.spec
new file mode 100644
index 0000000..729a712
--- /dev/null
+++ b/python-gcsfs.spec
@@ -0,0 +1,87 @@
+%global _empty_manifest_terminate_build 0
+Name: python-gcsfs
+Version: 2023.3.0
+Release: 1
+Summary: Convenient Filesystem interface over GCS
+License: BSD
+URL: https://github.com/fsspec/gcsfs
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/68/cc/e5f79771b5c110db271da5c1656cee32525188be4a367f0f9fcb98cc5de9/gcsfs-2023.3.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-aiohttp
+Requires: python3-decorator
+Requires: python3-fsspec
+Requires: python3-google-auth
+Requires: python3-google-auth-oauthlib
+Requires: python3-google-cloud-storage
+Requires: python3-requests
+Requires: python3-crcmod
+Requires: python3-fusepy
+
+%description
+|Build Status| |Doc Status|
+Pythonic file-system for Google Cloud Storage
+For documentation, go to readthedocs_.
+
+%package -n python3-gcsfs
+Summary: Convenient Filesystem interface over GCS
+Provides: python-gcsfs
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-gcsfs
+|Build Status| |Doc Status|
+Pythonic file-system for Google Cloud Storage
+For documentation, go to readthedocs_.
+
+%package help
+Summary: Development documents and examples for gcsfs
+Provides: python3-gcsfs-doc
+%description help
+|Build Status| |Doc Status|
+Pythonic file-system for Google Cloud Storage
+For documentation, go to readthedocs_.
+
+%prep
+%autosetup -n gcsfs-2023.3.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-gcsfs -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2023.3.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..23ccc54
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f314e2f539d1bab0aead13a446883e70 gcsfs-2023.3.0.tar.gz