summaryrefslogtreecommitdiff
path: root/dev-python/python-evdev/python-evdev-0.7.0-r1.ebuild
AgeCommit message (Collapse)Author
2019-01-27dev-python/python-evdev: Drop oldPacho Ramos
Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
2018-10-03dev-python/python-evdev: specify header locations, EAPI 7Brian Norris
setup.py hardcodes /usr/include/linux/... paths. This doesn't work if cross-compiling or otherwise using a different $ROOT with a different set of headers, as the setup stage might pick up one set of headers, while the compilation might pick up another. Fortunately, setup.py supports an --evdev-headers arg so we can fix this. Let's use it. At the same time, bump to EAPI 7 to support ${SYSROOT}. Tested with pytest -- 1 existing test_uinput.py (test_abs_values()) failed before and after this change. Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/9978