# Created by: Yuri Victorovich # $FreeBSD: head/science/py-scikit-sparse/Makefile 559094 2020-12-24 13:46:01Z kai $ PORTNAME= scikit-sparse DISTVERSION= 0.4.4 PORTREVISION= 3 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Sparse matrix package LICENSE= BSD2CLAUSE RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} BUILD_DEPENDS= ${RUN_DEPENDS} LIB_DEPENDS= libumfpack.so:math/suitesparse USES= fortran python:3.6+ USE_PYTHON= distutils cython autoplist CFLAGS+= -I${LOCALBASE}/include/suitesparse LDFLAGS+= -shared post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sksparse/cholmod*.so .include