summaryrefslogtreecommitdiff
path: root/community/python2-pyzmq/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-22 23:15:05 +0000
committerroot <root@rshg054.dnsready.net>2011-12-22 23:15:05 +0000
commit34e6c976d28892a7bd3f7578f10fcfa57865472f (patch)
treec3bd6b5146aa6393df096632e92c57d0fcd4e85a /community/python2-pyzmq/PKGBUILD
parent69d24275e4d5296a5f02e4c4d0fc438a80d159b8 (diff)
Thu Dec 22 23:15:04 UTC 2011
Diffstat (limited to 'community/python2-pyzmq/PKGBUILD')
-rw-r--r--community/python2-pyzmq/PKGBUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/python2-pyzmq/PKGBUILD b/community/python2-pyzmq/PKGBUILD
new file mode 100644
index 000000000..8ac19b91b
--- /dev/null
+++ b/community/python2-pyzmq/PKGBUILD
@@ -0,0 +1,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
+}