aboutsummaryrefslogtreecommitdiff
path: root/science/py-scikit-learn
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2014-10-30 11:52:48 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2014-10-30 11:52:48 +0000
commitff009d430c6888f97098e5b108ca835bc169554e (patch)
tree6d64b2ec4b12e6831865c9df78ad81dd109de993 /science/py-scikit-learn
parent64978b2bbe02a9160e13433b99c185615b90f2c3 (diff)
downloadports-ff009d430c6888f97098e5b108ca835bc169554e.tar.gz
ports-ff009d430c6888f97098e5b108ca835bc169554e.zip
Notes
Diffstat (limited to 'science/py-scikit-learn')
-rw-r--r--science/py-scikit-learn/Makefile12
-rw-r--r--science/py-scikit-learn/distinfo4
2 files changed, 10 insertions, 6 deletions
diff --git a/science/py-scikit-learn/Makefile b/science/py-scikit-learn/Makefile
index b6b068647fcd..50593a1ea481 100644
--- a/science/py-scikit-learn/Makefile
+++ b/science/py-scikit-learn/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= scikit-learn
-PORTVERSION= 0.15.0
-PORTREVISION= 1
+PORTVERSION= 0.15.2
CATEGORIES= science python
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR=source/s/scikit-learn
@@ -17,6 +16,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>0.8.0:${PORTSDIR}/science/py-scipy
USES= fortran python
+USE_PYTHON= distutils autoplist
OPTIONS_SINGLE= BLAS
OPTIONS_SINGLE_BLAS= CBLAS ATLAS
@@ -27,8 +27,12 @@ ATLAS_DESC= Use math/atlas as BLAS library
CBLAS_LIB_DEPENDS= libcblas.so:${PORTSDIR}/math/cblas
ATLAS_LIB_DEPENDS= libcblas.so:${PORTSDIR}/math/atlas
-LATEST_LINK= py-${PORTNAME}
+.include <bsd.port.options.mk>
-USE_PYTHON= distutils autoplist
+.if ${PORT_OPTIONS:MCBLAS}
+LDFLAGS+= -lblas
+.endif
+
+LATEST_LINK= py-${PORTNAME}
.include <bsd.port.mk>
diff --git a/science/py-scikit-learn/distinfo b/science/py-scikit-learn/distinfo
index 4a0ca1ee5f74..7af30ebb5077 100644
--- a/science/py-scikit-learn/distinfo
+++ b/science/py-scikit-learn/distinfo
@@ -1,2 +1,2 @@
-SHA256 (scikit-learn-0.15.0.tar.gz) = 67ae5dbe5c1a28b469007708d65c59b0af192b2a9396c33d0b2629c6304e4596
-SIZE (scikit-learn-0.15.0.tar.gz) = 7026712
+SHA256 (scikit-learn-0.15.2.tar.gz) = 1a8a881f6f13edc0ac58931ce21f899eb7920af50aa08802413d1239e2aa5fa6
+SIZE (scikit-learn-0.15.2.tar.gz) = 7007922