freebsd-ports/science/py-scikit-learn/Makefile

37 lines
877 B
Makefile
Raw Normal View History

# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
PORTNAME= scikit-learn
2014-07-16 13:53:12 +02:00
PORTVERSION= 0.15.0
PORTREVISION= 1
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
USES= fortran
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
LATEST_LINK= py-${PORTNAME}
2013-11-05 12:59:47 +01:00
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
.include <bsd.port.mk>