Date: Wednesday, March 11, 2020 @ 22:37:56 Author: kkeen Revision: 594678
archrelease: copy trunk to community-x86_64 Added: python-pyzmq/repos/community-x86_64/PKGBUILD (from rev 594677, python-pyzmq/trunk/PKGBUILD) Deleted: python-pyzmq/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-11 22:37:39 UTC (rev 594677) +++ PKGBUILD 2020-03-11 22:37:56 UTC (rev 594678) @@ -1,44 +0,0 @@ -# Maintainer: Kyle Keen <keenerd at gmail dot com> -pkgbase=python-pyzmq -pkgname=(python-pyzmq python2-pyzmq) -pkgver=18.1.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=('d850bbab7c7f558b91c95b19028ff4b8') - -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 -} Copied: python-pyzmq/repos/community-x86_64/PKGBUILD (from rev 594677, python-pyzmq/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-11 22:37:56 UTC (rev 594678) @@ -0,0 +1,44 @@ +# Maintainer: Kyle Keen <keenerd at gmail dot com> +pkgbase=python-pyzmq +pkgname=(python-pyzmq python2-pyzmq) +pkgver=19.0.0 +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' '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=('4650e45ebcf8e08620211c0e720d6066') + +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 +}