mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
67 lines
1.3 KiB
Plaintext
67 lines
1.3 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-distributed
|
|
pkgver=2023.4.1
|
|
pkgrel=0
|
|
pkgdesc="A library for distributed computation"
|
|
url="https://distributed.dask.org/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3"
|
|
depends="
|
|
py3-click
|
|
py3-cloudpickle
|
|
py3-dask
|
|
py3-jinja2
|
|
py3-locket
|
|
py3-msgpack
|
|
py3-psutil
|
|
py3-sortedcontainers
|
|
py3-tblib
|
|
py3-toolz
|
|
py3-tornado
|
|
py3-urllib3
|
|
py3-yaml
|
|
py3-zict
|
|
"
|
|
makedepends="
|
|
linux-headers
|
|
py3-python-versioneer
|
|
py3-setuptools
|
|
python3-dev
|
|
yaml-dev
|
|
"
|
|
checkdepends="
|
|
py3-arrow
|
|
py3-h5py
|
|
py3-jsonschema
|
|
py3-lz4
|
|
py3-paramiko
|
|
py3-pytest
|
|
py3-pytest-asyncio
|
|
py3-requests
|
|
py3-scipy
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://pypi.python.org/packages/source/d/distributed/distributed-$pkgver.tar.gz"
|
|
options="!check" # Failure with newer pytest than upstream uses
|
|
builddir="$srcdir/distributed-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD/build/lib" pytest \
|
|
--ignore distributed/comm/tests/test_comms.py \
|
|
--ignore distributed/tests/test_core.py
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
b646689ad97220a78fa7848f23113b1d361a2c14dc3a82324df907f00316d5aeb53f1ebfa715db0162f8d06410e3393a4e1ec895a890c650557b83592a639fb0 distributed-2023.4.1.tar.gz
|
|
"
|