git: 0bfc5b9e873c - main - science/py-scikit-learn: Add missing dependency joblib
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Aug 2022 19:35:12 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0bfc5b9e873c254b5d11b3133e0f0ef93cb7b100
commit 0bfc5b9e873c254b5d11b3133e0f0ef93cb7b100
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-09 19:20:12 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-09 19:35:07 +0000
science/py-scikit-learn: Add missing dependency joblib
Approved by: portmgr (unbreak)
---
science/py-scikit-learn/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/science/py-scikit-learn/Makefile b/science/py-scikit-learn/Makefile
index e6439ab9bd03..8bd5485c42cc 100644
--- a/science/py-scikit-learn/Makefile
+++ b/science/py-scikit-learn/Makefile
@@ -1,5 +1,6 @@
PORTNAME= scikit-learn
DISTVERSION= 1.1.2
+PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,8 +11,10 @@ COMMENT= Machine learning algorithms for python
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= ${PYNUMPY} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}joblib>0:devel/py-joblib@${PY_FLAVOR} \
+ ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>=1.3.2:science/py-scipy@${PY_FLAVOR}
+ # threadpoolctl should also be here
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= fortran python:3.7+ localbase