void-packages/srcpkgs/python3-scikit-learn/template

27 lines
875 B
Bash

# Template file for 'python3-scikit-learn'
pkgname=python3-scikit-learn
version=0.24.2
revision=1
wrksrc="scikit-learn-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython python3-numpy python3-scipy"
makedepends="python3-devel"
depends="python3-numpy python3-scipy python3-joblib python3-threadpoolctl"
short_desc="Python3 modules for machine learning and data mining"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://scikit-learn.org/"
distfiles="https://github.com/scikit-learn/scikit-learn/archive/${version}.tar.gz"
checksum=642fb016bfe4bb7539ba6bf4e6dd5a95d2d25638387040b0f5eefdb84a840297
export SKLEARN_BUILD_PARALLEL="${XBPS_MAKEJOBS}"
if [ "$CROSS_BUILD" ]; then
# Without this, setup.py tries to run a target executable
export PYTHON_CROSSENV=1
fi
post_install() {
vlicense COPYING
}