Blame python-fsspec.spec

634579f
# Avoid fsspec -> distributed -> dask -> fsspec dependency loop.
634579f
%bcond_without bootstrap
634579f
634579f
%global srcname fsspec
634579f
634579f
Name:           python-%{srcname}
22ced52
Version:        2021.8.1
22ced52
%global tag     2021.08.1
9165dcf
Release:        %autorelease
ed8863a
Summary:        Specification for Pythonic file system interfaces
634579f
634579f
License:        BSD
634579f
URL:            https://github.com/intake/filesystem_spec
71459a7
Source0:        %{url}/archive/%{tag}/%{srcname}-%{tag}.tar.gz
634579f
634579f
BuildArch:      noarch
634579f
634579f
BuildRequires:  python3-devel
634579f
BuildRequires:  python3dist(pytest)
9df0080
BuildRequires:  python3dist(pytest-vcr)
1e031c7
BuildRequires:  python3dist(aiohttp)
1e031c7
BuildRequires:  python3dist(cloudpickle)
634579f
%if %{without bootstrap}
634579f
BuildRequires:  python3dist(distributed)
634579f
%endif
634579f
# Won't work in a build since it requires the kernel module to be loaded.
634579f
#BuildRequires:  python3dist(fusepy)
22ced52
BuildRequires:  python3dist(jinja2)
1e031c7
BuildRequires:  python3dist(lz4)
22ced52
BuildRequires:  python3dist(notebook)
1e031c7
BuildRequires:  python3dist(pandas)
634579f
# Requires a running SSH server in a container.
634579f
#BuildRequires:  python3dist(paramiko)
22ced52
BuildRequires:  git-core python3dist(pygit2)
22ced52
BuildRequires:  python3dist(python-snappy)
1e031c7
BuildRequires:  python3dist(requests)
22ced52
# Requires a  running SMB server in a container.
22ced52
#BuildRequires:  python3dist(smbprotocol)
1e031c7
BuildRequires:  python3dist(zstandard)
634579f
ed8863a
%global _description %{expand:
634579f
Filesystem Spec is a project to unify various projects and classes to work with
634579f
remote filesystems and file-system-like abstractions using a standard pythonic
ed8863a
interface.}
ed8863a
ed8863a
%description %{_description}
634579f
634579f
634579f
%package -n     python3-%{srcname}
634579f
Summary:        %{summary}
634579f
ed8863a
%description -n python3-%{srcname} %{_description}
634579f
634579f
634579f
%prep
71459a7
%autosetup -n filesystem_spec-%{tag} -p1
634579f
634579f
634579f
%build
71459a7
%pyproject_wheel
71459a7
71459a7
71459a7
%generate_buildrequires
71459a7
%pyproject_buildrequires
634579f
634579f
634579f
%install
71459a7
%pyproject_install
71459a7
%pyproject_save_files %{srcname}
634579f
634579f
634579f
%check
9df0080
%{pytest} -vra -k 'not test_find'  # Doesn't have a vcr cassette.
634579f
634579f
71459a7
%files -n python3-%{srcname} -f %{pyproject_files}
634579f
%doc README.md
634579f
%license LICENSE
634579f
634579f
634579f
%changelog
9165dcf
%autochangelog