[arch-commits] Commit in twisted/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Felix Yan fyan at archlinux.org
Mon Apr 13 11:02:31 UTC 2015


    Date: Monday, April 13, 2015 @ 13:02:31
  Author: fyan
Revision: 236355

archrelease: copy trunk to extra-x86_64

Added:
  twisted/repos/extra-x86_64/PKGBUILD
    (from rev 236354, twisted/trunk/PKGBUILD)
Deleted:
  twisted/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  146 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 73 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-13 11:02:12 UTC (rev 236354)
+++ PKGBUILD	2015-04-13 11:02:31 UTC (rev 236355)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Juergen Hoetzel <juergen at archlinux.org>
-# Contributor:  Douglas Soares de Andrade <douglas at 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"
-}

Copied: twisted/repos/extra-x86_64/PKGBUILD (from rev 236354, twisted/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-04-13 11:02:31 UTC (rev 236355)
@@ -0,0 +1,73 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+# Contributor:  Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgbase=twisted
+pkgname=(python-twisted python2-twisted)
+pkgver=15.1.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=('d41d60ff078c8cb9b063f1846a815cec98dc7693')
+
+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"
+}



More information about the arch-commits mailing list