[147656] trunk/dports/sysutils/duplicity/Portfile
raimue at macports.org
raimue at macports.org
Mon Apr 11 14:54:13 PDT 2016
Revision: 147656
https://trac.macports.org/changeset/147656
Author: raimue at macports.org
Date: 2016-04-11 14:54:13 -0700 (Mon, 11 Apr 2016)
Log Message:
-----------
sysutils/duplicity:
Ensure to use interpreter provided by python27 port
Modified Paths:
--------------
trunk/dports/sysutils/duplicity/Portfile
Modified: trunk/dports/sysutils/duplicity/Portfile
===================================================================
--- trunk/dports/sysutils/duplicity/Portfile 2016-04-11 21:16:46 UTC (rev 147655)
+++ trunk/dports/sysutils/duplicity/Portfile 2016-04-11 21:54:13 UTC (rev 147656)
@@ -8,6 +8,7 @@
categories sysutils
version 0.7.06
+revision 1
checksums rmd160 228988dd41664f18f1103b0e0c89ec17865c889a \
sha256 0075595edb894399cf00fae9154aae93a07eaadc031fede5df4cc595436c7f8c
@@ -33,6 +34,12 @@
python.default_version 27
+post-patch {
+ foreach f {duplicity rdiffdir} {
+ reinplace "s|^#!/usr/bin/env python2$|#!${python.bin}|" ${worksrcpath}/bin/$f
+ }
+}
+
build.args --librsync-dir=${prefix}
post-destroot {
xinstall -m 644 -W ${worksrcpath}/bin \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160411/e36ae204/attachment.html>
More information about the macports-changes
mailing list