[55562] trunk/dports/sysutils/duplicity/Portfile
singingwolfboy at macports.org
singingwolfboy at macports.org
Thu Aug 13 05:24:10 PDT 2009
Revision: 55562
http://trac.macports.org/changeset/55562
Author: singingwolfboy at macports.org
Date: 2009-08-13 05:24:10 -0700 (Thu, 13 Aug 2009)
Log Message:
-----------
Added python26 variant
Modified Paths:
--------------
trunk/dports/sysutils/duplicity/Portfile
Modified: trunk/dports/sysutils/duplicity/Portfile
===================================================================
--- trunk/dports/sysutils/duplicity/Portfile 2009-08-13 12:23:04 UTC (rev 55561)
+++ trunk/dports/sysutils/duplicity/Portfile 2009-08-13 12:24:10 UTC (rev 55562)
@@ -38,6 +38,26 @@
universal_variant no
+variant python26 description {use Python 2.6} {
+ depends_lib-delete port:python25
+ depends_lib-append port:python26
+ depends_run-delete port:py25-gnupg port:py25-boto
+ depends_run-append port:py26-gnupg port:py26-boto
+
+ # apparently, all of these need to be reset.
+ set python.branch 2.6
+ set python.bin ${prefix}/bin/python${python.branch}
+ set python.lib ${prefix}/lib/libpython${python.branch}.dylib
+ set python.libdir ${prefix}/lib/python${python.branch}
+ set python.pkgd ${prefix}/lib/python${python.branch}/site-packages
+ set python.include ${prefix}/include/python${python.branch}
+
+ build.cmd ${python.bin} setup.py --no-user-cfg
+ destroot.cmd ${python.bin} setup.py --no-user-cfg
+
+ build.cmd-append --librsync-dir=${prefix}
+}
+
livecheck.check regex
livecheck.url ${homepage}
livecheck.regex {The current (?:stable )?release is (\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090813/323e6f48/attachment.html>
More information about the macports-changes
mailing list