[86621] trunk/dports/devel/gnome-bindings-python/Portfile

devans at macports.org devans at macports.org
Sat Oct 29 18:33:33 PDT 2011


Revision: 86621
          http://trac.macports.org/changeset/86621
Author:   devans at macports.org
Date:     2011-10-29 18:33:28 -0700 (Sat, 29 Oct 2011)
Log Message:
-----------
gnome-bindings-python: add license, python variants, default +python27.

Modified Paths:
--------------
    trunk/dports/devel/gnome-bindings-python/Portfile

Modified: trunk/dports/devel/gnome-bindings-python/Portfile
===================================================================
--- trunk/dports/devel/gnome-bindings-python/Portfile	2011-10-30 00:33:16 UTC (rev 86620)
+++ trunk/dports/devel/gnome-bindings-python/Portfile	2011-10-30 01:33:28 UTC (rev 86621)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem	1.0
@@ -4,6 +5,8 @@
 
 name		gnome-bindings-python
 version		2.30.2
+revision        1
+license         Permissive
 categories	devel gnome
 platforms       darwin
 maintainers	nomaintainer
@@ -17,12 +20,34 @@
 
 homepage	http://www.gnome.org/
 
-depends_lib     port:py26-atspi \
-                port:py26-gnome \
-                port:py26-gobject \
-                port:py26-gtk \
-                port:py26-orbit
+variant python25 conflicts python26 python27 description {Build bindings for Python 2.5} {
+        depends_lib port:py25-atspi \
+                    port:py25-gnome \
+                    port:py25-gobject \
+                    port:py25-gtk \
+                    port:py25-orbit
+}
 
+variant python26 conflicts python25 python27 description {Build bindings for Python 2.6} {
+        depends_lib port:py26-atspi \
+                    port:py26-gnome \
+                    port:py26-gobject \
+                    port:py26-gtk \
+                    port:py26-orbit
+}
+
+variant python27 conflicts python25 python26 description {Build bindings for Python 2.7} {
+        depends_lib port:py27-atspi \
+                    port:py27-gnome \
+                    port:py27-gobject \
+                    port:py27-gtk \
+                    port:py27-orbit
+}
+
+if {![variant_isset python25] && ![variant_isset python26]} {
+        default_variants +python27
+}
+
 distfiles
 
 use_configure   no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111029/9e9af34e/attachment.html>


More information about the macports-changes mailing list