[arch-commits] Commit in python-pyzmq/repos (2 files)

Frederik Schwan freswa at archlinux.org
Wed Sep 16 23:11:28 UTC 2020


    Date: Wednesday, September 16, 2020 @ 23:11:28
  Author: freswa
Revision: 708418

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: python-pyzmq/repos/community-testing-x86_64/PKGBUILD (from rev 708417, python-pyzmq/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-09-16 23:11:28 UTC (rev 708418)
@@ -0,0 +1,44 @@
+# Maintainer: Kyle Keen <keenerd at gmail dot com>
+pkgbase=python-pyzmq
+pkgname=(python-pyzmq python2-pyzmq)
+pkgver=19.0.1
+pkgrel=2
+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' 'cython' 'cython2')
+#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=('2833bd5397e4069f63ad1f9f291f1f70')
+
+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