View | Details | Raw Unified | Return to bug 257400 | Differences between
and this patch

Collapse All | Expand All

(-)b/science/py-scipy/Makefile (-3 / +6 lines)
Lines 21-28 BUILD_DEPENDS= ${PYNUMPY} \ Link Here
21
		${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}pythran>=0:devel/py-pythran@${PY_FLAVOR}
23
		${PYTHON_PKGNAMEPREFIX}pythran>=0:devel/py-pythran@${PY_FLAVOR}
24
LIB_DEPENDS=	libblas.so:math/blas \
25
		libopenblas.so:math/openblas
26
RUN_DEPENDS=	${PYNUMPY}
24
RUN_DEPENDS=	${PYNUMPY}
27
25
28
USES=		compiler:c++14-lang cpe fortran python:3.8-3.10 shebangfix
26
USES=		compiler:c++14-lang cpe fortran python:3.8-3.10 shebangfix
Lines 36-42 PYDISTUTILS_CONFIGUREARGS= --fcompiler=gnu95 Link Here
36
PORTDOCS=	scipy-ref-${PORTVERSION}.pdf
34
PORTDOCS=	scipy-ref-${PORTVERSION}.pdf
37
35
38
OPTIONS_DEFINE=	DOCS
36
OPTIONS_DEFINE=	DOCS
39
37
OPTIONS_DEFAULT= OPENBLAS
38
OPTIONS_SINGLE=		BLASLIB
39
OPTIONS_SINGLE_BLASLIB=	ATLAS OPENBLAS
40
ATLAS_USES=		blaslapack:atlas
41
OPENBLAS_LIB_DEPENDS=   libblas.so:math/blas \
42
			libopenblas.so:math/openblas
40
post-install:
43
post-install:
41
	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/scipy/ -name '*.so' | ${XARGS} ${STRIP_CMD}
44
	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/scipy/ -name '*.so' | ${XARGS} ${STRIP_CMD}
42
45

Return to bug 257400