Skip to content
Permalink
Browse files

py-numpy/py25-numpy: allow both python24 and python25 version to be

installed together, ${prefix}/bin/f2py -> ${prefix}/bin}f2py{2.4,2.5}

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@37833 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
skymoo committed Jun 25, 2008
1 parent 2cfc1ec commit 2bc3c844a5d8b96c47182205091c49f1767bf3a1
Showing with 10 additions and 0 deletions.
  1. +5 −0 python/py-numpy/Portfile
  2. +5 −0 python/py25-numpy/Portfile
@@ -5,6 +5,7 @@ PortGroup python24 1.0

name py-numpy
version 1.1.0
revision 1
categories python
platforms darwin
maintainers ram openmaintainer
@@ -27,4 +28,8 @@ post-patch {
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
@@ -5,6 +5,7 @@ PortGroup python25 1.0

name py25-numpy
version 1.1.0
revision 1
categories python
platforms darwin
maintainers ram openmaintainer
@@ -28,4 +29,8 @@ post-patch {
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

0 comments on commit 2bc3c84

Please sign in to comment.
You can’t perform that action at this time.