diff options
author | Michael Hanson <mihanson@linhes.org> | 2011-10-12 01:40:10 (GMT) |
---|---|---|
committer | Michael Hanson <mihanson@linhes.org> | 2011-10-12 01:40:10 (GMT) |
commit | 33b16078be993273a17490689c32a32d88ecb14a (patch) | |
tree | 943d3ee399869ffd7a8c748f93d829cc30516ee0 /abs/extra/community/twisted/PKGBUILD | |
parent | 7177d96f8ee72a4f97cd7c927fffad2927030328 (diff) | |
download | linhes_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/PKGBUILD')
-rw-r--r-- | abs/extra/community/twisted/PKGBUILD | 6 |
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 } |