[arch-commits] Commit in twisted/repos (4 files)

Felix Yan fyan at archlinux.org
Sun Nov 29 10:51:03 UTC 2015


    Date: Sunday, November 29, 2015 @ 11:51:03
  Author: fyan
Revision: 252045

archrelease: copy trunk to extra-i686, extra-x86_64

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

-----------------------+
 /PKGBUILD             |  174 ++++++++++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD   |   85 -----------------------
 extra-x86_64/PKGBUILD |   85 -----------------------
 3 files changed, 174 insertions(+), 170 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2015-11-29 10:50:25 UTC (rev 252044)
+++ extra-i686/PKGBUILD	2015-11-29 10:51:03 UTC (rev 252045)
@@ -1,85 +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.5.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' 'git'
-             'python-setuptools' 'python2-setuptools' 'python-service-identity' 'python2-service-identity')
-checkdepends=('subversion' 'python2-sphinx' 'pygtk' 'xorg-server-xvfb' 'tk' 'openssh'
-              'python-gobject' 'python2-gobject' 'python-gobject2' 'python2-gobject2'
-              'python2-gmpy2' 'python2-soappy')
-source=("git+https://github.com/twisted/twisted.git#tag=twisted-$pkgver")
-sha1sums=('SKIP')
-
-prepare() {
-  cp -a "twisted"{,-py2}
-
-  cd "twisted-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"
-  python3 setup.py build
-
-  cd "$srcdir/twisted-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/twisted"
-  LC_CTYPE=en_US.utf8 xvfb-run python admin/run-python3-tests || warning "Tests failed"
-
-  cd "$srcdir/twisted-py2"
-  LC_CTYPE=en_US.utf8 xvfb-run 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"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-
-  # Wrong path, wrong!
-  cp -a "$pkgdir"/usr/twisted/* "$pkgdir"/usr/lib/python3.5/site-packages/twisted/
-  rm -r "$pkgdir"/usr/twisted
-
-  # twisted in python 3 supports only one command line tool for now.
-  # Let's rename the tools the other way round after the python 3 version supports all.
-  mv "$pkgdir/usr/bin/trial"{,3}
-
-  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-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 252044, twisted/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2015-11-29 10:51:03 UTC (rev 252045)
@@ -0,0 +1,87 @@
+# $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.5.0
+pkgrel=2
+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' 'git'
+             'python-setuptools' 'python2-setuptools' 'python-service-identity' 'python2-service-identity')
+checkdepends=('subversion' 'python2-sphinx' 'pygtk' 'xorg-server-xvfb' 'tk' 'openssh'
+              'python-gobject' 'python2-gobject' 'python-gobject2' 'python2-gobject2'
+              'python2-gmpy2' 'python2-soappy')
+source=("git+https://github.com/twisted/twisted.git#tag=twisted-$pkgver")
+sha1sums=('SKIP')
+
+prepare() {
+  cp -a "twisted"{,-py2}
+
+  cd "twisted-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"
+  python3 setup.py build
+
+  cd "$srcdir/twisted-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/twisted"
+  LC_CTYPE=en_US.utf8 xvfb-run python admin/run-python3-tests || warning "Tests failed"
+
+  cd "$srcdir/twisted-py2"
+  LC_CTYPE=en_US.utf8 xvfb-run 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"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+  # Wrong path, wrong!
+  cp -a "$pkgdir"/usr/twisted/* "$pkgdir"/usr/lib/python3.5/site-packages/twisted/
+  rm -r "$pkgdir"/usr/twisted
+
+  # twisted in python 3 supports only few command line tools for now.
+  # Let's rename the tools the other way round after the python 3 version supports all.
+  for name in trial twistd; do
+    mv "$pkgdir/usr/bin/$name"{,3}
+  done
+
+  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-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-11-29 10:50:25 UTC (rev 252044)
+++ extra-x86_64/PKGBUILD	2015-11-29 10:51:03 UTC (rev 252045)
@@ -1,85 +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.5.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' 'git'
-             'python-setuptools' 'python2-setuptools' 'python-service-identity' 'python2-service-identity')
-checkdepends=('subversion' 'python2-sphinx' 'pygtk' 'xorg-server-xvfb' 'tk' 'openssh'
-              'python-gobject' 'python2-gobject' 'python-gobject2' 'python2-gobject2'
-              'python2-gmpy2' 'python2-soappy')
-source=("git+https://github.com/twisted/twisted.git#tag=twisted-$pkgver")
-sha1sums=('SKIP')
-
-prepare() {
-  cp -a "twisted"{,-py2}
-
-  cd "twisted-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"
-  python3 setup.py build
-
-  cd "$srcdir/twisted-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/twisted"
-  LC_CTYPE=en_US.utf8 xvfb-run python admin/run-python3-tests || warning "Tests failed"
-
-  cd "$srcdir/twisted-py2"
-  LC_CTYPE=en_US.utf8 xvfb-run 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"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-
-  # Wrong path, wrong!
-  cp -a "$pkgdir"/usr/twisted/* "$pkgdir"/usr/lib/python3.5/site-packages/twisted/
-  rm -r "$pkgdir"/usr/twisted
-
-  # twisted in python 3 supports only one command line tool for now.
-  # Let's rename the tools the other way round after the python 3 version supports all.
-  mv "$pkgdir/usr/bin/trial"{,3}
-
-  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-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 252044, twisted/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2015-11-29 10:51:03 UTC (rev 252045)
@@ -0,0 +1,87 @@
+# $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.5.0
+pkgrel=2
+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' 'git'
+             'python-setuptools' 'python2-setuptools' 'python-service-identity' 'python2-service-identity')
+checkdepends=('subversion' 'python2-sphinx' 'pygtk' 'xorg-server-xvfb' 'tk' 'openssh'
+              'python-gobject' 'python2-gobject' 'python-gobject2' 'python2-gobject2'
+              'python2-gmpy2' 'python2-soappy')
+source=("git+https://github.com/twisted/twisted.git#tag=twisted-$pkgver")
+sha1sums=('SKIP')
+
+prepare() {
+  cp -a "twisted"{,-py2}
+
+  cd "twisted-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"
+  python3 setup.py build
+
+  cd "$srcdir/twisted-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/twisted"
+  LC_CTYPE=en_US.utf8 xvfb-run python admin/run-python3-tests || warning "Tests failed"
+
+  cd "$srcdir/twisted-py2"
+  LC_CTYPE=en_US.utf8 xvfb-run 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"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+  # Wrong path, wrong!
+  cp -a "$pkgdir"/usr/twisted/* "$pkgdir"/usr/lib/python3.5/site-packages/twisted/
+  rm -r "$pkgdir"/usr/twisted
+
+  # twisted in python 3 supports only few command line tools for now.
+  # Let's rename the tools the other way round after the python 3 version supports all.
+  for name in trial twistd; do
+    mv "$pkgdir/usr/bin/$name"{,3}
+  done
+
+  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-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