Skip to content
Permalink
Browse files

update version, use full paths for each python version

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@68794 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
nerdling committed Jun 13, 2010
1 parent e38c059 commit 22c51988660542c735b97d0f2622d3464a91f7be
Showing with 13 additions and 13 deletions.
  1. +13 −13 devel/depot_tools/Portfile
@@ -4,7 +4,7 @@
PortSystem 1.0

name depot_tools
version 49028
version 49657
categories devel
maintainers snc openmaintainer
description Manages interaction with the Chromium development process
@@ -37,28 +37,28 @@ patch {
foreach script [glob ${worksrcpath}/*.py] {
reinplace s|/usr/bin/python|${prefix}/bin/python2.5|g ${script}
}
reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/drover
reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/gcl
reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/gclient
reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/hammer
reinplace s|exec\ python|exec ${prefix}/bin/python2.5|g ${worksrcpath}/drover
reinplace s|exec\ python|exec ${prefix}/bin/python2.5|g ${worksrcpath}/gcl
reinplace s|exec\ python|exec ${prefix}/bin/python2.5|g ${worksrcpath}/gclient
reinplace s|exec\ python|exec ${prefix}/bin/python2.5|g ${worksrcpath}/hammer
}
if {[variant_isset python26]} {
foreach script [glob ${worksrcpath}/*.py] {
reinplace s|/usr/bin/python|${prefix}/bin/python2.6|g ${script}
}
reinplace s|exec\ python|exec\ python2.6|g ${worksrcpath}/drover
reinplace s|exec\ python|exec\ python2.6|g ${worksrcpath}/gcl
reinplace s|exec\ python|exec\ python2.6|g ${worksrcpath}/gclient
reinplace s|exec\ python|exec\ python2.6|g ${worksrcpath}/hammer
reinplace s|exec\ python|exec ${prefix}/bin/python2.6|g ${worksrcpath}/drover
reinplace s|exec\ python|exec ${prefix}/bin/python2.6|g ${worksrcpath}/gcl
reinplace s|exec\ python|exec ${prefix}/bin/python2.6|g ${worksrcpath}/gclient
reinplace s|exec\ python|exec ${prefix}/bin/python2.6|g ${worksrcpath}/hammer
}
if {[variant_isset python27]} {
foreach script [glob ${worksrcpath}/*.py] {
reinplace s|/usr/bin/python|${prefix}/bin/python2.7|g ${script}
}
reinplace s|exec\ python|exec\ python2.7|g ${worksrcpath}/drover
reinplace s|exec\ python|exec\ python2.7|g ${worksrcpath}/gcl
reinplace s|exec\ python|exec\ python2.7|g ${worksrcpath}/gclient
reinplace s|exec\ python|exec\ python2.7|g ${worksrcpath}/hammer
reinplace s|exec\ python|exec\ ${prefix}/bin/python2.7|g ${worksrcpath}/drover
reinplace s|exec\ python|exec\ ${prefix}/bin/python2.7|g ${worksrcpath}/gcl
reinplace s|exec\ python|exec\ ${prefix}/bin/python2.7|g ${worksrcpath}/gclient
reinplace s|exec\ python|exec\ ${prefix}/bin/python2.7|g ${worksrcpath}/hammer
}
}

0 comments on commit 22c5198

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