summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/twisted
diff options
context:
space:
mode:
authorMichael Hanson <mihanson@linhes.org>2011-10-12 01:40:10 (GMT)
committerMichael Hanson <mihanson@linhes.org>2011-10-12 01:40:10 (GMT)
commit33b16078be993273a17490689c32a32d88ecb14a (patch)
tree943d3ee399869ffd7a8c748f93d829cc30516ee0 /abs/extra/community/twisted
parent7177d96f8ee72a4f97cd7c927fffad2927030328 (diff)
downloadlinhes_pkgbuild-33b16078be993273a17490689c32a32d88ecb14a.zip
linhes_pkgbuild-33b16078be993273a17490689c32a32d88ecb14a.tar.gz
linhes_pkgbuild-33b16078be993273a17490689c32a32d88ecb14a.tar.bz2
twisted: compile against python2.6 Ref #785
Diffstat (limited to 'abs/extra/community/twisted')
-rw-r--r--abs/extra/community/twisted/PKGBUILD6
1 files 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
}