From 33b16078be993273a17490689c32a32d88ecb14a Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Wed, 12 Oct 2011 01:40:10 +0000 Subject: twisted: compile against python2.6 Ref #785 --- abs/extra/community/twisted/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/abs/extra/community/twisted/PKGBUILD b/abs/extra/community/twisted/PKGBUILD index e008e92..c197c57 100644 --- a/abs/extra/community/twisted/PKGBUILD +++ b/abs/extra/community/twisted/PKGBUILD @@ -5,7 +5,7 @@ pkgname=twisted pkgver=10.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Asynchronous networking framework written in Python." arch=('i686' 'x86_64') url="http://twistedmatrix.com/" @@ -23,7 +23,7 @@ build() { install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ - -i ${pkgdir}/usr/lib/python2.7/site-packages/twisted/trial/test/scripttest.py + -i ${pkgdir}/usr/lib/python2.6/site-packages/twisted/trial/test/scripttest.py sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ - -i ${pkgdir}/usr/lib/python2.7/site-packages/twisted/mail/test/pop3testserver.py + -i ${pkgdir}/usr/lib/python2.6/site-packages/twisted/mail/test/pop3testserver.py } -- cgit v0.12