[arch-commits] Commit in python-pyzmq/repos/community-staging-x86_64 (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 17:40:20 UTC 2019
Date: Thursday, October 31, 2019 @ 17:40:19
Author: foutrelis
Revision: 521372
archrelease: copy trunk to community-staging-x86_64
Added:
python-pyzmq/repos/community-staging-x86_64/PKGBUILD
(from rev 521371, python-pyzmq/trunk/PKGBUILD)
Deleted:
python-pyzmq/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:40:15 UTC (rev 521371)
+++ PKGBUILD 2019-10-31 17:40:19 UTC (rev 521372)
@@ -1,44 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail dot com>
-pkgbase=python-pyzmq
-pkgname=(python-pyzmq python2-pyzmq)
-pkgver=18.1.0
-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')
-#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=('3c8039d007bbbd08a2275f52f5dc9a35')
-
-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-staging-x86_64/PKGBUILD (from rev 521371, python-pyzmq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:40:19 UTC (rev 521372)
@@ -0,0 +1,44 @@
+# Maintainer: Kyle Keen <keenerd at gmail dot com>
+pkgbase=python-pyzmq
+pkgname=(python-pyzmq python2-pyzmq)
+pkgver=18.1.0
+pkgrel=3
+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=('3c8039d007bbbd08a2275f52f5dc9a35')
+
+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