ba485b72fe
PR: 210595 Submitted by: yuri@rawbw.com PySparse extends the Python interpreter by a set of sparse matrix types holding double precision values. PySparse also includes modules that implement: - iterative methods for solving linear systems of equations - a set of standard preconditioners - an interface to a direct solver for sparse linear systems of equations (SuperLU) - a Jacobi-Davidson eigenvalue solver for the symmetric, generalised matrix eigenvalue problem (JDSYM) https://github.com/PythonOptimizers/pysparse
32 lines
925 B
Makefile
32 lines
925 B
Makefile
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pysparse
|
|
PORTVERSION= 1.3
|
|
CATEGORIES= math python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-dev
|
|
|
|
MAINTAINER= yuri@rawbw.com
|
|
COMMENT= Fast sparse matrix library for Python
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2:math/py-numpy
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2:math/py-numpy
|
|
LIB_DEPENDS= liblapack.so:math/lapack \
|
|
libblas.so:math/blas \
|
|
libopenblas.so:math/openblas \
|
|
libcblas.so:math/cblas
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= PythonOptimizers
|
|
GH_TAGNAME= f8430bd
|
|
|
|
LDFLAGS+= -shared # Workaround for an obscure bug in py-numpy, see https://github.com/numpy/numpy/issues/7779
|
|
|
|
USES= fortran python # fortran is needed for the correct build flags passed to py-numpy extension build process
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
.include <bsd.port.mk>
|