[127450] trunk/dports/gnome/gtk-doc/Portfile

devans at macports.org devans at macports.org
Tue Oct 28 09:09:28 PDT 2014


Revision: 127450
          https://trac.macports.org/changeset/127450
Author:   devans at macports.org
Date:     2014-10-28 09:09:28 -0700 (Tue, 28 Oct 2014)
Log Message:
-----------
gtk-doc: drop python variants, use python27.

Modified Paths:
--------------
    trunk/dports/gnome/gtk-doc/Portfile

Modified: trunk/dports/gnome/gtk-doc/Portfile
===================================================================
--- trunk/dports/gnome/gtk-doc/Portfile	2014-10-28 16:01:09 UTC (rev 127449)
+++ trunk/dports/gnome/gtk-doc/Portfile	2014-10-28 16:09:28 UTC (rev 127450)
@@ -5,6 +5,7 @@
 
 name                gtk-doc
 version             1.21
+revision            1
 categories          gnome devel
 license             GPL-2+
 installs_libs       no
@@ -29,11 +30,10 @@
 depends_build       port:pkgconfig \
                     path:lib/pkgconfig/glib-2.0.pc:glib2
 
-# vim is used by some scripts for source highlighting and OS X /usr/bin/vim doesn't always work (#44546)
-
 depends_lib         port:libxml2 \
                     port:libxslt \
                     port:perl5.16 \
+                    port:python27 \
                     port:openjade \
                     port:fop \
                     port:docbook-xml \
@@ -41,34 +41,14 @@
                     port:itstool \
                     port:source-highlight
 
+depends_run         port:py27-libxml2
+
 configure.perl      ${prefix}/bin/perl5.16
+configure.python    ${prefix}/bin/python2.7
 configure.env-append XSLTPROC=${prefix}/bin/xsltproc
 configure.args      --with-xml-catalog=${prefix}/etc/xml/catalog \
                     --with-highlight=source-highlight
 
 # TODO Enable test support.
 
-variant python25 conflicts python26 python27 description {Use python 2.5} {
-    depends_lib-append      port:python25
-    depends_run-append      port:py25-libxml2
-    configure.python        ${prefix}/bin/python2.5
-}
-
-variant python26 conflicts python25 python27 description {Use python 2.6} {
-    depends_lib-append      port:python26
-    depends_run-append      port:py26-libxml2
-    configure.python        ${prefix}/bin/python2.6
-}
-
-variant python27 conflicts python25 python26 description {Use python 2.7} {
-    depends_lib-append      port:python27
-    depends_run-append      port:py27-libxml2
-    configure.python        ${prefix}/bin/python2.7
-}
-
-# Default to python 2.7
-if {![variant_isset python25] && ![variant_isset python26]} {
-    default_variants +python27
-}
-
 livecheck.type      gnome-with-unstable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141028/da4e09b6/attachment.html>


More information about the macports-changes mailing list