2013-09-21 00:48:30 +02:00
|
|
|
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
|
2012-10-19 14:24:00 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= scikit-learn
|
2014-07-16 13:53:12 +02:00
|
|
|
PORTVERSION= 0.15.0
|
2014-09-10 22:50:31 +02:00
|
|
|
PORTREVISION= 1
|
2012-10-19 14:24:00 +02:00
|
|
|
CATEGORIES= science python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
|
|
|
|
MASTER_SITE_SUBDIR=source/s/scikit-learn
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
|
|
|
COMMENT= Machine learning algorithms for python
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY}
|
2012-11-08 12:29:01 +01:00
|
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
2012-11-08 12:37:48 +01:00
|
|
|
${PYTHON_PKGNAMEPREFIX}scipy>0.8.0:${PORTSDIR}/science/py-scipy
|
2012-10-19 14:24:00 +02:00
|
|
|
|
2014-02-16 18:15:31 +01:00
|
|
|
USES= fortran
|
2014-02-18 09:30:53 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2012-10-19 14:24:00 +02:00
|
|
|
LATEST_LINK= py-${PORTNAME}
|
|
|
|
|
2013-11-05 12:59:47 +01:00
|
|
|
USE_PYTHON= yes
|
2012-10-19 14:24:00 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2013-11-05 13:37:28 +01:00
|
|
|
PYDISTUTILS_AUTOPLIST= yes
|
2012-10-19 14:24:00 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|