diff options
author | Brian Norris <briannorris@chromium.org> | 2018-09-26 15:59:20 -0700 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-10-03 12:00:46 +0200 |
commit | 898c59b8f44218f5d42ed8c696fe424fcb424988 (patch) | |
tree | 4a22ce8813348ae9d4bee2d179ced3af9e91e595 /dev-python/pytest-capturelog | |
parent | dev-libs/totem-pl-parser: add explicit build dep on glib-utils (diff) | |
download | gentoo-898c59b8f44218f5d42ed8c696fe424fcb424988.tar.gz gentoo-898c59b8f44218f5d42ed8c696fe424fcb424988.tar.bz2 gentoo-898c59b8f44218f5d42ed8c696fe424fcb424988.zip |
dev-python/python-evdev: specify header locations, EAPI 7
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
Diffstat (limited to 'dev-python/pytest-capturelog')
0 files changed, 0 insertions, 0 deletions