testing/py3-hbmqtt: upgrade to 0.9.2

This commit is contained in:
Fabian Affolter 2018-03-23 08:09:22 +00:00 committed by Natanael Copa
parent 08926b379e
commit 26183159f7

View File

@ -2,25 +2,30 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-hbmqtt pkgname=py3-hbmqtt
_pkgname=hbmqtt _pkgname=hbmqtt
pkgver=0.9 pkgver=0.9.2
pkgrel=0 pkgrel=0
pkgdesc="MQTT client/broker using Python asynchronous I/O" pkgdesc="MQTT client/broker using Python asynchronous I/O"
url="http://hbmqtt.readthedocs.io/" url="http://hbmqtt.readthedocs.io/"
arch="noarch" arch="noarch"
license="MIT" license="MIT"
depends="py3-passlib py3-websockets py3-transitions py3-docopt py3-yaml" 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" source="$_pkgname-$pkgver.tar.gz::https://github.com/beerfactory/hbmqtt/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver builddir="$srcdir"/$_pkgname-$pkgver
build() { build() {
cd "$builddir" cd "$builddir"
python3 setup.py build || return 1 python3 setup.py build
}
check() {
cd "$builddir"
python3 setup.py test
} }
package() { package() {
cd "$builddir" 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"