aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pyzmq/APKBUILD
blob: 9e3381adb16468dd87c378c2cba66ace78d55a35 (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
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-pyzmq
_pkgname=pyzmq
pkgver=18.1.0
pkgrel=0
pkgdesc="Python bindings for ZeroMQ"
url="https://pypi.python.org/pypi/pyzmq"
arch="all !s390x" # https://github.com/zeromq/pyzmq/issues/1274
license="LGPL-3.0-or-later AND BSD-3-Clause"
depends="python3"
makedepends="python3-dev py3-setuptools zeromq-dev"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces=py-zmq # Backwards compatibility
provides=py-zmq=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py build_ext --inplace
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="930b558fb4b763bb6bb04cdc2a1db8b93deb37b42fb7e42b8cd4ec2f6bf71178b2f7dffee930dae6f28b2ee8d0be00a93e3630186c669205b5b4930914aa3852  pyzmq-18.1.0.tar.gz"