mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-18 22:32:28 +01:00
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
# Contributor: Galen Abell <galen@galenabell.com>
|
|
# Contributor: Nulo <alpine@nulo.in>
|
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
|
pkgname=qmk-cli
|
|
pkgver=1.0.0
|
|
pkgrel=3
|
|
pkgdesc="QMK helper CLI"
|
|
url="https://github.com/qmk/qmk_cli"
|
|
arch="noarch"
|
|
license="MIT"
|
|
# py3-hidapi is not a dependency of qmk-cli but is required to work with
|
|
# a qmk_firmware repository
|
|
depends="
|
|
python3
|
|
py3-dotty-dict
|
|
py3-hidapi
|
|
py3-hjson
|
|
py3-jsonschema
|
|
py3-milc
|
|
py3-pygments
|
|
py3-usb
|
|
"
|
|
makedepends="py3-setuptools py3-build py3-installer py3-wheel"
|
|
options="!check" # no tests
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/qmk/qmk_cli/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/qmk_cli-$pkgver"
|
|
|
|
build() {
|
|
python3 -m build --skip-dependency-check --no-isolation --wheel .
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" --compile-bytecode 0 \
|
|
dist/qmk-$pkgver-py2.py3-none-any.whl
|
|
}
|
|
|
|
sha512sums="
|
|
e78207d5be82b29d3c1b623cfb7931a8af1b6cb6d07001d871f5a0bbc189e8aa5ee3d1df317105914295a325da56c38f9be47d1d4b8c5387515cd80f29764d41 qmk-cli-1.0.0.tar.gz
|
|
"
|