[85675] trunk/dports/comms/libtelepathy/Portfile

devans at macports.org devans at macports.org
Sat Oct 15 08:57:39 PDT 2011


Revision: 85675
          http://trac.macports.org/changeset/85675
Author:   devans at macports.org
Date:     2011-10-15 08:57:39 -0700 (Sat, 15 Oct 2011)
Log Message:
-----------
libtelepathy:
    * add variants +python25 +python26 +python27 default +python27
    * add license

Modified Paths:
--------------
    trunk/dports/comms/libtelepathy/Portfile

Modified: trunk/dports/comms/libtelepathy/Portfile
===================================================================
--- trunk/dports/comms/libtelepathy/Portfile	2011-10-15 15:51:23 UTC (rev 85674)
+++ trunk/dports/comms/libtelepathy/Portfile	2011-10-15 15:57:39 UTC (rev 85675)
@@ -5,6 +5,7 @@
 
 name            libtelepathy
 version         0.3.3
+license         LGPL-2.1
 description     The ${name} component of Telepathy - a Flexible Communications Framework.
 long_description \
                 The ${name} component of Telepathy - a Flexible Communications Framework. \
@@ -23,13 +24,27 @@
                 rmd160  0d51e4eac2e4bc7f196c2597c4ea30adebc34e11
 
 depends_build   port:pkgconfig \
-                port:libxslt \
-                port:python25
+                port:libxslt
 
 depends_lib     port:telepathy-glib
 
-configure.python ${prefix}/bin/python2.5
+variant python25 conflicts python26 python27 description {Build using Python 2.5} {
+        depends_build-append port:python25
+        configure.python ${prefix}/bin/python2.5
+}
 
+variant python26 conflicts python25 python27 description {Build using Python 2.6} {
+        depends_build-append port:python26
+        configure.python ${prefix}/bin/python2.6
+}
+
+variant python27 conflicts python25 python26 description {Build using Python 2.7} {
+        depends_build-append port:python27
+        configure.python ${prefix}/bin/python2.7
+}
+
+default_variants +python27
+
 livecheck.type  regex
 livecheck.url   ${master_sites}
 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111015/970179b9/attachment.html>


More information about the macports-changes mailing list