diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-11 17:29:20 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-11 17:29:20 +0200 |
commit | 7a42705e87e0da5d2417b4293729e3ee1ae3b33c (patch) | |
tree | 04aa72c4fdff134e2c5ae9f539e092d5faafe808 /extra/twisted/PKGBUILD | |
parent | e6ced89f44186539d8fedf73b62024aa2214230e (diff) | |
parent | 337402b957bab442da9e0d46ee7a8d8f32ede3ce (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/botan/PKGBUILD
community/qgo/PKGBUILD
community/ragel/PKGBUILD
extra/avahi/PKGBUILD
extra/kdepim/PKGBUILD
extra/libva/PKGBUILD
extra/libwnck3/PKGBUILD
extra/orc/PKGBUILD
extra/python/PKGBUILD
extra/python2/PKGBUILD
extra/qt3/PKGBUILD
Diffstat (limited to 'extra/twisted/PKGBUILD')
-rw-r--r-- | extra/twisted/PKGBUILD | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/extra/twisted/PKGBUILD b/extra/twisted/PKGBUILD index 8a743571a..cef6f3c74 100644 --- a/extra/twisted/PKGBUILD +++ b/extra/twisted/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 174290 2013-01-03 23:54:14Z eric $ +# $Id: PKGBUILD 182404 2013-04-10 06:49:54Z eric $ # Maintainer : Ionut Biru <ibiru@archlinux.org> # Contributor: Juergen Hoetzel <juergen@archlinux.org> # Contributor: Douglas Soares de Andrade <douglas@archlinux.org> pkgname=twisted -pkgver=12.3.0 +pkgver=13.0.0 pkgrel=1 pkgdesc="Asynchronous networking framework written in Python" arch=('i686' 'x86_64' 'mips64el') @@ -18,20 +18,23 @@ optdepends=('python2-pyopenssl' 'tk: for using tkconch') install=twisted.install source=(http://twistedmatrix.com/Releases/Twisted/${pkgver%.*}/Twisted-$pkgver.tar.bz2) -sha1sums=('921bef9a560edd14ea2b559ac0d674f4dac4fd65') +sha1sums=('5c66a4f231a5f3e17860a41498ac80e76a156dca') + +prepare() { + cd "Twisted-$pkgver" + sed -i 's:^#!.*bin.*python:#!/usr/bin/python2:' \ + twisted/python/test/pullpipe.py \ + twisted/mail/test/pop3testserver.py \ + twisted/trial/test/scripttest.py +} build() { - cd "$srcdir/Twisted-$pkgver" + cd "Twisted-$pkgver" python2 setup.py build } package() { - cd "$srcdir/Twisted-$pkgver" + cd "Twisted-$pkgver" python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - 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 } |