[arch-commits] Commit in twisted/trunk (PKGBUILD twisted.install)

Rémy Oudompheng remy at archlinux.org
Sun Aug 29 16:19:48 UTC 2010


    Date: Sunday, August 29, 2010 @ 12:19:48
  Author: remy
Revision: 89108

Fix twisted.install to use new python paths.

Modified:
  twisted/trunk/PKGBUILD
  twisted/trunk/twisted.install

-----------------+
 PKGBUILD        |    2 +-
 twisted.install |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-29 14:20:27 UTC (rev 89107)
+++ PKGBUILD	2010-08-29 16:19:48 UTC (rev 89108)
@@ -5,7 +5,7 @@
 
 pkgname=twisted
 pkgver=10.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Asynchronous networking framework written in Python."
 arch=('i686' 'x86_64')
 url="http://twistedmatrix.com/"

Modified: twisted.install
===================================================================
--- twisted.install	2010-08-29 14:20:27 UTC (rev 89107)
+++ twisted.install	2010-08-29 16:19:48 UTC (rev 89108)
@@ -1,5 +1,5 @@
 post_install() {
-  python -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 || return 1
+  python2 -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 || return 1
 }
 
 post_upgrade() {
@@ -7,5 +7,5 @@
 }
 
 post_remove() {
-  find /usr/lib/python2.6/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
+  find /usr/lib/python2.7/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
 }




More information about the arch-commits mailing list