aports/testing/rosh/APKBUILD
2023-11-13 10:23:28 +00:00

36 lines
858 B
Plaintext

# Maintainer: Thomas Liske <thomas@fiasko-nw.net>
pkgname=rosh
pkgver=0.1.3
pkgrel=0
pkgdesc="diagnostic shell for Linux-based routers"
url="https://codeberg.org/liske/rosh"
arch="noarch"
license="GPL-3.0-or-later"
depends="iproute2
python3
py3-cachetools
py3-prettytable3
py3-prompt_toolkit
py3-pyroute2
py3-fuzzyfinder
py3-setproctitle"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
options="!check" # no tests available
source="https://files.pythonhosted.org/packages/source/r/rosh/rosh-$pkgver.tar.gz"
subpackages="$pkgname-pyc"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
0af50242bec1362672f2a844de5639ad5c5c467e811b5b7cfe86a64b6c1a2b7d7b64e7d166aa20c173c9ccd85f76c8e9d0a78734b845336b9c8886e9efd1f6d6 rosh-0.1.3.tar.gz
"