summaryrefslogtreecommitdiffstats
path: root/testing/py-zmq/APKBUILD
blob: 9d718f3890781e1e3f61397e0effe4796f3be603 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-zmq
_pkgname=pyzmq
pkgver=2.2.0.1
pkgrel=0
pkgdesc="Python bindings for ZeroMQ"
url="http://pypi.python.org/pypi/pyzmq"
arch="all"
license="LGPL BSD"
depends=""
depends_dev=""
makedepends="python-dev py-setuptools zeromq-dev"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="f2f80709e84c8ac72d6671eee645d804  pyzmq-2.2.0.1.tar.gz"