summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dev-python/python-evdev: specify header locations, EAPI 7Brian Norris2018-10-031-0/+24
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