From 88959ae83e0f2f52b3f292fb985d74a5d86479be Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sat, 10 Oct 2020 16:58:00 +0200 Subject: community/py3-joblib: stop shipping tests and vendoring loki and cloudpickle Resolves #12000 --- community/py3-joblib/APKBUILD | 9 +++++++-- 1 file 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 @@ # Maintainer: Bart Ribbers pkgname=py3-joblib pkgver=0.16.0 -pkgrel=0 +pkgrel=1 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" +depends="python3 py3-distributed py3-loki py3-cloudpickle" makedepends="py3-setuptools cython" checkdepends="py3-pytest py3-threadpoolctl" source="https://pypi.python.org/packages/source/j/joblib/joblib-$pkgver.tar.gz" @@ -27,6 +27,11 @@ check() { package() { python3 setup.py install --prefix=/usr --root="$pkgdir" + + # Remove tests and vendored dependencies + local _py3ver=$(python3 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))') + rm -r "$pkgdir"/usr/lib/python$_py3ver/site-packages/joblib/test + rm -r "$pkgdir"/usr/lib/python$_py3ver/site-packages/joblib/externals } sha512sums="d3784dc831bf9d658a38f84883a58773627f124cbc5b80ea94fc2e5fa4fe1a6950efc1be88711602d7394ef9ba66918b788fd1ae0f4254f2d61a2f9503a2d56e joblib-0.16.0.tar.gz" -- cgit v1.2.3