mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-13 08:36:23 +02:00
43 lines
1.0 KiB
Plaintext
43 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.1.2
|
|
pkgrel=1
|
|
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-gpep517 py3-installer py3-wheel"
|
|
options="!check" # no tests
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/qmk/qmk_cli/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/qmk_cli-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
1885a7c7c6defb26de85b6a2b43b544a579f5bc831001a1336d0c7c53c6530b850f8cd1a547994396ee639cb3c1980352946db65395227be645ad7d47f37313d qmk-cli-1.1.2.tar.gz
|
|
"
|