# Maintainer: Massimiliano Torromeo pkgname=python-stomp.py _libname=stomp_py pkgver=8.1.2 pkgrel=1 pkgdesc="Python STOMP client, supporting versions 1.0, 1.1 and 1.2 of the protocol" arch=(any) url="https://github.com/jasonrbriggs/stomp.py" license=(Apache-2.0) depends=(python python-docopt python-websocket-client) makedepends=(python-setuptools python-wheel python-build python-installer python-poetry) source=(https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz) sha256sums=('b56e62da090863cc65e5fbf832230318cd53e99dc777de19ecb04e83914f1371') build() { cd "$srcdir"/$_libname-$pkgver python -m build --wheel --no-isolation } package() { cd "$srcdir"/$_libname-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl install -Dm0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }