[35715] trunk/dports/python/py25-gsl/Portfile
jochen at macports.org
jochen at macports.org
Thu Apr 3 14:19:00 PDT 2008
Revision: 35715
http://trac.macosforge.org/projects/macports/changeset/35715
Author: jochen at macports.org
Date: 2008-04-03 14:18:59 -0700 (Thu, 03 Apr 2008)
Log Message:
-----------
follow GSL upgrade,
actually use python2.5
Modified Paths:
--------------
trunk/dports/python/py25-gsl/Portfile
Modified: trunk/dports/python/py25-gsl/Portfile
===================================================================
--- trunk/dports/python/py25-gsl/Portfile 2008-04-03 21:14:14 UTC (rev 35714)
+++ trunk/dports/python/py25-gsl/Portfile 2008-04-03 21:18:59 UTC (rev 35715)
@@ -6,6 +6,7 @@
name py25-gsl
version 0.9.1
+revision 1
categories python science
platforms darwin
maintainers openmaintainer jochen
@@ -19,30 +20,28 @@
distname pygsl-${version}
checksums md5 72323e678ae5473d4a7d9cfc04dcb568
-build.env CFLAGS="-I${prefix}/include/gsl -I${prefix}/include/python2.4 -I${prefix}/include" \
+build.env CFLAGS="-I${prefix}/include/gsl -I${prefix}/include/python2.5 -I${prefix}/include" \
LDFLAGS=-L${prefix}/lib
depends_build port:swig
+depends_lib port:gsl
pre-build {
- # Resolve GSL version issue (1.9 vs 1.10) by re-creating this file using swig
+ # Resolve GSL version issue (1.9 vs 1.10/1.11) by re-creating this file using swig
eval file delete [glob ${worksrcpath}/swig_src/gslwrap_wrap.c]
}
variant numarray conflicts numpy Numeric description "Use numarray as array-object" {
- depends_lib-append port:gsl \
- port:py25-numarray
+ depends_lib-append port:py25-numarray
build.args --array-object=numarray
}
variant Numeric conflicts numarray numpy description "Use Numeric as array-object" {
- depends_lib-append port:gsl \
- port:py25-numeric
+ depends_lib-append port:py25-numeric
build.args --array-object=Numeric
}
variant numpy conflicts numarray Numeric description "Use numpy as array-object" {
- depends_lib-append port:gsl \
- port:py25-numpy
+ depends_lib-append port:py25-numpy
build.args --array-object=numpy
}
if { ![variant_isset numarray] && ![variant_isset Numeric] && ![variant_isset numpy] } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080403/e0f100b1/attachment.html
More information about the macports-changes
mailing list