aboutsummaryrefslogtreecommitdiffstats
path: root/science/py-scikit-learn/Makefile
blob: 2079784b96556ddcbeef025252b8ff998f6206e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$

PORTNAME=   scikit-learn
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}
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
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

.include <bsd.port.mk>