python3-scikit-learn: update to 0.24.2.
Also fix cross compilation, enable parallel builds and fix dependencies. Fixes #31976.
This commit is contained in:
parent
b332a465ee
commit
5fef3e7f84
|
@ -1,19 +1,25 @@
|
|||
# Template file for 'python3-scikit-learn'
|
||||
pkgname=python3-scikit-learn
|
||||
version=0.23.2
|
||||
version=0.24.2
|
||||
revision=1
|
||||
wrksrc="scikit-learn-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools python3-Cython python3-scipy python3-joblib"
|
||||
hostmakedepends="python3-setuptools python3-Cython python3-numpy python3-scipy"
|
||||
makedepends="python3-devel"
|
||||
depends="python3-numpy python3-scipy python3-joblib"
|
||||
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=26f56e0c5aac4811f5a90109c4eed0396ee196d8383608b9bf33129528e6fcfd
|
||||
nocross="build tries to run target executable on host"
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue