diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-07-19 18:26:31 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-07-19 18:26:31 +0000 |
commit | e3474c0277343cc742ae56e87f590a8a1172aed0 (patch) | |
tree | 93e2192c8acc66e77c5692e78509373f734415e5 /experimental/py3-hbmqtt/APKBUILD | |
parent | e9330114843599953e1e25cd7b0d254323f1bd66 (diff) | |
download | packages-e3474c0277343cc742ae56e87f590a8a1172aed0.tar.gz packages-e3474c0277343cc742ae56e87f590a8a1172aed0.tar.bz2 packages-e3474c0277343cc742ae56e87f590a8a1172aed0.tar.xz packages-e3474c0277343cc742ae56e87f590a8a1172aed0.zip |
user/py3-hbmqtt: broken on everything but ppc64; -> experimental
Diffstat (limited to 'experimental/py3-hbmqtt/APKBUILD')
-rw-r--r-- | experimental/py3-hbmqtt/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/experimental/py3-hbmqtt/APKBUILD b/experimental/py3-hbmqtt/APKBUILD new file mode 100644 index 000000000..e3f10e5ca --- /dev/null +++ b/experimental/py3-hbmqtt/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=py3-hbmqtt +_pkgname=${pkgname#py3-} +pkgver=0.9.5 +pkgrel=0 +pkgdesc="MQTT client/broker using Python and asyncio" +url="https://pypi.org/project/hbmqtt/" +arch="noarch" +license="MIT" +depends="python3" +checkdepends="py3-docopt py3-passlib py3-pyyaml py3-six py3-transitions py3-websockets" +makedepends="python3-dev" +subpackages="" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + mkdir -p "$pkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="f5b1a301268c7af300a407a1a9734ba74ced825883e6740cc9d4e2eed4db48c55f6d76e4911a69743e1db514b1f2b4a05abb2320f40c349f2ac7a1d6c38d1642 hbmqtt-0.9.5.tar.gz" |