blob: 8ac19b91bbf5583c71e7a7d00e5ad99ce45d44f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Maintainer: Kyle Keen <keenerd at gmail dot com>
pkgname=python2-pyzmq
pkgver=2.1.11
pkgrel=1
pkgdesc="Python2 bindings for zeromq, written in Cython"
arch=(i686 x86_64)
url="http://www.zeromq.org/bindings:python"
license=('LGPL')
depends=(zeromq python2)
source=(https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz)
md5sums=('8ce303d022a1043669d4f239cddca746')
build() {
cd "$srcdir/pyzmq-$pkgver"
sed -i 's|^#!/usr/bin/env python$|&2|' $(find ./ -name '*.py')
python2 setup.py install --root="$pkgdir" --optimize=1
}
|