From 18d6577d511b9a1ac36eaae50060133a401e42a3 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 27 Apr 2011 22:24:53 +0000 Subject: Wed Apr 27 22:24:53 UTC 2011 --- testing/telepathy-idle/python27.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 testing/telepathy-idle/python27.patch (limited to 'testing/telepathy-idle/python27.patch') diff --git a/testing/telepathy-idle/python27.patch b/testing/telepathy-idle/python27.patch new file mode 100644 index 000000000..f8abffb57 --- /dev/null +++ b/testing/telepathy-idle/python27.patch @@ -0,0 +1,21 @@ +diff -Nur telepathy-idle-0.1.7.orig/configure.ac telepathy-idle-0.1.7/configure.ac +--- telepathy-idle-0.1.7.orig/configure.ac 2010-12-07 03:52:29.000000000 -0800 ++++ telepathy-idle-0.1.7/configure.ac 2010-12-07 09:41:21.179715253 -0800 +@@ -103,7 +103,7 @@ + AC_MSG_ERROR([xsltproc (from the libxslt source package) is required]) + fi + PYTHON= +-AC_CHECK_PROGS([PYTHON], [python2.3 python2.4 python2.5 python]) ++AC_CHECK_PROGS([PYTHON], [python2.3 python2.4 python2.5 python2.7 python]) + if test -z "$PYTHON"; then + AC_MSG_ERROR([Python is required to compile this package]) + fi +@@ -111,7 +111,7 @@ + + dnl check for a version of python that can run the twisted tests + AC_MSG_CHECKING([for Python with Twisted and IRC protocol support]) +-for TEST_PYTHON in python2.5 python2.6 python; do ++for TEST_PYTHON in python2.5 python2.6 python2.7 python; do + if $TEST_PYTHON -c "from sys import version_info; import dbus, dbus.mainloop.glib; raise SystemExit(version_info < (2, 5, 0, 'final', 0))" >/dev/null 2>&1; then + if $TEST_PYTHON -c "import twisted.words.protocols.irc, twisted.internet.reactor" >/dev/null 2>&1; then + AM_CONDITIONAL([WANT_TWISTED_TESTS], true) -- cgit v1.2.3-54-g00ecf