aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2015-04-04 14:08:45 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2015-04-04 14:08:45 +0000
commit4682316005cbd6a8d03d06b7b6c87bffcdc7528a (patch)
treefbd42faa01d10067f4fd85d066bb29fb3753f745 /science
parent61dfdf5f50ca9e25446cfc18eb821001d9883fef (diff)
downloadports-4682316005cbd6a8d03d06b7b6c87bffcdc7528a.tar.gz
ports-4682316005cbd6a8d03d06b7b6c87bffcdc7528a.zip
Notes
Diffstat (limited to 'science')
-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