diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2009-07-13 09:44:48 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2009-07-13 09:44:48 +0000 |
commit | 76649be0b19b8582c5eb5a66210eefe04a4eee7f (patch) | |
tree | 261e57b92d6cadd67e481d7d0ff3c140dfae7d17 /science | |
parent | df22adb9b03e3bff281579c6399d3e809ccd086b (diff) |
* Fix build of science/py-scipy when math/suitesparse is installed, by
correctly detect and depend on it in math/py-numpy
* Replace the old numpy documentation with the new numpy book
* Explicitly tell the distutil to use gnu95 fortran compiler
* Use ${PYTHONPREFIX_SITELIBDIR} rather than ${PYTHON_SITELIBDIR} when
generating the packing list for science/py-scipy
* Bump PORTREVISIONs, for packing lists are changed
PR: ports/136058
Submitted by: Li-Lun Wang (Leland Wang) <llwang AT infor.org> (maintainer)
Notes
Notes:
svn path=/head/; revision=237679
Diffstat (limited to 'science')
-rw-r--r-- | science/py-scipy/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile index 3e1b4875daf1..b2c8e56e66a9 100644 --- a/science/py-scipy/Makefile +++ b/science/py-scipy/Makefile @@ -7,6 +7,7 @@ PORTNAME= scipy PORTVERSION= 0.7.0 +PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= SF PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -48,10 +49,18 @@ LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack \ blas.2:${PORTSDIR}/math/blas .endif +.if exists(${LOCALBASE}/lib/libumfpack.so.1) +BUILD_DEPENDS+= swig:${PORTSDIR}/devel/swig13 +LIB_DEPENDS+= umfpack.1:${PORTSDIR}/math/suitesparse +.endif + +PYDISTUTILS_CONFIGUREARGS+= --fcompiler=gnu95 +PYDISTUTILS_BUILDARGS+= --fcompiler=gnu95 + post-install: - @${FIND} ${PYTHON_SITELIBDIR}/scipy ! -type d | \ + @${FIND} ${PYTHONPREFIX_SITELIBDIR}/scipy ! -type d | \ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${PYTHON_SITELIBDIR}/scipy -type d | ${SORT} -r | \ + @${FIND} ${PYTHONPREFIX_SITELIBDIR}/scipy -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .include <bsd.port.post.mk> |