aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-zmq/APKBUILD
blob: ae9ac2c2484d247430579b3f929962266eb36304 (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: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-zmq
_pkgname=pyzmq
pkgver=15.0.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"
install=""
subpackages=""
source="https://files.pythonhosted.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="a4e357fe3574fc64a959e7a8e5373b9f  pyzmq-15.0.0.tar.gz"
sha256sums="376ca24cf365092d03bd1de00ed4319910aef84394cb4805a866bdf0b6d317bb  pyzmq-15.0.0.tar.gz"
sha512sums="7d42e6e2218ff9668db92cc68ea511a90bac4a4f950ca42d199b82cf17dee587c824be16ea0e315da7b482e7ced0d97769cc500bf9d0fa2eb8a5b7c764c8305f  pyzmq-15.0.0.tar.gz"