[33234] trunk/dports/python/py25-scientific/Portfile
nox at macports.org
nox at macports.org
Mon Jan 21 19:16:44 PST 2008
Revision: 33234
http://trac.macosforge.org/projects/macports/changeset/33234
Author: nox at macports.org
Date: 2008-01-21 19:16:41 -0800 (Mon, 21 Jan 2008)
Log Message:
-----------
py25-scientific:
* Updated to 2.6.1.
* Linted.
* Added sha1 and rmd160 checksums.
* Changed post-patch stages into post-extract ones.
* Removed useless xinstall arguments.
* Python interpreter path is now hardcoded.
Modified Paths:
--------------
trunk/dports/python/py25-scientific/Portfile
Modified: trunk/dports/python/py25-scientific/Portfile
===================================================================
--- trunk/dports/python/py25-scientific/Portfile 2008-01-22 03:08:00 UTC (rev 33233)
+++ trunk/dports/python/py25-scientific/Portfile 2008-01-22 03:16:41 UTC (rev 33234)
@@ -1,11 +1,13 @@
# $Id$
PortSystem 1.0
+PortGroup python25 1.0
-PortGroup python25 1.0
name py25-scientific
-version 2.6
+version 2.6.1
+set branch [join [lrange [split ${version} .] 0 1] .]
categories python science
+platforms darwin
maintainers nomaintainer
description Scientific Python
@@ -14,10 +16,12 @@
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}
+master_sites http://sourcesup.cru.fr/frs/download.php/1034/
+distname ScientificPython-${branch}
-checksums md5 6ebd96fc8a4e015adab2c57826d52e9f
+checksums md5 6ebd96fc8a4e015adab2c57826d52e9f \
+ sha1 db5b0d369e8254130312553a13a70888537e637e \
+ rmd160 5c9e8cba2373d722854cfe57e270803d7ed2bf2a
depends_lib port:netcdf \
port:py25-numeric
@@ -27,18 +31,18 @@
NETCDF_PREFIX=${prefix}
platform macosx {
- post-patch {
+ post-extract {
copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py
}
}
platform puredarwin {
- post-patch {
+ post-extract {
copy -force ${filespath}/customize.py-puredarwin ${worksrcpath}/customize.py
}
}
-variant mpi {
+variant mpi description {Enable lammpi support} {
depends_lib-append port:lammpi
post-build {
@@ -49,11 +53,11 @@
reinplace "s|cfgDict\\\[\'LINK|#cfgDict\\\[\'LINK|g" \
${worksrcpath}/Src/MPI/compile.py
- system "cd ${worksrcpath}/Src/MPI && python2.5 compile.py"
+ system "cd ${worksrcpath}/Src/MPI && ${prefix}/bin/python2.5 compile.py"
}
post-destroot {
- xinstall -m 0755 -W ${worksrcpath}/Src/MPI mpipython ${destroot}${prefix}/bin
+ xinstall ${worksrcpath}/Src/MPI/mpipython ${destroot}${prefix}/bin
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080121/e41efe73/attachment.html
More information about the macports-changes
mailing list