python3-evdev_1.9.2.bb 789 B

123456789101112131415161718192021222324
  1. SUMMARY = "Python evdev lib"
  2. HOMEPAGE = "https://github.com/gvalkov/python-evdev"
  3. LICENSE = "BSD-3-Clause"
  4. LIC_FILES_CHKSUM = "file://LICENSE;md5=d7bd1cc4c71b706c7e2d4053aef50f2a"
  5. SRC_URI[sha256sum] = "5d3278892ce1f92a74d6bf888cc8525d9f68af85dbe336c95d1c87fb8f423069"
  6. inherit pypi python_setuptools_build_meta ptest-python-pytest
  7. do_compile:prepend() {
  8. rm -rf ${S}/evdev/ecodes.c
  9. }
  10. PEP517_BUILD_OPTS = "--config-setting=--build-option='build_ecodes \
  11. --evdev-headers ${STAGING_DIR_TARGET}/usr/include/linux/input.h:${STAGING_DIR_TARGET}/usr/include/linux/input-event-codes.h:${STAGING_DIR_TARGET}/usr/include/linux/uinput.h \
  12. --reproducible'"
  13. RDEPENDS:${PN} += "\
  14. python3-ctypes \
  15. python3-fcntl \
  16. python3-io \
  17. python3-shell \
  18. python3-stringold \
  19. "