Skip to content

Instantly share code, notes, and snippets.

@moritzmhmk
Created March 21, 2018 20:43
Show Gist options
  • Save moritzmhmk/89e72467a9e2599340ee5cb582c11429 to your computer and use it in GitHub Desktop.
Save moritzmhmk/89e72467a9e2599340ee5cb582c11429 to your computer and use it in GitHub Desktop.
python-evdev buildroot
config BR2_PACKAGE_PYTHON_EVDEV
bool "python-evdev"
help
Bindings to the Linux input handling subsystem.
https://github.com/gvalkov/python-evdev
# md5 from https://pypi.python.org/pypi/evdev/json, sha256 locally computed
md5 c7e855ae9f97f869a59e75b29f05ce74 evdev-0.7.0.tar.gz
sha256 57edafc469a414f58b51af1bfb9ee2babb9f626dd2df530d71c1176871850aa1 evdev-0.7.0.tar.gz
sha256 062e7b255501e598ba040b507e077f51c8c91734c21520920f70eeb5c5280ae6 LICENSE
################################################################################
#
# python-evdev
#
################################################################################
PYTHON_EVDEV_VERSION = 0.7.0
PYTHON_EVDEV_SOURCE = evdev-$(PYTHON_EVDEV_VERSION).tar.gz
PYTHON_EVDEV_SITE = https://pypi.python.org/packages/67/15/eac376f3e1fc1960a54439c21459b2582e68340001aff83b4ace9e5bd110
PYTHON_EVDEV_SETUP_TYPE = setuptools
PYTHON_EVDEV_LICENSE = BSD-3-Clause
PYTHON_EVDEV_LICENSE_FILES = LICENSE
PYTHON_EVDEV_BUILD_OPTS = \
build_ecodes \
--evdev-headers $(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h
$(eval $(python-package))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment