aboutsummaryrefslogtreecommitdiff
path: root/community/py3-joblib/APKBUILD
blob: c1f19a04f551973c914a7924e37f7f1a373c9bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-joblib
pkgver=0.16.0
pkgrel=0
pkgdesc="Computing with Python functions"
url="http://joblib.readthedocs.org/"
arch="noarch !mips !mips64 !s390x" # Blocked by py3-distributed
license="BSD-3-Clause"
depends="python3 py3-distributed"
makedepends="py3-setuptools cython"
checkdepends="py3-pytest py3-threadpoolctl"
source="https://pypi.python.org/packages/source/j/joblib/joblib-$pkgver.tar.gz"
options="net" # Net access required for tests, https://github.com/joblib/joblib/issues/1084
case "$CARCH" in
	ppc64le) options="$options !check" # https://github.com/joblib/joblib/issues/1086
esac
builddir="$srcdir/joblib-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest joblib
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d3784dc831bf9d658a38f84883a58773627f124cbc5b80ea94fc2e5fa4fe1a6950efc1be88711602d7394ef9ba66918b788fd1ae0f4254f2d61a2f9503a2d56e  joblib-0.16.0.tar.gz"