28 lines
939 B
Bash
28 lines
939 B
Bash
# Template file for 'python3-scikit-learn'
|
|
pkgname=python3-scikit-learn
|
|
version=1.3.0
|
|
revision=2
|
|
build_style=python3-pep517
|
|
hostmakedepends="python3-setuptools python3-Cython python3-numpy python3-scipy
|
|
python3-wheel"
|
|
makedepends="python3-devel libgomp-devel"
|
|
depends="python3-numpy python3-scipy python3-joblib python3-threadpoolctl"
|
|
short_desc="Python3 modules for machine learning and data mining"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://scikit-learn.org/"
|
|
distfiles="https://github.com/scikit-learn/scikit-learn/archive/${version}.tar.gz"
|
|
checksum=ead129f466a0859555ce4f41280ae06623ef3255efff0b1692c57f15e39767b5
|
|
make_check=no # tests don't work properly unless package is installed
|
|
|
|
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
|
|
}
|