aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-hbmqtt/APKBUILD
blob: baceef37961475571c644e30a6e91d05fdd85e7d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                                                               
            





                                                                        
                                        




                                                                                               





                              



                      
                                                              

 
                                                                                                                                                                  
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-hbmqtt
_pkgname=hbmqtt
pkgver=0.9.4
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="5ad2e93da08233983edcc6be19d5eb61ade3966f2fd762b818622ca4b7d4fa6a8f8baddc213ee62b3d540806605eec6534291366ce7cdef0368f50a63769c6df  hbmqtt-0.9.4.tar.gz"