dev-embedded/qmk - 1.2.0 (vimproved)

Search

Install

Install this version:

emerge -a =dev-embedded/qmk-1.2.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-embedded/qmk-1.2.0

Or alternatively:

emerge --autounmask-write -a =dev-embedded/qmk-1.2.0

Package Information

Description:
A program to help users work with QMK Firmware
Homepage:
https://qmk.fm/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.2.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{13..14} )

inherit distutils-r1 pypi udev

DESCRIPTION="A program to help users work with QMK Firmware"
HOMEPAGE="https://qmk.fm/"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	app-mobilephone/dfu-util
	dev-embedded/avrdude
	dev-embedded/dfu-programmer
	dev-python/dotty-dict[${PYTHON_USEDEP}]
	dev-python/hid[${PYTHON_USEDEP}]
	dev-python/hjson[${PYTHON_USEDEP}]
	dev-python/jsonschema[${PYTHON_USEDEP}]
	dev-python/milc[${PYTHON_USEDEP}]
	dev-python/pillow[${PYTHON_USEDEP}]
	dev-python/pygments[${PYTHON_USEDEP}]
	dev-python/pyserial[${PYTHON_USEDEP}]
	dev-python/pyusb[${PYTHON_USEDEP}]
	!dev-embedded/qmk-udev-rules
"

distutils_enable_tests import-check

src_test() {
	local -x ORIG_CWD="${T}"
	local -x QMK_HOME="${T}"
	distutils-r1_src_test
}

src_install() {
	distutils-r1_src_install
	udev_dorules "${FILESDIR}/50-${PN}.rules"
}

pkg_postinst() {
	udev_reload
	einfo "To use ${PN}, use sys-devel/crossdev to setup the avr and arm-none-eabi toolchains."
}

pkg_postrm() {
	udev_reload
}

Inherited Eclasses

Dependencies

RDEPEND

	app-mobilephone/dfu-util
	dev-embedded/avrdude
	dev-embedded/dfu-programmer
	dev-python/dotty-dict[]
	dev-python/hid[]
	dev-python/hjson[]
	dev-python/jsonschema[]
	dev-python/milc[]
	dev-python/pillow[]
	dev-python/pygments[]
	dev-python/pyserial[]
	dev-python/pyusb[]
	!dev-embedded/qmk-udev-rules