[86607] trunk/dports/comms/telepathy-idle

devans at macports.org devans at macports.org
Sat Oct 29 10:17:51 PDT 2011


Revision: 86607
          http://trac.macports.org/changeset/86607
Author:   devans at macports.org
Date:     2011-10-29 10:17:48 -0700 (Sat, 29 Oct 2011)
Log Message:
-----------
telepathy-idle: update to version 0.1.11, add Python variants, fix Python configuration.

Modified Paths:
--------------
    trunk/dports/comms/telepathy-idle/Portfile
    trunk/dports/comms/telepathy-idle/files/patch-configure.diff

Modified: trunk/dports/comms/telepathy-idle/Portfile
===================================================================
--- trunk/dports/comms/telepathy-idle/Portfile	2011-10-29 16:31:57 UTC (rev 86606)
+++ trunk/dports/comms/telepathy-idle/Portfile	2011-10-29 17:17:48 UTC (rev 86607)
@@ -4,7 +4,7 @@
 PortSystem 1.0
 
 name            telepathy-idle
-version         0.1.10
+version         0.1.11
 license         LGPL-2.1
 description     The ${name} IRC connection manager component of Telepathy - a Flexible Communications Framework
 
@@ -18,24 +18,35 @@
 homepage        http://telepathy.freedesktop.org/wiki/
 master_sites    http://telepathy.freedesktop.org/releases/${name}/
 
-checksums       sha1    385773e3a1f1786ea385ca52efa33443553cfd9d \
-                rmd160  3a7f3da472ed63f81c7f32c489231839d7f20839
+checksums       sha1    99b4c98d4f4ab4005be838a8f792fea70eec5004 \
+                rmd160  7ab751b7aa37f6dded0dd2c8a8e3f0b6f778ae48
 
 depends_build   port:pkgconfig \
                 port:libxslt \
                 port:gtk-doc
 
 depends_lib     port:telepathy-glib \
-                port:py26-twisted \
                 port:openssl
 
 patchfiles      patch-configure.diff \
                 patch-src-idle-parser.c.diff
 
-configure.python ${prefix}/bin/python2.6
-
 configure.args  --disable-silent-rules
 
+variant python26 conflicts python27 description {Use Python 2.6} {
+        depends_lib-append port:py26-twisted
+        configure.python ${prefix}/bin/python2.6
+}
+
+variant python27 conflicts python26 description {Use Python 2.7} {
+        depends_lib-append port:py27-twisted
+        configure.python ${prefix}/bin/python2.7
+}
+
+if {![variant_isset python26]} {
+        default_variants +python27
+}
+
 livecheck.type  regex
 livecheck.url   ${master_sites}
 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"

Modified: trunk/dports/comms/telepathy-idle/files/patch-configure.diff
===================================================================
--- trunk/dports/comms/telepathy-idle/files/patch-configure.diff	2011-10-29 16:31:57 UTC (rev 86606)
+++ trunk/dports/comms/telepathy-idle/files/patch-configure.diff	2011-10-29 17:17:48 UTC (rev 86607)
@@ -1,7 +1,19 @@
---- configure.orig	2011-05-11 11:47:46.000000000 -0700
-+++ configure	2011-09-13 10:58:05.000000000 -0700
-@@ -12751,7 +12751,7 @@
+--- configure.orig	2011-10-29 10:05:03.000000000 -0700
++++ configure	2011-10-29 10:07:43.000000000 -0700
+@@ -13322,9 +13322,9 @@
  
+ 
+ 
+-  PYTHON_PREFIX='${prefix}'
++  PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.prefix;'`
+ 
+-  PYTHON_EXEC_PREFIX='${exec_prefix}'
++  PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print sys.exec_prefix;'`
+ 
+ 
+ 
+@@ -13425,7 +13425,7 @@
+ 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python with Twisted and IRC protocol support" >&5
  $as_echo_n "checking for Python with Twisted and IRC protocol support... " >&6; }
 -for TEST_PYTHON in python2.5 python2.6 python; do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111029/171306de/attachment-0001.html>


More information about the macports-changes mailing list