aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-zmq/APKBUILD
blob: 4d0d13f8592c6f9304cf5edeb9c80e7689d0f9e1 (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
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-zmq
_pkgname=pyzmq
pkgver=14.5.0
pkgrel=0
pkgdesc="Python bindings for ZeroMQ"
url="http://pypi.python.org/pypi/pyzmq"
arch="all"
license="LGPL3+ BSD"
depends=""
depends_dev=""
makedepends="python-dev py-setuptools zeromq-dev libzmq"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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

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

md5sums="8d3351a8ca2ca2a272a3f96bcb963e41  pyzmq-14.5.0.tar.gz"
sha256sums="5d6e045634456cf5496f50871fd3e3a5ede2b90433284dbfe985bb67c97f77bd  pyzmq-14.5.0.tar.gz"
sha512sums="20164f7b05c308e0f089c07fc46b1c522094f3ac136f2e0bba84f19cb63dfd36152a2465df723dd4d93c6fbd2de4f0d94c160e2bbc353a92cfd680eb03cbdc87  pyzmq-14.5.0.tar.gz"