From 63d179775e063452db6358e15b9847e7fc6c84b6 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 18 Jul 2012 00:01:34 +0000 Subject: Wed Jul 18 00:01:34 UTC 2012 --- extra/twisted/PKGBUILD | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'extra/twisted/PKGBUILD') diff --git a/extra/twisted/PKGBUILD b/extra/twisted/PKGBUILD index b20220a6f..f80e5486e 100644 --- a/extra/twisted/PKGBUILD +++ b/extra/twisted/PKGBUILD @@ -1,21 +1,24 @@ -# $Id: PKGBUILD 150115 2012-02-12 18:51:16Z eric $ +# $Id: PKGBUILD 163609 2012-07-17 01:58:52Z eric $ # Maintainer : Ionut Biru # Contributor: Juergen Hoetzel # Contributor: Douglas Soares de Andrade pkgname=twisted -pkgver=12.0.0 +pkgver=12.1.0 pkgrel=1 pkgdesc="Asynchronous networking framework written in Python." arch=('i686' 'x86_64') url="http://twistedmatrix.com/" license=('MIT') -depends=('python2' 'pycrypto' 'zope-interface') +depends=('pycrypto' 'python2-zope-interface') optdepends=('python2-pyopenssl' - 'python-soappy: for twisted.web.soap') + 'python-soappy: for twisted.web.soap' + 'python2-pyasn1: for using conch' + 'pygtk: for using manhole' + 'tk: for using tkconch') install=twisted.install source=(http://twistedmatrix.com/Releases/Twisted/${pkgver%.*}/Twisted-$pkgver.tar.bz2) -md5sums=('cf49a8676c21c50faf1b42b528049471') +md5sums=('f396f1d6f5321e869c2f89b2196a9eb5') build() { cd "$srcdir/Twisted-$pkgver" @@ -27,8 +30,8 @@ package() { python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 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 - sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ - -i "$pkgdir"/usr/lib/python2.7/site-packages/twisted/mail/test/pop3testserver.py + sed -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \ + "$pkgdir"/usr/lib/python2.7/site-packages/twisted/trial/test/scripttest.py \ + "$pkgdir"/usr/lib/python2.7/site-packages/twisted/mail/test/pop3testserver.py \ + "$pkgdir"/usr/lib/python2.7/site-packages/twisted/python/test/pullpipe.py } -- cgit v1.2.3-54-g00ecf