[arch-commits] Commit in telepathy-idle/trunk (3 files)
Ionut Biru
ibiru at archlinux.org
Tue Dec 7 17:47:07 UTC 2010
Date: Tuesday, December 7, 2010 @ 12:47:06
Author: ibiru
Revision: 102391
upgpkg: telepathy-idle 0.1.7-1
update to 0.1.7
Added:
telepathy-idle/trunk/python27.patch
telepathy-idle/trunk/telepathy-idle.install
Modified:
telepathy-idle/trunk/PKGBUILD
------------------------+
PKGBUILD | 23 ++++++++++++++---------
python27.patch | 21 +++++++++++++++++++++
telepathy-idle.install | 13 +++++++++++++
3 files changed, 48 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-12-07 17:41:16 UTC (rev 102390)
+++ PKGBUILD 2010-12-07 17:47:06 UTC (rev 102391)
@@ -3,22 +3,27 @@
# Contributor: Bjorn Lindeijer <bjorn lindeijer nl>
# Contributor: Samuel Mendes <heka.lok at gmail.com>
pkgname=telepathy-idle
-pkgver=0.1.6
-pkgrel=2
+pkgver=0.1.7
+pkgrel=1
pkgdesc="An IRC connection manager for Telepathy"
arch=('i686' 'x86_64')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('LGPL')
-depends=('telepathy-glib>=0.10' 'openssl')
-makedepends=('libxslt')
-source=(http://telepathy.freedesktop.org/releases/telepathy-idle/$pkgname-$pkgver.tar.gz)
-md5sums=('0efe17425cdc3490714947ff68003bf6')
+depends=('telepathy-glib>=0.12.5' 'openssl')
+makedepends=('libxslt' 'python2')
+install=telepathy-idle.install
+source=(http://telepathy.freedesktop.org/releases/telepathy-idle/${pkgname}-${pkgver}.tar.gz
+ python27.patch)
+md5sums=('5ee3aa5c6e1112922b11711e6a209331'
+ '03661efde8f768417e224720e1346d7b')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/python27.patch"
+ autoreconf -fi
./configure --prefix=/usr \
--libexecdir=/usr/lib/telepathy
- make || return 1
- make DESTDIR="$pkgdir" install || return 1
+ make
+ make DESTDIR="${pkgdir}" install
}
Added: python27.patch
===================================================================
--- python27.patch (rev 0)
+++ python27.patch 2010-12-07 17:47:06 UTC (rev 102391)
@@ -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)
Added: telepathy-idle.install
===================================================================
--- telepathy-idle.install (rev 0)
+++ telepathy-idle.install 2010-12-07 17:47:06 UTC (rev 102391)
@@ -0,0 +1,13 @@
+post_install() {
+ killall -HUP dbus-daemon 2>&1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list