Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37841351
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-numcodecs

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define pypi_name numcodecs
%define mod_name %pypi_name

%def_with check

Name: python3-module-%pypi_name
Version: 0.11.0
Release: alt2
Summary: Buffer compression and transformation codecs for use
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/numcodecs/
Vcs: https://github.com/zarr-developers/numcodecs
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
Patch0: %name-%version-alt.patch
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
BuildRequires: libblosc-devel
BuildRequires: libzstd-devel
BuildRequires: liblz4-devel
%if_with check
%pyproject_builddeps_metadata_extra test
%pyproject_builddeps_metadata_extra msgpack
BuildRequires: python3-module-numpy-testing
%endif

%description
Numcodecs is a Python package providing buffer compression
and transformation codecs for use in data storage and communication applications.

%package tests
Summary: Tests for %pypi_name
Group: Development/Python3

%description tests
Numcodecs is a Python package providing buffer compression
and transformation codecs for use in data storage and communication applications.

This package contains tests for %pypi_name.

%prep
%setup
%autopatch -p1
%pyproject_scm_init
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata

%build
%pyproject_build

%install
%pyproject_install

%check
%pyproject_run -- \
   pytest --import-mode append -ra -o=addopts=-Wignore --pyargs %mod_name

%files
%doc README.rst
%python3_sitelibdir/%mod_name/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%exclude %python3_sitelibdir/%mod_name/tests/

%files tests
%python3_sitelibdir/%mod_name/tests/

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin