Date: Monday, July 8, 2019 @ 02:54:53 Author: kkeen Revision: 487670 archrelease: copy trunk to community-x86_64
Added: python-pyzmq/repos/community-x86_64/PKGBUILD (from rev 487669, python-pyzmq/trunk/PKGBUILD) Deleted: python-pyzmq/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-07-08 02:54:35 UTC (rev 487669) +++ PKGBUILD 2019-07-08 02:54:53 UTC (rev 487670) @@ -1,44 +0,0 @@ -# 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 -} Copied: python-pyzmq/repos/community-x86_64/PKGBUILD (from rev 487669, python-pyzmq/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-07-08 02:54:53 UTC (rev 487670) @@ -0,0 +1,44 @@ +# Maintainer: Kyle Keen <keenerd at gmail dot com> +pkgbase=python-pyzmq +pkgname=(python-pyzmq python2-pyzmq) +pkgver=18.0.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=('1bcdc3a18c99875e01a24735dc168b8d') + +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 +}