aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-07-03 14:08:21 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-07-11 06:59:02 +0000
commit0f39191abbc56aee0965fb16d4cc915ab15cd654 (patch)
treec402704b0fb3dc1ff9b600ffbf649b7aab901416
parent2e1868897095af39e7278145c668e78321a250de (diff)
downloadaports-0f39191abbc56aee0965fb16d4cc915ab15cd654.tar.gz
aports-0f39191abbc56aee0965fb16d4cc915ab15cd654.tar.bz2
aports-0f39191abbc56aee0965fb16d4cc915ab15cd654.tar.xz
testing/py3-joblib: upgrade to 0.16.0
-rw-r--r--testing/py3-joblib/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/testing/py3-joblib/APKBUILD b/testing/py3-joblib/APKBUILD
index c2989323ab..c1f19a04f5 100644
--- a/testing/py3-joblib/APKBUILD
+++ b/testing/py3-joblib/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-joblib
-pkgver=0.15.1
+pkgver=0.16.0
pkgrel=0
pkgdesc="Computing with Python functions"
url="http://joblib.readthedocs.org/"
@@ -9,9 +9,12 @@ arch="noarch !mips !mips64 !s390x" # Blocked by py3-distributed
license="BSD-3-Clause"
depends="python3 py3-distributed"
makedepends="py3-setuptools cython"
-checkdepends="py3-pytest"
+checkdepends="py3-pytest py3-threadpoolctl"
source="https://pypi.python.org/packages/source/j/joblib/joblib-$pkgver.tar.gz"
-options="!check " # Tests broken
+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() {
@@ -19,11 +22,11 @@ build() {
}
check() {
- pytest
+ pytest joblib
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="6e64f9ab2db87b3d41873481f16c85ce2c7507a478a7e8700283ce445d876dd4b3493669afd574dc30ff951bad940f6c522ab4b36536a496bd54b326e942efe1 joblib-0.15.1.tar.gz"
+sha512sums="d3784dc831bf9d658a38f84883a58773627f124cbc5b80ea94fc2e5fa4fe1a6950efc1be88711602d7394ef9ba66918b788fd1ae0f4254f2d61a2f9503a2d56e joblib-0.16.0.tar.gz"