Date: Thursday, October 13, 2016 @ 22:52:13
  Author: kkeen
Revision: 192208

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

Added:
  python-pyzmq/repos/community-i686/PKGBUILD
    (from rev 192207, python-pyzmq/trunk/PKGBUILD)
  python-pyzmq/repos/community-x86_64/PKGBUILD
    (from rev 192207, python-pyzmq/trunk/PKGBUILD)
Deleted:
  python-pyzmq/repos/community-i686/PKGBUILD
  python-pyzmq/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  106 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   61 -------------------------
 community-x86_64/PKGBUILD |   61 -------------------------
 3 files changed, 106 insertions(+), 122 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD     2016-10-13 22:51:15 UTC (rev 192207)
+++ community-i686/PKGBUILD     2016-10-13 22:52:13 UTC (rev 192208)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail dot com>
-pkgbase=python-pyzmq
-pkgname=(python2-pyzmq python-pyzmq)
-pkgver=15.2.0
-pkgrel=1
-pkgdesc="Python bindings for zeromq, written in Cython"
-arch=(i686 x86_64)
-url="http://www.zeromq.org/bindings:python";
-license=('LGPL')
-depends=(zeromq python)
-makedepends=(python python2 zeromq)
-checkdepends=(python-nose python2-nose python-tornado python2-tornado)
-#source=(https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz)
-source=(https://pypi.python.org/packages/source/p/pyzmq/pyzmq-$pkgver.tar.gz)
-md5sums=('9722046c27475441d47ac17a98c665bb')
-
-prepare() {
-  cd "$srcdir"
-  cp -a pyzmq-${pkgver} py2zmq-${pkgver}
-}
-
-build() {
-  cd "$srcdir/pyzmq-$pkgver"
-  # py3 errors added in 2.2.0.1 
-  sed -i 's|except socket.error, e:|except socket.error as e:|' 
zmq/eventloop/ioloop.py
-  sed -i 's|except gevent.Timeout, t:|except gevent.Timeout as t:|' 
zmq/green/core.py
-  cd "$srcdir/py2zmq-$pkgver"
-  sed -i 's|^#!/usr/bin/env python$|&2|' $(find ./ -name '*.py')
-}
-
-package_python2-pyzmq() {
-  pkgdesc="Python2 bindings for zeromq, written in Cython"
-  depends=(zeromq python2)
-  cd "$srcdir/py2zmq-$pkgver"
-  python2 setup.py install --root="$pkgdir" --optimize=0
-}
-
-package_python-pyzmq() {
-  pkgdesc="Python3 bindings for zeromq, written in Cython"
-  depends=(zeromq python)
-  cd "$srcdir/pyzmq-$pkgver"
-  python3 setup.py install --root="$pkgdir" --optimize=0
-}
-
-check() {
-  # 15.2.0 - 32 bit platform fails test_large_send with OverflowError
-  # https://github.com/zeromq/pyzmq/issues/799
-  if [[ $CARCH != "x86_64" ]]; then
-    sed -i 's/buf = .*$/return/' 
"$srcdir/pyzmq-$pkgver/zmq/tests/test_socket.py"
-    sed -i 's/buf = .*$/return/' 
"$srcdir/py2zmq-$pkgver/zmq/tests/test_socket.py"
-  fi
-
-  cd "$srcdir/pyzmq-$pkgver"
-  python3 setup.py build_ext --inplace
-  python3 setup.py test
-  cd "$srcdir/py2zmq-$pkgver"
-  python2 setup.py build_ext --inplace
-  python2 setup.py test
-}
-

Copied: python-pyzmq/repos/community-i686/PKGBUILD (from rev 192207, 
python-pyzmq/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD                             (rev 0)
+++ community-i686/PKGBUILD     2016-10-13 22:52:13 UTC (rev 192208)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail dot com>
+pkgbase=python-pyzmq
+pkgname=(python-pyzmq python2-pyzmq)
+pkgver=16.0.0
+pkgrel=1
+pkgdesc="Python bindings for zeromq, written in Cython"
+arch=('i686' 'x86_64')
+url="http://www.zeromq.org/bindings:python";
+license=('LGPL')
+depends=('zeromq' 'python')
+makedepends=('python' 'python2')
+checkdepends=('python-nose' 'python2-nose' 'python-tornado' 'python2-tornado'
+    'python-pytest' 'python2-pytest')
+#source=("https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz";)
+#source=("https://pypi.python.org/packages/source/p/pyzmq/pyzmq-$pkgver.tar.gz";)
+source=("https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-$pkgver.tar.gz";)
+md5sums=('1c6085e9338b5a1b185db922e26a6b75')
+
+prepare() {
+  cd "$srcdir"
+  cp -a pyzmq-${pkgver} py2zmq-${pkgver}
+
+  cd "$srcdir/py2zmq-$pkgver"
+  sed -i 's|^#!/usr/bin/env python$|&2|' $(find ./ -name '*.py')
+}
+
+build() {
+  cd "$srcdir"
+}
+
+package_python-pyzmq() {
+  pkgdesc="Python3 bindings for zeromq, written in Cython"
+  cd "$srcdir/pyzmq-$pkgver"
+  python3 setup.py install --root="$pkgdir" --optimize=0
+}
+
+package_python2-pyzmq() {
+  pkgdesc="Python2 bindings for zeromq, written in Cython"
+  depends=('zeromq' 'python2')
+  cd "$srcdir/py2zmq-$pkgver"
+  python2 setup.py install --root="$pkgdir" --optimize=0
+}
+
+check() {
+  cd "$srcdir/pyzmq-$pkgver"
+  python3 setup.py build_ext --inplace
+  python3 setup.py test
+  cd "$srcdir/py2zmq-$pkgver"
+  python2 setup.py build_ext --inplace
+  python2 setup.py test
+}
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD   2016-10-13 22:51:15 UTC (rev 192207)
+++ community-x86_64/PKGBUILD   2016-10-13 22:52:13 UTC (rev 192208)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail dot com>
-pkgbase=python-pyzmq
-pkgname=(python2-pyzmq python-pyzmq)
-pkgver=15.2.0
-pkgrel=1
-pkgdesc="Python bindings for zeromq, written in Cython"
-arch=(i686 x86_64)
-url="http://www.zeromq.org/bindings:python";
-license=('LGPL')
-depends=(zeromq python)
-makedepends=(python python2 zeromq)
-checkdepends=(python-nose python2-nose python-tornado python2-tornado)
-#source=(https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz)
-source=(https://pypi.python.org/packages/source/p/pyzmq/pyzmq-$pkgver.tar.gz)
-md5sums=('9722046c27475441d47ac17a98c665bb')
-
-prepare() {
-  cd "$srcdir"
-  cp -a pyzmq-${pkgver} py2zmq-${pkgver}
-}
-
-build() {
-  cd "$srcdir/pyzmq-$pkgver"
-  # py3 errors added in 2.2.0.1 
-  sed -i 's|except socket.error, e:|except socket.error as e:|' 
zmq/eventloop/ioloop.py
-  sed -i 's|except gevent.Timeout, t:|except gevent.Timeout as t:|' 
zmq/green/core.py
-  cd "$srcdir/py2zmq-$pkgver"
-  sed -i 's|^#!/usr/bin/env python$|&2|' $(find ./ -name '*.py')
-}
-
-package_python2-pyzmq() {
-  pkgdesc="Python2 bindings for zeromq, written in Cython"
-  depends=(zeromq python2)
-  cd "$srcdir/py2zmq-$pkgver"
-  python2 setup.py install --root="$pkgdir" --optimize=0
-}
-
-package_python-pyzmq() {
-  pkgdesc="Python3 bindings for zeromq, written in Cython"
-  depends=(zeromq python)
-  cd "$srcdir/pyzmq-$pkgver"
-  python3 setup.py install --root="$pkgdir" --optimize=0
-}
-
-check() {
-  # 15.2.0 - 32 bit platform fails test_large_send with OverflowError
-  # https://github.com/zeromq/pyzmq/issues/799
-  if [[ $CARCH != "x86_64" ]]; then
-    sed -i 's/buf = .*$/return/' 
"$srcdir/pyzmq-$pkgver/zmq/tests/test_socket.py"
-    sed -i 's/buf = .*$/return/' 
"$srcdir/py2zmq-$pkgver/zmq/tests/test_socket.py"
-  fi
-
-  cd "$srcdir/pyzmq-$pkgver"
-  python3 setup.py build_ext --inplace
-  python3 setup.py test
-  cd "$srcdir/py2zmq-$pkgver"
-  python2 setup.py build_ext --inplace
-  python2 setup.py test
-}
-

Copied: python-pyzmq/repos/community-x86_64/PKGBUILD (from rev 192207, 
python-pyzmq/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2016-10-13 22:52:13 UTC (rev 192208)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail dot com>
+pkgbase=python-pyzmq
+pkgname=(python-pyzmq python2-pyzmq)
+pkgver=16.0.0
+pkgrel=1
+pkgdesc="Python bindings for zeromq, written in Cython"
+arch=('i686' 'x86_64')
+url="http://www.zeromq.org/bindings:python";
+license=('LGPL')
+depends=('zeromq' 'python')
+makedepends=('python' 'python2')
+checkdepends=('python-nose' 'python2-nose' 'python-tornado' 'python2-tornado'
+    'python-pytest' 'python2-pytest')
+#source=("https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz";)
+#source=("https://pypi.python.org/packages/source/p/pyzmq/pyzmq-$pkgver.tar.gz";)
+source=("https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-$pkgver.tar.gz";)
+md5sums=('1c6085e9338b5a1b185db922e26a6b75')
+
+prepare() {
+  cd "$srcdir"
+  cp -a pyzmq-${pkgver} py2zmq-${pkgver}
+
+  cd "$srcdir/py2zmq-$pkgver"
+  sed -i 's|^#!/usr/bin/env python$|&2|' $(find ./ -name '*.py')
+}
+
+build() {
+  cd "$srcdir"
+}
+
+package_python-pyzmq() {
+  pkgdesc="Python3 bindings for zeromq, written in Cython"
+  cd "$srcdir/pyzmq-$pkgver"
+  python3 setup.py install --root="$pkgdir" --optimize=0
+}
+
+package_python2-pyzmq() {
+  pkgdesc="Python2 bindings for zeromq, written in Cython"
+  depends=('zeromq' 'python2')
+  cd "$srcdir/py2zmq-$pkgver"
+  python2 setup.py install --root="$pkgdir" --optimize=0
+}
+
+check() {
+  cd "$srcdir/pyzmq-$pkgver"
+  python3 setup.py build_ext --inplace
+  python3 setup.py test
+  cd "$srcdir/py2zmq-$pkgver"
+  python2 setup.py build_ext --inplace
+  python2 setup.py test
+}
+

Reply via email to