e4b7b9118a
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some circumstances such as versions of FreeBSD or platforms), part II. The first part covered ports with USE_GCC=yes, USE_GCC=any, or one of gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang, c++11-lang, c++0x, c11 requested via USES=compiler. This adds ports with USES=fortran and ports using Mk/bsd.octave.mk which in turn has USES=fortran. PR: 214965 Reported by: thierry
32 lines
904 B
Makefile
32 lines
904 B
Makefile
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pysparse
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= math python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@rawbw.com
|
|
COMMENT= Fast sparse matrix library for Python
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2,1:math/py-numpy
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2,1: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>
|