aboutsummaryrefslogtreecommitdiffstats
path: root/science/py-scikit-learn
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2015-04-04 22:08:45 +0800
committerdemon <demon@FreeBSD.org>2015-04-04 22:08:45 +0800
commitbbdc577ade662187151407f7ac19670d449c25ba (patch)
treefbd42faa01d10067f4fd85d066bb29fb3753f745 /science/py-scikit-learn
parent6bf6acbe29bf61ab5847aa782f152078676e31fd (diff)
downloadfreebsd-ports-gnome-bbdc577ade662187151407f7ac19670d449c25ba.tar.gz
freebsd-ports-gnome-bbdc577ade662187151407f7ac19670d449c25ba.tar.zst
freebsd-ports-gnome-bbdc577ade662187151407f7ac19670d449c25ba.zip
Update to version 0.16.0;
Inherit blas dependency from py-numpy.
Diffstat (limited to 'science/py-scikit-learn')
-rw-r--r--science/py-scikit-learn/Makefile26
-rw-r--r--science/py-scikit-learn/distinfo4
2 files changed, 7 insertions, 23 deletions
diff --git a/science/py-scikit-learn/Makefile b/science/py-scikit-learn/Makefile
index 50593a1ea481..c0b844360d20 100644
--- a/science/py-scikit-learn/Makefile
+++ b/science/py-scikit-learn/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= scikit-learn
-PORTVERSION= 0.15.2
+PORTVERSION= 0.16.0
CATEGORIES= science python
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR=source/s/scikit-learn
@@ -11,28 +11,12 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= demon@FreeBSD.org
COMMENT= Machine learning algorithms for python
-BUILD_DEPENDS= ${PYNUMPY}
-RUN_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}scipy>0.8.0:${PORTSDIR}/science/py-scipy
+BUILD_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_SITELIBDIR}/scipy/version.py:${PORTSDIR}/science/py-scipy
+RUN_DEPENDS= ${BUILD_DEPENDS}
USES= fortran python
USE_PYTHON= distutils autoplist
-OPTIONS_SINGLE= BLAS
-OPTIONS_SINGLE_BLAS= CBLAS ATLAS
-OPTIONS_DEFAULT= CBLAS
-CBLAS_DESC= Use math/cblas as BLAS library
-ATLAS_DESC= Use math/atlas as BLAS library
-
-CBLAS_LIB_DEPENDS= libcblas.so:${PORTSDIR}/math/cblas
-ATLAS_LIB_DEPENDS= libcblas.so:${PORTSDIR}/math/atlas
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MCBLAS}
-LDFLAGS+= -lblas
-.endif
-
-LATEST_LINK= py-${PORTNAME}
-
+LDFLAGS+= -shared
.include <bsd.port.mk>
diff --git a/science/py-scikit-learn/distinfo b/science/py-scikit-learn/distinfo
index 7af30ebb5077..13f26d4bbf86 100644
--- a/science/py-scikit-learn/distinfo
+++ b/science/py-scikit-learn/distinfo
@@ -1,2 +1,2 @@
-SHA256 (scikit-learn-0.15.2.tar.gz) = 1a8a881f6f13edc0ac58931ce21f899eb7920af50aa08802413d1239e2aa5fa6
-SIZE (scikit-learn-0.15.2.tar.gz) = 7007922
+SHA256 (scikit-learn-0.16.0.tar.gz) = 414fe417b6ff17235e40d955f94a6d48d107c104285e04f2d9a01eb4cac4d96c
+SIZE (scikit-learn-0.16.0.tar.gz) = 7264818