summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-25 02:01:57 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-25 02:01:57 +0000
commit5b071dfaac4610cfd47d7ef5477432658191a082 (patch)
tree71bbaccdeb66ec08dc7642d33bd5ea6c8b025aba
parentd9ac62d0e5e517bbf6015e6d18e35faffd1da74d (diff)
automatic import of python3-gcsfsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-gcsfs.spec86
-rw-r--r--sources1
3 files changed, 88 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9e2a7c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gcsfs-2023.1.0.tar.gz
diff --git a/python-gcsfs.spec b/python-gcsfs.spec
new file mode 100644
index 0000000..c7e082c
--- /dev/null
+++ b/python-gcsfs.spec
@@ -0,0 +1,86 @@
+%global _empty_manifest_terminate_build 0
+Name: python-gcsfs
+Version: 2023.1.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/df/ab/94922b9e53224229f51ac1ecf52b8f61399ad213692131eeed06dda10be1/gcsfs-2023.1.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
+%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.1.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
+* Sat Feb 25 2023 Python_Bot <Python_Bot@openeuler.org> - 2023.1.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7b5ea5a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5a726848e0cd622907fc8024274933bd gcsfs-2023.1.0.tar.gz