aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-hbmqtt/APKBUILD
blob: d831bb105943e62a3bcf4956a240074f55d78077 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-hbmqtt
_pkgname=hbmqtt
pkgver=0.9.2
pkgrel=0
pkgdesc="MQTT client/broker using Python asynchronous I/O"
url="http://hbmqtt.readthedocs.io/"
arch="noarch"
license="MIT"
depends="py3-passlib py3-websockets py3-transitions py3-docopt py3-yaml"
makedepends="python3-dev py3-setuptools"
source="$_pkgname-$pkgver.tar.gz::https://github.com/beerfactory/hbmqtt/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="1cc28e33d69ff299182c5dfab78b911b35f45c5763efe202779bcba1dddbe001035b9466f5330763a47782008a1ed4363e2cfc0e219e01b663ab21c3e27cbfb7  hbmqtt-0.9.2.tar.gz"