From 9ac1651a1edd6eaa5c4b0cbf7462a0c8270983e0 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 9 Mar 2023 11:23:04 +0000 Subject: automatic import of python-gcsfs --- .gitignore | 1 + python-gcsfs.spec | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 89 insertions(+) create mode 100644 python-gcsfs.spec create mode 100644 sources 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 - 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 -- cgit v1.2.3