mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-xarray
|
|
_pkgorig=xarray
|
|
pkgver=2023.4.2
|
|
pkgrel=1
|
|
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"
|
|
subpackages="$pkgname-pyc"
|
|
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="
|
|
581b06a677b80c0f7e494a80ae52d75bd62bf613b13b7b7215458ceef727fb55a898c8da8cc6f8a6875ef6898007897eea8be55fb138f1dacad42965bbf1d956 py3-xarray-2023.4.2.tar.gz
|
|
"
|