# Description: Limit the number of threads # URL: https://github.com/joblib/threadpoolctl # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: python3-build python3-installer name=python3-threadpoolctl version=3.5.0 release=1 source=(https://github.com/joblib/threadpoolctl/archive/$version/threadpoolctl-$version.tar.gz) build() { cd ${name#*-}-$version /usr/bin/pip3 install --isolate --root="$PKG" --ignore-installed --no-deps . find $PKG \( -iname "README*" -o \ -iname INSTALLER -o \ -iname REQUESTED -o \ -iname "LICENSE*" \) -delete chmod -R g-w $PKG }