[33233] trunk/dports/python/py25-scientific/Portfile
nox at macports.org
nox at macports.org
Mon Jan 21 19:08:04 PST 2008
Revision: 33233
http://trac.macosforge.org/projects/macports/changeset/33233
Author: nox at macports.org
Date: 2008-01-21 19:08:00 -0800 (Mon, 21 Jan 2008)
Log Message:
-----------
py25-scientific:
* Whitespace changes.
* Fixed livecheck.
* Changed homepage.
Modified Paths:
--------------
trunk/dports/python/py25-scientific/Portfile
Modified: trunk/dports/python/py25-scientific/Portfile
===================================================================
--- trunk/dports/python/py25-scientific/Portfile 2008-01-22 02:53:14 UTC (rev 33232)
+++ trunk/dports/python/py25-scientific/Portfile 2008-01-22 03:08:00 UTC (rev 33233)
@@ -1,52 +1,62 @@
# $Id$
-PortSystem 1.0
-PortGroup python25 1.0
-name py25-scientific
-version 2.6
-categories python science
-maintainers nomaintainer
-description Scientific Python
-long_description ScientificPython is a collection of Python modules that \
- are useful for scientific computing.
-homepage http://dirac.cnrs-orleans.fr/plone/software/scientificpython/
-master_sites http://sourcesup.cru.fr/frs/download.php/1034
-distname ScientificPython-${version}
-checksums md5 6ebd96fc8a4e015adab2c57826d52e9f
+PortSystem 1.0
-depends_lib port:netcdf \
- port:py25-numeric
+PortGroup python25 1.0
+name py25-scientific
+version 2.6
+categories python science
+maintainers nomaintainer
+description Scientific Python
+long_description \
+ ScientificPython is a collection of Python modules that \
+ are useful for scientific computing.
+
+homepage http://dirac.cnrs-orleans.fr/ScientificPython/
+master_sites http://sourcesup.cru.fr/frs/download.php/1034
+distname ScientificPython-${version}
+
+checksums md5 6ebd96fc8a4e015adab2c57826d52e9f
+
+depends_lib port:netcdf \
+ port:py25-numeric
+
+build.env CPPFLAGS="-I${prefix}/include/python2.5 \
+ -I${worksrcpath}/Include" \
+ NETCDF_PREFIX=${prefix}
+
platform macosx {
- post-patch {
- copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py
- }
+ post-patch {
+ copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py
+ }
}
platform puredarwin {
- post-patch {
- copy -force ${filespath}/customize.py-puredarwin ${worksrcpath}/customize.py
- }
+ post-patch {
+ copy -force ${filespath}/customize.py-puredarwin ${worksrcpath}/customize.py
+ }
}
-build.env CPPFLAGS="-I${prefix}/include/python2.5 \
- -I${worksrcpath}/Include" \
- NETCDF_PREFIX=${prefix}
+variant mpi {
+ depends_lib-append port:lammpi
-variant mpi {
- depends_lib-append port:lammpi
-
- post-build {
- reinplace "s|%s %s -o mpipython|${prefix}/bin/%s -o mpipython -I${prefix}/include/python2.5 -I${worksrcpath}/Include|g" \
+ post-build {
+ reinplace "s|%s %s -o mpipython|${prefix}/bin/%s -o mpipython -I${prefix}/include/python2.5 -I${worksrcpath}/Include|g" \
${worksrcpath}/Src/MPI/compile.py
- reinplace "s|-L%s -lpython%s|-L/Library/Frameworks/Python.framework/Versions/2.5/lib -L%s -lpython.%s|g" \
+ reinplace "s|-L%s -lpython%s|-L/Library/Frameworks/Python.framework/Versions/2.5/lib -L%s -lpython.%s|g" \
${worksrcpath}/Src/MPI/compile.py
- reinplace "s|cfgDict\\\[\'LINK|#cfgDict\\\[\'LINK|g" \
+ reinplace "s|cfgDict\\\[\'LINK|#cfgDict\\\[\'LINK|g" \
${worksrcpath}/Src/MPI/compile.py
- system "cd ${worksrcpath}/Src/MPI && python2.5 compile.py"
- }
- post-destroot {
- xinstall -m 0755 -W ${worksrcpath}/Src/MPI mpipython ${destroot}${prefix}/bin
- }
+ system "cd ${worksrcpath}/Src/MPI && python2.5 compile.py"
+ }
+
+ post-destroot {
+ xinstall -m 0755 -W ${worksrcpath}/Src/MPI mpipython ${destroot}${prefix}/bin
+ }
}
+
+livecheck.check regex
+livecheck.url http://sourcesup.cru.fr/projects/scientific-py/
+livecheck.regex {<td>(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080121/43ea42af/attachment.html
More information about the macports-changes
mailing list