[100411] trunk/dports/python/py-cairo/Portfile

jmr at macports.org jmr at macports.org
Mon Dec 10 23:47:11 PST 2012


Revision: 100411
          https://trac.macports.org/changeset/100411
Author:   jmr at macports.org
Date:     2012-12-10 23:47:11 -0800 (Mon, 10 Dec 2012)
Log Message:
-----------
py-cairo: fix deps

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

Modified: trunk/dports/python/py-cairo/Portfile
===================================================================
--- trunk/dports/python/py-cairo/Portfile	2012-12-11 03:56:52 UTC (rev 100410)
+++ trunk/dports/python/py-cairo/Portfile	2012-12-11 07:47:11 UTC (rev 100411)
@@ -24,11 +24,7 @@
                         sha256  9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be
 
 python.versions         25 26 27 31 32 33
-python.default_version  27
 
-depends_build           port:pkgconfig
-depends_lib             path:lib/pkgconfig/cairo.pc:cairo
-
 # fixes ticket 37254; can remove when we drop py25-*gtk*
 subport py25-cairo {
     version             1.8.2
@@ -43,7 +39,8 @@
 }
 
 if {${name} != ${subport}} {
-    depends_build-append port:py${python.version}-numpy
+    depends_build           port:pkgconfig port:py${python.version}-numpy
+    depends_lib-append      path:lib/pkgconfig/cairo.pc:cairo
 
     # pycairo distributes python 2.x versions as py2cairo
     if {${python.version} < 31 && ${python.version} > 25} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121210/966c752c/attachment.html>


More information about the macports-changes mailing list