mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
66 lines
1.3 KiB
Text
66 lines
1.3 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-dask
|
|
pkgver=2022.11.1
|
|
pkgrel=0
|
|
pkgdesc="Parallel computing with task scheduling"
|
|
url="https://dask.org/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
py3-click
|
|
py3-cloudpickle
|
|
py3-fsspec
|
|
py3-numpy
|
|
py3-packaging
|
|
py3-pandas
|
|
py3-partd
|
|
py3-toolz
|
|
py3-yaml
|
|
python3
|
|
"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="
|
|
py3-flaky
|
|
py3-graphviz
|
|
py3-jinja2
|
|
py3-pytest
|
|
py3-pytest-runner
|
|
py3-pytest-xdist
|
|
py3-scipy
|
|
"
|
|
source="https://pypi.python.org/packages/source/d/dask/dask-$pkgver.tar.gz"
|
|
builddir="$srcdir/dask-$pkgver"
|
|
|
|
case "$CARCH" in
|
|
x86)
|
|
# assert sizeof(sp.todok()) >= 192
|
|
options="!check"
|
|
;;
|
|
esac
|
|
|
|
# secfixes:
|
|
# 2022.2.0-r0:
|
|
# - CVE-2021-42343
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
# dataframe ones fail due to deprecation warnings
|
|
# matches_ci fails on a missing workflow yaml file
|
|
# test_csv fails on s390x
|
|
pytest -n ${JOBS:-2} \
|
|
--ignore=dask/dataframe/tests/test_dataframe.py \
|
|
--ignore=dask/dataframe/io/tests/test_csv.py \
|
|
-k 'not test_development_guidelines_matches_ci'
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
48bf55763d0933512d45779a16f6b3a7e7c53b8d0351255b5edae82b53e0dce09bd0f5babb03a9ca2bb167501d2eeb6aafdb7079322110478f612eba6e3afc52 dask-2022.11.1.tar.gz
|
|
"
|