summaryrefslogtreecommitdiff
path: root/math/py-scipy/Makefile
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2010-06-06 02:37:08 +0000
committermarkd <markd@pkgsrc.org>2010-06-06 02:37:08 +0000
commit2d64fbe1b3d364cc75500ec3b8a8a6aab83cd4f5 (patch)
treef048b31c46547b8f6df45e0af8d557134bf1b525 /math/py-scipy/Makefile
parent848bb0789576cdc3a8404262d66c1201caf08c58 (diff)
downloadpkgsrc-2d64fbe1b3d364cc75500ec3b8a8a6aab83cd4f5.tar.gz
Update to scipy 0.7.2
SciPy 0.7.2 is a bug-fix release with no new features compared to 0.7.1. The only change is that all C sources from Cython code have been regenerated with Cython 0.12.1. This fixes the incompatibility between binaries of SciPy 0.7.1 and NumPy 1.4. SciPy 0.7.1 is a bug-fix release with no new features compared to 0.7.0.
Diffstat (limited to 'math/py-scipy/Makefile')
-rw-r--r--math/py-scipy/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/math/py-scipy/Makefile b/math/py-scipy/Makefile
index 5c6b2077793..5dd9aed3720 100644
--- a/math/py-scipy/Makefile
+++ b/math/py-scipy/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2010/02/21 15:13:42 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2010/06/06 02:37:08 markd Exp $
-DISTNAME= scipy-0.7.0
-PKGNAME= ${PYPKGPREFIX}-scipy-0.7.0
-PKGREVISION= 1
+DISTNAME= scipy-0.7.2
+PKGNAME= ${PYPKGPREFIX}-scipy-0.7.2
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scipy/}
@@ -18,6 +17,17 @@ PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
USE_LANGUAGES+= c c++ fortran
MAKE_ENV+= ATLAS=None
+# XXX Avoid picking up other compilers when installed
+.include "../../mk/compiler.mk"
+
+.if defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mg95)
+PYSETUPBUILDARGS+= --fcompiler=g95
+.elif defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mgfortran)
+PYSETUPBUILDARGS+= --fcompiler=gnu95
+.else
+BROKEN= Requires fortran 95
+.endif
+
.include "../../lang/python/extension.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"