Date: Saturday, January 31, 2015 @ 12:59:33 Author: fyan Revision: 230319
archrelease: copy trunk to extra-i686, extra-x86_64 Added: twisted/repos/extra-i686/PKGBUILD (from rev 230318, twisted/trunk/PKGBUILD) twisted/repos/extra-x86_64/PKGBUILD (from rev 230318, twisted/trunk/PKGBUILD) Deleted: twisted/repos/extra-i686/PKGBUILD twisted/repos/extra-x86_64/PKGBUILD -----------------------+ /PKGBUILD | 146 ++++++++++++++++++++++++++++++++++++++++++++++++ extra-i686/PKGBUILD | 73 ------------------------ extra-x86_64/PKGBUILD | 73 ------------------------ 3 files changed, 146 insertions(+), 146 deletions(-) Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2015-01-31 11:59:12 UTC (rev 230318) +++ extra-i686/PKGBUILD 2015-01-31 11:59:33 UTC (rev 230319) @@ -1,73 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Ionut Biru <ib...@archlinux.org> -# Contributor: Juergen Hoetzel <juer...@archlinux.org> -# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> - -pkgbase=twisted -pkgname=(python-twisted python2-twisted) -pkgver=14.0.2 -pkgrel=1 -pkgdesc="Asynchronous networking framework written in Python" -arch=('i686' 'x86_64') -url="http://twistedmatrix.com/" -license=('MIT') -makedepends=('python-crypto' 'python2-crypto' 'python-zope-interface' 'python2-zope-interface' - 'python-setuptools' 'python2-setuptools' 'python-service-identity' 'python2-service-identity') -source=("http://twistedmatrix.com/Releases/Twisted/${pkgver%.*}/Twisted-$pkgver.tar.bz2") -sha1sums=('b908dc0d117a782d2becc83fbb906ba4311f3351') - -prepare() { - cp -a "Twisted-$pkgver"{,-py2} - - cd "Twisted-$pkgver-py2" - 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" - python3 setup.py build - - cd "$srcdir/Twisted-$pkgver-py2" - python2 setup.py build -} - -check() { - cd "$srcdir/Twisted-$pkgver" - # python bin/trial twisted - - cd "$srcdir/Twisted-$pkgver-py2" - python2 bin/trial twisted || warning "Tests failed" -} - -package_python-twisted() { - depends=('python-crypto' 'python-zope-interface') - optdepends=('python-pyopenssl' - 'python-service-identity: for TLS client hostname verification' - 'python-pyasn1: for using conch' - 'tk: for using tkconch') - - cd "Twisted-$pkgver" - python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -package_python2-twisted() { - depends=('python2-crypto' 'python2-zope-interface') - optdepends=('python2-pyopenssl' - 'python2-service-identity: for TLS client hostname verification' - 'python2-soappy: for twisted.web.soap' - 'python2-pyasn1: for using conch' - 'pygtk: for using manhole' - 'tk: for using tkconch') - provides=("twisted=$pkgver") - conflicts=('twisted<14.0.0') - replaces=('twisted<14.0.0') - - cd "Twisted-$pkgver-py2" - python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: twisted/repos/extra-i686/PKGBUILD (from rev 230318, twisted/trunk/PKGBUILD) =================================================================== --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2015-01-31 11:59:33 UTC (rev 230319) @@ -0,0 +1,73 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Juergen Hoetzel <juer...@archlinux.org> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> + +pkgbase=twisted +pkgname=(python-twisted python2-twisted) +pkgver=15.0.0 +pkgrel=1 +pkgdesc="Asynchronous networking framework written in Python" +arch=('i686' 'x86_64') +url="http://twistedmatrix.com/" +license=('MIT') +makedepends=('python-crypto' 'python2-crypto' 'python-zope-interface' 'python2-zope-interface' + 'python-setuptools' 'python2-setuptools' 'python-service-identity' 'python2-service-identity') +source=("http://twistedmatrix.com/Releases/Twisted/${pkgver%.*}/Twisted-$pkgver.tar.bz2") +sha1sums=('c72bd9a932d944e2e1c4901f7e1cc79b1214472a') + +prepare() { + cp -a "Twisted-$pkgver"{,-py2} + + cd "Twisted-$pkgver-py2" + 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" + python3 setup.py build + + cd "$srcdir/Twisted-$pkgver-py2" + python2 setup.py build +} + +check() { + cd "$srcdir/Twisted-$pkgver" + # python bin/trial twisted + + cd "$srcdir/Twisted-$pkgver-py2" + python2 bin/trial twisted || warning "Tests failed" +} + +package_python-twisted() { + depends=('python-crypto' 'python-zope-interface') + optdepends=('python-pyopenssl' + 'python-service-identity: for TLS client hostname verification' + 'python-pyasn1: for using conch' + 'tk: for using tkconch') + + cd "Twisted-$pkgver" + python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-twisted() { + depends=('python2-crypto' 'python2-zope-interface') + optdepends=('python2-pyopenssl' + 'python2-service-identity: for TLS client hostname verification' + 'python2-soappy: for twisted.web.soap' + 'python2-pyasn1: for using conch' + 'pygtk: for using manhole' + 'tk: for using tkconch') + provides=("twisted=$pkgver") + conflicts=('twisted<14.0.0') + replaces=('twisted<14.0.0') + + cd "Twisted-$pkgver-py2" + python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2015-01-31 11:59:12 UTC (rev 230318) +++ extra-x86_64/PKGBUILD 2015-01-31 11:59:33 UTC (rev 230319) @@ -1,73 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Ionut Biru <ib...@archlinux.org> -# Contributor: Juergen Hoetzel <juer...@archlinux.org> -# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> - -pkgbase=twisted -pkgname=(python-twisted python2-twisted) -pkgver=14.0.2 -pkgrel=1 -pkgdesc="Asynchronous networking framework written in Python" -arch=('i686' 'x86_64') -url="http://twistedmatrix.com/" -license=('MIT') -makedepends=('python-crypto' 'python2-crypto' 'python-zope-interface' 'python2-zope-interface' - 'python-setuptools' 'python2-setuptools' 'python-service-identity' 'python2-service-identity') -source=("http://twistedmatrix.com/Releases/Twisted/${pkgver%.*}/Twisted-$pkgver.tar.bz2") -sha1sums=('b908dc0d117a782d2becc83fbb906ba4311f3351') - -prepare() { - cp -a "Twisted-$pkgver"{,-py2} - - cd "Twisted-$pkgver-py2" - 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" - python3 setup.py build - - cd "$srcdir/Twisted-$pkgver-py2" - python2 setup.py build -} - -check() { - cd "$srcdir/Twisted-$pkgver" - # python bin/trial twisted - - cd "$srcdir/Twisted-$pkgver-py2" - python2 bin/trial twisted || warning "Tests failed" -} - -package_python-twisted() { - depends=('python-crypto' 'python-zope-interface') - optdepends=('python-pyopenssl' - 'python-service-identity: for TLS client hostname verification' - 'python-pyasn1: for using conch' - 'tk: for using tkconch') - - cd "Twisted-$pkgver" - python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -package_python2-twisted() { - depends=('python2-crypto' 'python2-zope-interface') - optdepends=('python2-pyopenssl' - 'python2-service-identity: for TLS client hostname verification' - 'python2-soappy: for twisted.web.soap' - 'python2-pyasn1: for using conch' - 'pygtk: for using manhole' - 'tk: for using tkconch') - provides=("twisted=$pkgver") - conflicts=('twisted<14.0.0') - replaces=('twisted<14.0.0') - - cd "Twisted-$pkgver-py2" - python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: twisted/repos/extra-x86_64/PKGBUILD (from rev 230318, twisted/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2015-01-31 11:59:33 UTC (rev 230319) @@ -0,0 +1,73 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Juergen Hoetzel <juer...@archlinux.org> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> + +pkgbase=twisted +pkgname=(python-twisted python2-twisted) +pkgver=15.0.0 +pkgrel=1 +pkgdesc="Asynchronous networking framework written in Python" +arch=('i686' 'x86_64') +url="http://twistedmatrix.com/" +license=('MIT') +makedepends=('python-crypto' 'python2-crypto' 'python-zope-interface' 'python2-zope-interface' + 'python-setuptools' 'python2-setuptools' 'python-service-identity' 'python2-service-identity') +source=("http://twistedmatrix.com/Releases/Twisted/${pkgver%.*}/Twisted-$pkgver.tar.bz2") +sha1sums=('c72bd9a932d944e2e1c4901f7e1cc79b1214472a') + +prepare() { + cp -a "Twisted-$pkgver"{,-py2} + + cd "Twisted-$pkgver-py2" + 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" + python3 setup.py build + + cd "$srcdir/Twisted-$pkgver-py2" + python2 setup.py build +} + +check() { + cd "$srcdir/Twisted-$pkgver" + # python bin/trial twisted + + cd "$srcdir/Twisted-$pkgver-py2" + python2 bin/trial twisted || warning "Tests failed" +} + +package_python-twisted() { + depends=('python-crypto' 'python-zope-interface') + optdepends=('python-pyopenssl' + 'python-service-identity: for TLS client hostname verification' + 'python-pyasn1: for using conch' + 'tk: for using tkconch') + + cd "Twisted-$pkgver" + python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-twisted() { + depends=('python2-crypto' 'python2-zope-interface') + optdepends=('python2-pyopenssl' + 'python2-service-identity: for TLS client hostname verification' + 'python2-soappy: for twisted.web.soap' + 'python2-pyasn1: for using conch' + 'pygtk: for using manhole' + 'tk: for using tkconch') + provides=("twisted=$pkgver") + conflicts=('twisted<14.0.0') + replaces=('twisted<14.0.0') + + cd "Twisted-$pkgver-py2" + python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}