svn commit: r344840 - head/science/py-scikit-learn

Dmitry Sivachenko demon at FreeBSD.org
Tue Feb 18 08:30:54 UTC 2014


Author: demon
Date: Tue Feb 18 08:30:53 2014
New Revision: 344840
URL: http://svnweb.freebsd.org/changeset/ports/344840
QAT: https://qat.redports.org/buildarchive/r344840/

Log:
  Allow to choose between cblas and atlas ports.
  
  Submitted by:	glebius

Modified:
  head/science/py-scikit-learn/Makefile

Modified: head/science/py-scikit-learn/Makefile
==============================================================================
--- head/science/py-scikit-learn/Makefile	Tue Feb 18 08:30:23 2014	(r344839)
+++ head/science/py-scikit-learn/Makefile	Tue Feb 18 08:30:53 2014	(r344840)
@@ -12,11 +12,20 @@ MAINTAINER=	demon at FreeBSD.org
 COMMENT=	Machine learning algorithms for python
 
 BUILD_DEPENDS=	${PYNUMPY}
-LIB_DEPENDS=	libcblas.so:${PORTSDIR}/math/cblas
 RUN_DEPENDS=	${PYNUMPY} \
 		${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}
 
 USE_PYTHON=	yes


More information about the svn-ports-all mailing list