aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-hbmqtt/APKBUILD
blob: 3465e1c3a2f9678a0f999b519a1f959918ddd1d6 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-hbmqtt
_pkgname=hbmqtt
pkgver=0.8
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"
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 || return 1
}

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

md5sums="d89361972a1f4a5ae3decc288d400c77  hbmqtt-0.8.tar.gz"
sha256sums="91c3d5558ed596d2182cb4e56ea14be29d1a5005747bb3b725ccb3bb0988ef82  hbmqtt-0.8.tar.gz"
sha512sums="c901ed61c63bc13387fbd38a213aa1e7d59861e090a2e73132779c03c455ce1d81f4bc61536b44c1c3184b67973c1affbdd8c72b355e94995e2a2c016c99dadf  hbmqtt-0.8.tar.gz"