diff --git a/science/py-scikit-learn/Makefile b/science/py-scikit-learn/Makefile index 2d7ab80aa4f1..810db17ffb2f 100644 --- a/science/py-scikit-learn/Makefile +++ b/science/py-scikit-learn/Makefile @@ -1,36 +1,36 @@ PORTNAME= scikit-learn -DISTVERSION= 1.7.2 +DISTVERSION= 1.8.0 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= scikit_learn-${DISTVERSION} MAINTAINER= wen@FreeBSD.org COMMENT= Machine learning algorithms for python WWW= https://scikit-learn.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}joblib>=1.3.0:devel/py-joblib@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.10.0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}threadpoolctl>=3.2.0:devel/py-threadpoolctl@${PY_FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}meson-python>=0.17.1:devel/meson-python@${PY_FLAVOR} USES= fortran python localbase shebangfix USE_PYTHON= autoplist cython pep517 pytest TEST_ARGS= sklearn TEST_WRKSRC= ${STAGEDIR}${PYTHON_SITELIBDIR} SHEBANG_FILES= sklearn/_build_utils/version.py post-install: # strip binaries @${STRIP_CMD} \ ${STAGEDIR}${PYTHON_SITELIBDIR}/sklearn/*.cpython*.so \ ${STAGEDIR}${PYTHON_SITELIBDIR}/sklearn/*/*.cpython*.so \ ${STAGEDIR}${PYTHON_SITELIBDIR}/sklearn/*/*/*.cpython*.so .include diff --git a/science/py-scikit-learn/distinfo b/science/py-scikit-learn/distinfo index 2f21dc52ebc2..43958a1e6660 100644 --- a/science/py-scikit-learn/distinfo +++ b/science/py-scikit-learn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1761685556 -SHA256 (scikit_learn-1.7.2.tar.gz) = 20e9e49ecd130598f1ca38a1d85090e1a600147b9c02fa6f15d69cb53d968fda -SIZE (scikit_learn-1.7.2.tar.gz) = 7193136 +TIMESTAMP = 1772326808 +SHA256 (scikit_learn-1.8.0.tar.gz) = 9bccbb3b40e3de10351f8f5068e105d0f4083b1a65fa07b6634fbc401a6287fd +SIZE (scikit_learn-1.8.0.tar.gz) = 7335585 diff --git a/science/py-scikit-learn/files/patch-pyproject.toml b/science/py-scikit-learn/files/patch-pyproject.toml index b29c5385b6ec..75816c8d0a59 100644 --- a/science/py-scikit-learn/files/patch-pyproject.toml +++ b/science/py-scikit-learn/files/patch-pyproject.toml @@ -1,13 +1,21 @@ ---- pyproject.toml.orig 2025-09-08 08:05:27 UTC +--- pyproject.toml.orig 2026-03-01 01:15:33 UTC +++ pyproject.toml -@@ -98,8 +98,8 @@ requires = [ - # Minimum requirements for the build system to execute. +@@ -13,8 +13,7 @@ requires-python = ">=3.11" + "threadpoolctl>=3.2.0", + ] + requires-python = ">=3.11" +-license = "BSD-3-Clause" +-license-files = ["COPYING"] ++license = {text="BSD-3-Clause"} + classifiers=[ + "Intended Audience :: Science/Research", + "Intended Audience :: Developers", +@@ -97,7 +96,7 @@ requires = [ requires = [ - "meson-python>=0.16.0,<0.19.0", -- "Cython>=3.0.10,<3.2.0", + "meson-python>=0.17.1,<0.19.0", + "cython>=3.1.2,<3.3.0", - "numpy>=2,<2.4.0", -+ "Cython>=3.0.10", + "numpy", - "scipy>=1.8.0,<1.17.0", + "scipy>=1.10.0,<1.17.0", ]