Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37852406
en ru br
ALT Linux repositórios
S:2022.01.0-alt1

Group :: Development/Python3
RPM: python3-module-fsspec

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1

%define oname fsspec

Name: python3-module-%oname
Version: 2022.01.0
Release: alt1
Summary: A specification that python filesystems should adhere to
License: BSD-3-Clause
Group: Development/Python3
Url: https://github.com/intake/filesystem_spec

BuildArch: noarch

# https://github.com/intake/filesystem_spec.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools
BuildRequires: pytest3 python3-module-numpy-testing

# not all optional dependencies are available

%add_python3_req_skip distributed.client distributed.worker dvc.repo panel pyarrow.hdfs pygit2 smbclient

%description
A specification for pythonic filesystems.

%prep
%setup

sed -i -e 's/\(^\s\+git_refnames = \).*$/\1"%version"/' %oname/_version.py

%build
%python3_build

%install
%python3_install

%check
export PYTHONDONTWRITEBYTECODE=1
export PYTEST_ADDOPTS='-p no:cacheprovider'
export PYTHONPATH=%buildroot%python3_sitelibdir
pytest-3 -v \
--deselect=fsspec/implementations/tests/test_dbfs.py::test_dbfs_file_listing \
--deselect=fsspec/implementations/tests/test_dbfs.py::test_dbfs_mkdir \
--deselect=fsspec/implementations/tests/test_dbfs.py::test_dbfs_write_and_read \
--deselect=fsspec/tests/test_spec.py::test_find \
%nil

%files
%doc LICENSE
%doc README.md
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-*-py3*.egg-info

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009