1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/py3-dask/APKBUILD
2021-07-16 12:00:22 +00:00

52 lines
1.2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-dask
pkgver=2021.7.0
pkgrel=0
pkgdesc="Parallel computing with task scheduling"
url="https://dask.org/"
arch="noarch !mips !mips64 !s390x" # Blocked by py3-partd
license="BSD-3-Clause"
depends="
py3-cloudpickle
py3-fsspec
py3-numpy
py3-pandas
py3-partd
py3-toolz
py3-yaml
python3
"
makedepends="py3-setuptools"
checkdepends="
py3-flaky
py3-pytest
py3-pytest-runner
"
source="https://pypi.python.org/packages/source/d/dask/dask-$pkgver.tar.gz"
builddir="$srcdir/dask-$pkgver"
case "$CARCH" in
# Python segfaults while running the tests
ppc64le) options="$options !check" ;;
esac
build() {
python3 setup.py build
}
check() {
# test_num_workers_config and test_interrupt are broken
# test_parquet.py requires not available packages
pytest \
-k 'not test_num_workers_config and not test_interrupt' \
--ignore=dask/dataframe/io/tests/test_parquet.py
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
3dbeefe08af6536f19a03ead69372dfa7a26eff66d768fa8e238341822136a2314fca0291694ad22bdfe3618a4ed6785d836ceb5cc4231f361d97f0cbba0edbf dask-2021.7.0.tar.gz
"