[37833] trunk/dports/python

ram at macports.org ram at macports.org
Tue Jun 24 22:00:48 PDT 2008


Revision: 37833
          http://trac.macosforge.org/projects/macports/changeset/37833
Author:   ram at macports.org
Date:     2008-06-24 22:00:48 -0700 (Tue, 24 Jun 2008)
Log Message:
-----------
py-numpy/py25-numpy: allow both python24 and python25 version to be
installed together, ${prefix}/bin/f2py -> ${prefix}/bin}f2py{2.4,2.5}

Modified Paths:
--------------
    trunk/dports/python/py-numpy/Portfile
    trunk/dports/python/py25-numpy/Portfile

Modified: trunk/dports/python/py-numpy/Portfile
===================================================================
--- trunk/dports/python/py-numpy/Portfile	2008-06-25 03:08:21 UTC (rev 37832)
+++ trunk/dports/python/py-numpy/Portfile	2008-06-25 05:00:48 UTC (rev 37833)
@@ -5,6 +5,7 @@
 
 name                    py-numpy
 version                 1.1.0
+revision                1
 categories              python
 platforms               darwin
 maintainers             ram openmaintainer
@@ -27,4 +28,8 @@
   reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/numpy/distutils/fcompiler/g95.py
 }
 
+post-destroot {
+  move ${destroot}${prefix}/bin/f2py ${destroot}${prefix}/bin/f2py2.4
+}
+
 livecheck.distname      NumPy

Modified: trunk/dports/python/py25-numpy/Portfile
===================================================================
--- trunk/dports/python/py25-numpy/Portfile	2008-06-25 03:08:21 UTC (rev 37832)
+++ trunk/dports/python/py25-numpy/Portfile	2008-06-25 05:00:48 UTC (rev 37833)
@@ -5,6 +5,7 @@
 
 name                    py25-numpy
 version                 1.1.0
+revision                1
 categories              python
 platforms               darwin
 maintainers             ram openmaintainer
@@ -28,4 +29,8 @@
   reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/numpy/distutils/fcompiler/g95.py
 }
 
+post-destroot {
+  move ${destroot}${prefix}/bin/f2py ${destroot}${prefix}/bin/f2py2.5
+}
+
 livecheck.distname      NumPy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080624/3fb85caf/attachment.htm 


More information about the macports-changes mailing list