diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2023-03-08 19:05:32 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2023-03-08 19:05:32 +0100 |
| commit | e56cbcc1091c4dbe1d58e7e1705c25e4fdb64204 (patch) | |
| tree | cd664afbd684219607cfb4efa133869c0879dd2d /python-hat-juggler/PKGBUILD | |
| parent | 5c76c8ab23ba5ca51a4bc85e89c4d7bec6663087 (diff) | |
.
Diffstat (limited to 'python-hat-juggler/PKGBUILD')
| -rw-r--r-- | python-hat-juggler/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/python-hat-juggler/PKGBUILD b/python-hat-juggler/PKGBUILD new file mode 100644 index 0000000..8731ebb --- /dev/null +++ b/python-hat-juggler/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Bozo Kopic <bozo@kopic.xyz> + +_name=hat-juggler +pkgname=python-$_name +pkgver=0.6.10 +pkgrel=1 +pkgdesc="Juggler communication protocol" +url="https://github.com/hat-open/hat-juggler" +license=('Apache') +arch=('any') +depends=('python-aiohttp' 'python-hat-aio' 'python-hat-json' 'python-hat-util') +makedepends=('python-hat-doit' 'python-installer') +source=("https://github.com/hat-open/hat-juggler/archive/refs/tags/v$pkgver.tar.gz") +sha256sums=('179e8f7664898860c5cc127467e53e9fea103fdf410ae7f6e449b763f72784d6') + +build() { + cd "$srcdir/$_name-$pkgver" + python -m doit build_py +} + +package() { + cd "$srcdir/$_name-$pkgver" + python -m installer --destdir="$pkgdir" build/py/dist/*.whl + install -D -m 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} |
