mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 19:31:10 +02:00
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-distributed
|
|
pkgver=2.17.0
|
|
pkgrel=0
|
|
pkgdesc="A library for distributed computation"
|
|
url="https://distributed.dask.org/"
|
|
arch="noarch !mips !mips64 !s390x" # Blocked by py3-dask
|
|
license="BSD-3-Clause"
|
|
depends="python3"
|
|
depends="py3-dask py3-yaml py3-tornado py3-tblib py3-click py3-cloudpickle py3-msgpack py3-psutil py3-sortedcontainers py3-zict"
|
|
makedepends="py3-setuptools python3-dev linux-headers yaml-dev"
|
|
checkdepends="py3-pytest py3-pytest-asyncio py3-requests py3-paramiko py3-arrow py3-h5py py3-scipy py3-lz4 py3-jsonschema"
|
|
source="https://pypi.python.org/packages/source/d/distributed/distributed-$pkgver.tar.gz"
|
|
# Tests require ipv6 stack which might not always be available yet
|
|
# Net required for tests
|
|
options="!check"
|
|
builddir="$srcdir/distributed-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD/build/lib" pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="a46e8eca58f8c2e5f412188ad096f13a59333e64545830465d5d579c644209a2cc033a020613bf1d17ebb72ce504680f38bddaaae2f7708e2c83697a6a2b9f5c distributed-2.17.0.tar.gz"
|