diff options
Diffstat (limited to 'experimental/py3-hbmqtt')
-rw-r--r-- | experimental/py3-hbmqtt/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/experimental/py3-hbmqtt/APKBUILD b/experimental/py3-hbmqtt/APKBUILD index e3f10e5ca..35172edf4 100644 --- a/experimental/py3-hbmqtt/APKBUILD +++ b/experimental/py3-hbmqtt/APKBUILD @@ -2,7 +2,9 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=py3-hbmqtt _pkgname=${pkgname#py3-} -pkgver=0.9.5 +_p="${_pkgname#?}" +_p="${_pkgname%"$_p"}" +pkgver=0.9.5 pkgrel=0 pkgdesc="MQTT client/broker using Python and asyncio" url="https://pypi.org/project/hbmqtt/" @@ -12,7 +14,7 @@ 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" +source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { |