[101611] trunk/dports/python/py-par/Portfile
jmr at macports.org
jmr at macports.org
Mon Jan 14 17:28:52 PST 2013
Revision: 101611
https://trac.macports.org/changeset/101611
Author: jmr at macports.org
Date: 2013-01-14 17:28:52 -0800 (Mon, 14 Jan 2013)
Log Message:
-----------
py-par: use unified portgroup, set license
Modified Paths:
--------------
trunk/dports/python/py-par/Portfile
Modified: trunk/dports/python/py-par/Portfile
===================================================================
--- trunk/dports/python/py-par/Portfile 2013-01-15 01:06:02 UTC (rev 101610)
+++ trunk/dports/python/py-par/Portfile 2013-01-15 01:28:52 UTC (rev 101611)
@@ -1,23 +1,27 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-par
version 1.9.2
-categories python
+license GPL-2+
platforms darwin
maintainers nomaintainer
description Parallel Python
long_description Py-par provides bindings to a subset of the \
message passing interface standard MPI.
homepage http://datamining.anu.edu.au/~ole/pypar/
-master_sites ${homepage}
-distname pypar_1_9_2
+master_sites ${homepage} http://distfiles.macports.org/python/
+distname pypar_[string map {. _} ${version}]
extract.suffix .tgz
checksums md5 a21bf293f64ae4531ebcdb7be74b5415
-depends_lib port:lammpi \
- port:py24-numeric
+python.versions 24
-build.env CPPFLAGS=-I${prefix}/include/python2.4
+if {$subport != $name} {
+ depends_lib port:lammpi \
+ port:py${python.version}-numeric
+
+ build.env CPPFLAGS=-I${python.include}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130114/d7b368f8/attachment.html>
More information about the macports-changes
mailing list