freebsd-ports/math/py-scikit-umfpack/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

32 lines
822 B
Makefile

# $FreeBSD$
PORTNAME= scikit-umfpack
DISTVERSION= 0.3.1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python interface to UMFPACK sparse direct solver
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
swig3.0:devel/swig30
LIB_DEPENDS= libblas.so:math/blas \
libcblas.so:math/cblas \
libumfpack.so:math/suitesparse
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils cython autoplist
BINARY_ALIAS= swig=swig3.0
post-extract: # workaround for https://github.com/scikit-umfpack/scikit-umfpack/issues/53
@truncate -s 0 ${WRKSRC}/README.rst
.include <bsd.port.mk>