summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/twisted
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/community/twisted')
-rw-r--r--abs/extra/community/twisted/PKGBUILD6
-rw-r--r--abs/extra/community/twisted/twisted.install2
2 files changed, 4 insertions, 4 deletions
diff --git a/abs/extra/community/twisted/PKGBUILD b/abs/extra/community/twisted/PKGBUILD
index e008e92..13fca6b 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=3
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
}
diff --git a/abs/extra/community/twisted/twisted.install b/abs/extra/community/twisted/twisted.install
index 8e93ffd..62a2cc5 100644
--- a/abs/extra/community/twisted/twisted.install
+++ b/abs/extra/community/twisted/twisted.install
@@ -7,5 +7,5 @@ post_upgrade() {
}
post_remove() {
- find /usr/lib/python2.7/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
+ find /usr/lib/python2.6/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f
}