freebsd-ports/science/py-scikit-learn/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

23 lines
522 B
Makefile

# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
PORTNAME= scikit-learn
PORTVERSION= 0.19.1
PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= demon@FreeBSD.org
COMMENT= Machine learning algorithms for python
BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_SITELIBDIR}/scipy/version.py:science/py-scipy@${PY_FLAVOR}
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= fortran python
USE_PYTHON= distutils autoplist
LDFLAGS+= -shared
.include <bsd.port.mk>