diff --git a/science/py-scikit-learn/Makefile b/science/py-scikit-learn/Makefile index a4d4f51faacd..edf02f8e9ac1 100644 --- a/science/py-scikit-learn/Makefile +++ b/science/py-scikit-learn/Makefile @@ -1,35 +1,34 @@ PORTNAME= scikit-learn -DISTVERSION= 1.2.1 -PORTREVISION= 1 +DISTVERSION= 1.2.2 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} 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>0:devel/py-joblib@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.3.2:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}threadpoolctl>=0:devel/py-threadpoolctl@${PY_FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} USES= fortran python:3.8+ localbase USE_PYTHON= distutils autoplist cython POST_PLIST= fix-plist fix-plist: # https://github.com/scikit-learn/scikit-learn/issues/12681 @${REINPLACE_CMD} -e "s|lib/python.*/sklearn/datasets/tests/data/openml$$||" ${TMPPLIST} 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 2729176ebbdb..8340ae199ead 100644 --- a/science/py-scikit-learn/distinfo +++ b/science/py-scikit-learn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1676374758 -SHA256 (scikit-learn-1.2.1.tar.gz) = fbf8a5c893c9b4b99bcc7ed8fb3e8500957a113f4101860386d06635520f7cfb -SIZE (scikit-learn-1.2.1.tar.gz) = 7258517 +TIMESTAMP = 1678607956 +SHA256 (scikit-learn-1.2.2.tar.gz) = 8429aea30ec24e7a8c7ed8a3fa6213adf3814a6efbea09e16e0a0c71e1a1a3d7 +SIZE (scikit-learn-1.2.2.tar.gz) = 7269934