From 5b071dfaac4610cfd47d7ef5477432658191a082 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 25 Feb 2023 02:01:57 +0000 Subject: automatic import of python3-gcsfs --- .gitignore | 1 + python-gcsfs.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 88 insertions(+) create mode 100644 python-gcsfs.spec create mode 100644 sources 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 - 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 -- cgit v1.2.3