# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-xarray _pkgorig=xarray pkgver=2023.2.0 pkgrel=0 pkgdesc="N-D labeled arrays and datasets in Python" url="https://xarray.dev" arch="noarch !s390x" # assertionErrors license="Apache-2.0" depends="python3 py3-numpy py3-packaging py3-pandas" makedepends="python3-dev py3-setuptools_scm" checkdepends="py3-coverage py3-mock py3-pytest py3-pytest-cov" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/x/xarray/xarray-$pkgver.tar.gz" builddir="$srcdir/$_pkgorig-$pkgver" build() { python3 setup.py build } check() { python3 -m pytest -k 'not test_dataset and not test_distributed and not test_dataarray' } package() { python3 setup.py install --skip-build --root="$pkgdir" rm -r "$pkgdir"/usr/lib/python3.*/site-packages/xarray/tests } sha512sums=" 46b1e29e98a7c1bbe3275bc2fd39b0e5561319b4b9c6bf468c434880c9013c1dd9560b7281bd1b148ba8557cafe91ddf0ac56e5c038f1e995067ff1774162ab2 py3-xarray-2023.2.0.tar.gz "