xref: /mports/science/py-scikit-sparse/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	scikit-sparse
2DISTVERSION=	0.4.8
3CATEGORIES=	science python
4MASTER_SITES=	PYPI
5PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
7MAINTAINER=	ports@MidnightBSD.org
8COMMENT=	Sparse matrix package
9WWW=		https://github.com/scikit-sparse/scikit-sparse
10
11LICENSE=	bsd2
12LICENSE_FILE=	${WRKSRC}/LICENSE.txt
13
14BUILD_DEPENDS=	${RUN_DEPENDS}
15LIB_DEPENDS=	libumfpack.so:math/suitesparse-umfpack	\
16		libcholmod.so:math/suitesparse-cholmod
17RUN_DEPENDS=	${PYNUMPY} \
18		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
19
20USES=		fortran python
21USE_PYTHON=	distutils cython autoplist
22
23CFLAGS+=	-I${LOCALBASE}/include/suitesparse
24LDFLAGS+=	-shared
25
26post-install:
27	@${STRIP_CMD} ${FAKE_DESTDIR}${PYTHONPREFIX_SITELIBDIR}/sksparse/cholmod*.so
28
29.include <bsd.port.mk>
30

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026