diff options
-rw-r--r-- | community/py3-joblib/APKBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/community/py3-joblib/APKBUILD b/community/py3-joblib/APKBUILD index c1f19a04f5..80f0553f9f 100644 --- a/community/py3-joblib/APKBUILD +++ b/community/py3-joblib/APKBUILD | |||
@@ -2,12 +2,12 @@ | |||
2 | # Maintainer: Bart Ribbers <bribbers@disroot.org> | 2 | # Maintainer: Bart Ribbers <bribbers@disroot.org> |
3 | pkgname=py3-joblib | 3 | pkgname=py3-joblib |
4 | pkgver=0.16.0 | 4 | pkgver=0.16.0 |
5 | pkgrel=0 | 5 | pkgrel=1 |
6 | pkgdesc="Computing with Python functions" | 6 | pkgdesc="Computing with Python functions" |
7 | url="http://joblib.readthedocs.org/" | 7 | url="http://joblib.readthedocs.org/" |
8 | arch="noarch !mips !mips64 !s390x" # Blocked by py3-distributed | 8 | arch="noarch !mips !mips64 !s390x" # Blocked by py3-distributed |
9 | license="BSD-3-Clause" | 9 | license="BSD-3-Clause" |
10 | depends="python3 py3-distributed" | 10 | depends="python3 py3-distributed py3-loki py3-cloudpickle" |
11 | makedepends="py3-setuptools cython" | 11 | makedepends="py3-setuptools cython" |
12 | checkdepends="py3-pytest py3-threadpoolctl" | 12 | checkdepends="py3-pytest py3-threadpoolctl" |
13 | source="https://pypi.python.org/packages/source/j/joblib/joblib-$pkgver.tar.gz" | 13 | source="https://pypi.python.org/packages/source/j/joblib/joblib-$pkgver.tar.gz" |
@@ -27,6 +27,11 @@ check() { | |||
27 | 27 | ||
28 | package() { | 28 | package() { |
29 | python3 setup.py install --prefix=/usr --root="$pkgdir" | 29 | python3 setup.py install --prefix=/usr --root="$pkgdir" |
30 | |||
31 | # Remove tests and vendored dependencies | ||
32 | local _py3ver=$(python3 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))') | ||
33 | rm -r "$pkgdir"/usr/lib/python$_py3ver/site-packages/joblib/test | ||
34 | rm -r "$pkgdir"/usr/lib/python$_py3ver/site-packages/joblib/externals | ||
30 | } | 35 | } |
31 | 36 | ||
32 | sha512sums="d3784dc831bf9d658a38f84883a58773627f124cbc5b80ea94fc2e5fa4fe1a6950efc1be88711602d7394ef9ba66918b788fd1ae0f4254f2d61a2f9503a2d56e joblib-0.16.0.tar.gz" | 37 | sha512sums="d3784dc831bf9d658a38f84883a58773627f124cbc5b80ea94fc2e5fa4fe1a6950efc1be88711602d7394ef9ba66918b788fd1ae0f4254f2d61a2f9503a2d56e joblib-0.16.0.tar.gz" |