[99499] trunk/dports/python/py-urwid/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Nov 7 12:54:59 PST 2012


Revision: 99499
          http://trac.macports.org//changeset/99499
Author:   ryandesign at macports.org
Date:     2012-11-07 12:54:59 -0800 (Wed, 07 Nov 2012)
Log Message:
-----------
py-urwid: add py-distribute dependency for python 3 subports

Modified Paths:
--------------
    trunk/dports/python/py-urwid/Portfile

Modified: trunk/dports/python/py-urwid/Portfile
===================================================================
--- trunk/dports/python/py-urwid/Portfile	2012-11-07 20:49:07 UTC (rev 99498)
+++ trunk/dports/python/py-urwid/Portfile	2012-11-07 20:54:59 UTC (rev 99499)
@@ -25,6 +25,10 @@
 python.versions 24 25 26 27 31 32
 
 if {$subport != $name} {
+    if {[vercmp ${python.branch} 3.0] >= 0} {
+        depends_build-append port:py${python.version}-distribute
+    }
+    
     post-destroot {
         #xinstall -m 644 ${worksrcpath}/reference.html \
         #    ${destroot}${prefix}/share/doc/${subport}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121107/ebd56494/attachment.html>


More information about the macports-changes mailing list