[92998] trunk/dports/sysutils/createrepo/Portfile
afb at macports.org
afb at macports.org
Sun May 13 13:25:57 PDT 2012
Revision: 92998
https://trac.macports.org/changeset/92998
Author: afb at macports.org
Date: 2012-05-13 13:25:54 -0700 (Sun, 13 May 2012)
Log Message:
-----------
createrepo: upgrade to python25
Modified Paths:
--------------
trunk/dports/sysutils/createrepo/Portfile
Modified: trunk/dports/sysutils/createrepo/Portfile
===================================================================
--- trunk/dports/sysutils/createrepo/Portfile 2012-05-13 18:54:28 UTC (rev 92997)
+++ trunk/dports/sysutils/createrepo/Portfile 2012-05-13 20:25:54 UTC (rev 92998)
@@ -4,7 +4,7 @@
name createrepo
version 0.4.11
-revision 1
+revision 2
categories sysutils
platforms darwin
maintainers afb
@@ -22,21 +22,21 @@
patch-dumpMetadata.py patch-genpkgmetadata.py \
patch-readMetadata.py patch-modifyrepo.py
-depends_run port:python24 port:rpm port:py-libxml2 port:py-yum-metadata-parser
+depends_run port:python25 port:rpm port:py25-libxml2 port:py25-yum-metadata-parser
# this should be depends_test:
-depends_build port:py-checker
+depends_build port:py25-checker
post-patch {
reinplace "s|__PREFIX__|${prefix}|g" \
${worksrcpath}/bin/createrepo ${worksrcpath}/bin/modifyrepo
- reinplace "s|__PYTHON__|${prefix}/bin/python2.4|g" \
+ reinplace "s|__PYTHON__|${prefix}/bin/python2.5|g" \
${worksrcpath}/dumpMetadata.py ${worksrcpath}/genpkgmetadata.py \
${worksrcpath}/readMetadata.py ${worksrcpath}/modifyrepo.py
}
use_configure no
-build.args prefix=${prefix} PYTHON="${prefix}/bin/python2.4"
+build.args prefix=${prefix} PYTHON="${prefix}/bin/python2.5"
destroot.args prefix=${prefix} INSTALL="/usr/bin/install -p" INSTALL_MODULES="/usr/bin/install -m 755"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120513/c4fb6796/attachment.html>
More information about the macports-changes
mailing list