python3-scikit-learn: update to 1.5.0.
This commit is contained in:
parent
402caf3e5a
commit
69bdafeeb9
2 changed files with 7 additions and 24 deletions
|
@ -1,11 +0,0 @@
|
||||||
--- a/pyproject.toml
|
|
||||||
+++ b/pyproject.toml
|
|
||||||
@@ -9,7 +9,7 @@
|
|
||||||
# wheels on PyPI
|
|
||||||
#
|
|
||||||
# see: https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg
|
|
||||||
- "oldest-supported-numpy; python_version!='3.10' or platform_system!='Windows' or platform_python_implementation=='PyPy'",
|
|
||||||
+ "numpy>=1.23.2; python_version!='3.10' or platform_system!='Windows' or platform_python_implementation=='PyPy'",
|
|
||||||
# For CPython 3.10 under Windows, SciPy requires NumPy 1.22.3 while the
|
|
||||||
# oldest supported NumPy is defined as 1.21.6. We therefore need to force
|
|
||||||
# it for this specific configuration. For details, see
|
|
|
@ -1,27 +1,21 @@
|
||||||
# Template file for 'python3-scikit-learn'
|
# Template file for 'python3-scikit-learn'
|
||||||
pkgname=python3-scikit-learn
|
pkgname=python3-scikit-learn
|
||||||
version=1.3.0
|
version=1.5.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=python3-pep517
|
build_style=python3-pep517
|
||||||
hostmakedepends="python3-setuptools python3-Cython python3-numpy python3-scipy
|
build_helper="numpy meson"
|
||||||
python3-wheel"
|
hostmakedepends="python3-Cython python3-numpy python3-scipy
|
||||||
makedepends="python3-devel libgomp-devel"
|
python3-meson-python pkg-config"
|
||||||
|
makedepends="python3-devel python3-numpy libgomp-devel"
|
||||||
depends="python3-numpy python3-scipy python3-joblib python3-threadpoolctl"
|
depends="python3-numpy python3-scipy python3-joblib python3-threadpoolctl"
|
||||||
short_desc="Python3 modules for machine learning and data mining"
|
short_desc="Python3 modules for machine learning and data mining"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://scikit-learn.org/"
|
homepage="https://scikit-learn.org/"
|
||||||
distfiles="https://github.com/scikit-learn/scikit-learn/archive/${version}.tar.gz"
|
distfiles="https://github.com/scikit-learn/scikit-learn/archive/${version}.tar.gz"
|
||||||
checksum=ead129f466a0859555ce4f41280ae06623ef3255efff0b1692c57f15e39767b5
|
checksum=cd2aac2b566c7e740d34aabb4737864c74ba33c29aad7101fbf1bab2931c02dc
|
||||||
make_check=no # tests don't work properly unless package is installed
|
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() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue