[arch-commits] Commit in python-pyzmq/repos/community-x86_64 (PKGBUILD PKGBUILD)

Kyle Keen kkeen at archlinux.org
Fri Mar 8 02:00:46 UTC 2019


    Date: Friday, March 8, 2019 @ 02:00:45
  Author: kkeen
Revision: 438035

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   89 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-08 01:59:59 UTC (rev 438034)
+++ PKGBUILD	2019-03-08 02:00:45 UTC (rev 438035)
@@ -1,45 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail dot com>
-pkgbase=python-pyzmq
-pkgname=(python-pyzmq python2-pyzmq)
-pkgver=17.1.2
-pkgrel=1
-pkgdesc="Python bindings for zeromq, written in Cython"
-arch=('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=('6f5d77cb5ec1617ce9b6e5ad7c6174fb')
-
-prepare() {
-  cd "$srcdir"
-  cp -a pyzmq-${pkgver} py2zmq-${pkgver}
-}
-
-check() {
-  # tests currently don't pass, but seems to run okay
-  cd "$srcdir/py2zmq-$pkgver"
-  python2 setup.py build_ext --inplace
-  #python2 setup.py test
-  cd "$srcdir/pyzmq-$pkgver"
-  python3 setup.py build_ext --inplace
-  #python3 setup.py test
-}
-
-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
-}

Copied: python-pyzmq/repos/community-x86_64/PKGBUILD (from rev 438034, python-pyzmq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-08 02:00:45 UTC (rev 438035)
@@ -0,0 +1,44 @@
+# Maintainer: Kyle Keen <keenerd at gmail dot com>
+pkgbase=python-pyzmq
+pkgname=(python-pyzmq python2-pyzmq)
+pkgver=18.0.1
+pkgrel=1
+pkgdesc="Python bindings for zeromq, written in Cython"
+arch=('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=('5a6ed2085bc5e96aa5513fc5cd4a819f')
+
+prepare() {
+  cd "$srcdir"
+  cp -a pyzmq-${pkgver} py2zmq-${pkgver}
+}
+
+check() {
+  cd "$srcdir/py2zmq-$pkgver"
+  python2 setup.py build_ext --inplace
+  python2 setup.py test
+  cd "$srcdir/pyzmq-$pkgver"
+  python3 setup.py build_ext --inplace
+  python3 setup.py test
+}
+
+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
+}


More information about the arch-commits mailing list