diff options
author | root <root@rshg047.dnsready.net> | 2011-06-21 23:04:10 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-21 23:04:10 +0000 |
commit | 17dec629d8a13d1981d734ddc703efb5382ca309 (patch) | |
tree | d0689d190de068c330b75edee00c4f327ac2d01a /extra/twisted | |
parent | f02c28de0bbcb85e152fc19d0008805021fe1a33 (diff) |
Tue Jun 21 23:04:10 UTC 2011
Diffstat (limited to 'extra/twisted')
-rw-r--r-- | extra/twisted/PKGBUILD | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/extra/twisted/PKGBUILD b/extra/twisted/PKGBUILD index 14991ddb8..d25475b8d 100644 --- a/extra/twisted/PKGBUILD +++ b/extra/twisted/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 107380 2011-01-24 14:03:19Z ibiru $ +# $Id: PKGBUILD 126682 2011-06-06 14:53:30Z ibiru $ # Maintainer : Ionut Biru <ibiru@archlinux.org> # Contributor: Juergen Hoetzel <juergen@archlinux.org> # Contributor: Douglas Soares de Andrade <douglas@archlinux.org> pkgname=twisted -pkgver=10.2.0 -pkgrel=3 +pkgver=11.0.0 +pkgrel=1 pkgdesc="Asynchronous networking framework written in Python." arch=('i686' 'x86_64') url="http://twistedmatrix.com/" @@ -14,20 +14,21 @@ depends=('python2' 'pycrypto' 'zope-interface') optdepends=('python2-pyopenssl' 'python-soappy:for twisted.web.soap') install=twisted.install -source=(http://tmrc.mit.edu/mirror/twisted/Twisted/${pkgver%.*}/Twisted-${pkgver}.tar.bz2 - 4771.diff) -md5sums=('73da62c793269eade8121da336b01ba5' - '087ed6149abca43919dcece24ba222ab') +source=(http://twistedmatrix.com/Releases/Twisted/${pkgver%.*}/Twisted-${pkgver}.tar.bz2) +md5sums=('d7f94a1609a1b8f3b8c8d0146d4cfe54') + build() { - cd "${srcdir}/Twisted-${pkgver}" - #http://twistedmatrix.com/trac/ticket/4771 - patch -Np0 -i ${srcdir}/4771.diff + cd "${srcdir}/Twisted-${pkgver}" + python2 setup.py build +} - python2 setup.py install --prefix=/usr --root=${pkgdir} --optimize=1 - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +package() { + cd "${srcdir}/Twisted-${pkgver}" + 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 -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 } |