forked from Lainports/freebsd-ports
* Fix build on i386 [1] * Fix science/code_saturne build with new openblas [2] * Avoid installing private headers [3] * Prevent build from optimizing for host by correcting build confg [4] * Bump portrevision of dependent ports [5] This is correcting issues from r523749 [1][2][4] and r515970 [3] PR: 231371 Reported by: build cluster [1] Reported by: Dima Pasechnik <dimpase+freebsd@gmail.com> [2] Reported by: many [5] Reviewed by: mat, bapt Approved by: implicit, since this is a build fix
29 lines
856 B
Makefile
29 lines
856 B
Makefile
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pysparse
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 10
|
|
CATEGORIES= math python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Fast sparse matrix library for Python
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2,1:math/py-numpy@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2,1:math/py-numpy@${PY_FLAVOR}
|
|
LIB_DEPENDS= libopenblas.so:math/openblas
|
|
|
|
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:2.7 # fortran is needed for the correct build flags passed to py-numpy extension build process
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
.include <bsd.port.mk>
|