aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-hbmqtt
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2018-03-23 08:09:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-26 18:48:47 +0000
commit26183159f7e5cc9e7da55dd6a575b6bf8fb6de7b (patch)
treeb1edf3bc3b88e63fa7b1ba45c155bc9d83405102 /testing/py3-hbmqtt
parent08926b379e47265334d1fdff09f1b5c3109c7ce5 (diff)
downloadaports-26183159f7e5cc9e7da55dd6a575b6bf8fb6de7b.tar.bz2
aports-26183159f7e5cc9e7da55dd6a575b6bf8fb6de7b.tar.xz
testing/py3-hbmqtt: upgrade to 0.9.2
Diffstat (limited to 'testing/py3-hbmqtt')
-rw-r--r--testing/py3-hbmqtt/APKBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/testing/py3-hbmqtt/APKBUILD b/testing/py3-hbmqtt/APKBUILD
index 1ef5a484f1..d831bb1059 100644
--- a/testing/py3-hbmqtt/APKBUILD
+++ b/testing/py3-hbmqtt/APKBUILD
@@ -2,25 +2,30 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-hbmqtt
_pkgname=hbmqtt
-pkgver=0.9
+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"
+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 || return 1
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py test
}
package() {
cd "$builddir"
- python3 setup.py install --root="$pkgdir" --optimize=1 || return 1
+ python3 setup.py install --root="$pkgdir" --optimize=1
}
-sha512sums="495ba8dfbb34f37c15e2aa1e5bae05a2ae7483c7ff6c57a6c1ad7fccfbf1202229cdfe3c77c4d4056ba902f677d38e3e9aa02c2fffa1bf0cafb302d02f0797f6 hbmqtt-0.9.tar.gz"
+sha512sums="1cc28e33d69ff299182c5dfab78b911b35f45c5763efe202779bcba1dddbe001035b9466f5330763a47782008a1ed4363e2cfc0e219e01b663ab21c3e27cbfb7 hbmqtt-0.9.2.tar.gz"