blob: 1ef5a484f131a5b9c088626f65ae6e08229c2406 (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-hbmqtt
_pkgname=hbmqtt
pkgver=0.9
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
}
sha512sums="495ba8dfbb34f37c15e2aa1e5bae05a2ae7483c7ff6c57a6c1ad7fccfbf1202229cdfe3c77c4d4056ba902f677d38e3e9aa02c2fffa1bf0cafb302d02f0797f6 hbmqtt-0.9.tar.gz"
|