[88972] trunk/dports/python/py-dot/Portfile

phw at macports.org phw at macports.org
Sun Jan 15 09:02:10 PST 2012


Revision: 88972
          http://trac.macports.org/changeset/88972
Author:   phw at macports.org
Date:     2012-01-15 09:02:10 -0800 (Sun, 15 Jan 2012)
Log Message:
-----------
Fixed py-dot dependencies on different versions

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

Modified: trunk/dports/python/py-dot/Portfile
===================================================================
--- trunk/dports/python/py-dot/Portfile	2012-01-15 16:59:47 UTC (rev 88971)
+++ trunk/dports/python/py-dot/Portfile	2012-01-15 17:02:10 UTC (rev 88972)
@@ -22,9 +22,15 @@
 if { ${name} != ${subport} } {
     depends_run		bin:dot:graphviz
     patchfiles		patch-setup.py.diff
-    depends_lib-append	port:py-parsing
     
    post-patch {
        reinplace "s|@@DIRECTORY@@|share/doc/${subport}|g" ${worksrcpath}/setup.py
    }
+
+    if { ${python.version} == 24 } {
+    #Workaround until py-parsing is generalized
+    depends_lib-append	port:py-parsing
+    } else {
+    depends_lib-append	port:py${python.version}-parsing
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120115/159770b6/attachment.html>


More information about the macports-changes mailing list