SHA256
1
0
forked from pool/python-gcsfs

Accepting request 700455 from home:TheBlackCat:branches:devel:languages:python:jupyter

Filesystem interface over GCS

OBS-URL: https://build.opensuse.org/request/show/700455
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gcsfs?expand=0&rev=1
This commit is contained in:
Todd R 2019-05-03 16:59:52 +00:00 committed by Git OBS Bridge
commit e003dfb619
5 changed files with 128 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
gcsfs-0.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:060008814cad1ffd4baf5288e4666570236e624577601fc13ab100619704694c
size 51427

4
python-gcsfs.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu May 2 17:17:18 UTC 2019 - Todd R <toddrme2178@gmail.com>
- Initial version

97
python-gcsfs.spec Normal file
View File

@ -0,0 +1,97 @@
#
# spec file for package python-gcsfs
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-gcsfs
Version: 0.2.1
Release: 0
License: BSD-3-Clause
Summary: Filesystem interface over GCS
Url: https://github.com/dask/gcsfs
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/g/gcsfs/gcsfs-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
# SECTION test requirements
BuildRequires: %{python_module click}
BuildRequires: %{python_module decorator}
BuildRequires: %{python_module fusepy}
BuildRequires: %{python_module google-auth >= 1.2}
BuildRequires: %{python_module google-auth-oauthlib}
BuildRequires: %{python_module pandas}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module vcrpy}
BuildRequires: libfuse2
# /SECTION
BuildRequires: fdupes
Requires: python-decorator
Requires: python-google-auth >= 1.2
Requires: python-google-auth-oauthlib
Requires: python-requests
Recommends: python-gcsfs-fuse = %{version}
Recommends: dask
BuildArch: noarch
%python_subpackages
%description
File-system interface for Google Cloud Storage.
%package fuse
Summary: Filesystem interface over GCS - FUSE interface
Requires: libfuse2
Requires: python-click
Requires: python-fusepy
Requires: python-pandas
%description fuse
File-system interface for Google Cloud Storage.
This package provides the optional FUSE interface.
%prep
%setup -q -n gcsfs-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Tests require a network connection
# %%check
# %%python_expand pytest-%%{$python_bin_suffix} -vv -x gcsfs
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/gcsfs-%{version}-py*.egg-info
%{python_sitelib}/gcsfs/
%exclude %{python_sitelib}/gcsfs/cli/
%exclude %{python_sitelib}/gcsfs/gcsfuse.py*
%pycache_only %exclude %{python_sitelib}/gcsfs/__pycache__/gcsfuse*
%files %{python_files fuse}
%license LICENSE.txt
%python3_only %{_bindir}/gcsfuse
%{python_sitelib}/gcsfs/cli/
%{python_sitelib}/gcsfs/gcsfuse.py*
%pycache_only %{python_sitelib}/gcsfs/__pycache__/gcsfuse*
%changelog