I don't think a runtime dependency is warranted for these two tools, so
let's just inform users about the dependency.
Closes: https://bugs.gentoo.org/703800
Signed-off-by: Matt Turner <mattst88@gentoo.org>
}
pkg_postinst() {
+ pkgname="dev-python/python-libevdev"
+ if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "${pkgname}"; then
+ einfo "${pkgname} must be installed to use the"
+ einfo "libinput measure and libinput replay tools."
+ fi
+
udevadm hwdb --update --root="${ROOT}"
}