[100380] trunk/dports/python/py-mpi4py/Portfile
jmr at macports.org
jmr at macports.org
Mon Dec 10 01:32:46 PST 2012
Revision: 100380
https://trac.macports.org/changeset/100380
Author: jmr at macports.org
Date: 2012-12-10 01:32:46 -0800 (Mon, 10 Dec 2012)
Log Message:
-----------
py-mpi4py: fix stub, set license
Modified Paths:
--------------
trunk/dports/python/py-mpi4py/Portfile
Modified: trunk/dports/python/py-mpi4py/Portfile
===================================================================
--- trunk/dports/python/py-mpi4py/Portfile 2012-12-10 09:29:24 UTC (rev 100379)
+++ trunk/dports/python/py-mpi4py/Portfile 2012-12-10 09:32:46 UTC (rev 100380)
@@ -7,7 +7,7 @@
name py-mpi4py
version 1.2.2
revision 2
-categories python
+license BSD
description MPI for Python - Python bindings for MPI
long_description \
MPI for Python (mpi4py) provides bindings of the Message Passing Interface \
@@ -32,24 +32,25 @@
platforms darwin
python.versions 25 26 27
-python.default_version 27
-depends_lib-append port:openmpi
-build.args-append "--mpicc=${prefix}/bin/openmpicc"
-
-# openmpi and mpich2 are not universal
-universal_variant no
-
-if { ${os.platform} != "darwin" || ${os.major} > 8 } {
-
- variant mpich2 description {builds with the mpich2 port} {
- build.args-delete "--mpicc=${prefix}/bin/openmpicc"
- depends_lib-delete port:openmpi
- depends_lib-append port:mpich2
+if {$subport != $name} {
+ depends_lib-append port:openmpi
+ build.args-append "--mpicc=${prefix}/bin/openmpicc"
+
+ # openmpi and mpich2 are not universal
+ universal_variant no
+
+ if { ${os.platform} != "darwin" || ${os.major} > 8 } {
+
+ variant mpich2 description {builds with the mpich2 port} {
+ build.args-delete "--mpicc=${prefix}/bin/openmpicc"
+ depends_lib-delete port:openmpi
+ depends_lib-append port:mpich2
+ }
+
}
-
+
+ variant interpreter description {builds an mpi enabled python interpreter} {
+ patchfiles-append patch-conf-mpidistutils.py.diff
+ }
}
-
-variant interpreter description {builds an mpi enabled python interpreter} {
- patchfiles-append patch-conf-mpidistutils.py.diff
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121210/048d4d26/attachment.html>
More information about the macports-changes
mailing list