aboutsummaryrefslogtreecommitdiffstats
path: root/science/py-scikit-learn/Makefile
blob: 9b721eb141ba4218fe03c6fcd5a9ad27735290d9 (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
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$

PORTNAME=   scikit-learn
PORTVERSION=    0.14.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}
LIB_DEPENDS=    libcblas.so:${PORTSDIR}/math/cblas
RUN_DEPENDS=    ${PYNUMPY} \
        ${PYTHON_PKGNAMEPREFIX}scipy>0.8.0:${PORTSDIR}/science/py-scipy

USE_FORTRAN=    yes
LATEST_LINK=    py-${PORTNAME}

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

NO_STAGE=   yes
.include <bsd.port.mk>