Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config/ot2_defconfig: select libevdev #81

Open
wants to merge 3 commits into
base: opentrons-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions configs/ot2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ BR2_PACKAGE_PYTHON3_XZ=y
BR2_PACKAGE_PYTHON_AIONOTIFY=y
BR2_PACKAGE_PYTHON_CHARDET=y
BR2_PACKAGE_PYTHON_FASTAPI=y
BR2_PACKAGE_PYTHON_EVDEV=y
BR2_PACKAGE_PYTHON_JSONRPCCLIENT=y
BR2_PACKAGE_PYTHON_JSONRPCSERVER=y
BR2_PACKAGE_PYTHON_MULTIPART=y
Expand All @@ -64,6 +65,7 @@ BR2_PACKAGE_LIBRESSL=y
BR2_PACKAGE_LIBRESSL_BIN=y
BR2_PACKAGE_LIBGPIOD=y
BR2_PACKAGE_JSON_C=y
BR2_PACKAGE_LIBEVDEV=y
BR2_PACKAGE_AVAHI=y
# BR2_PACKAGE_AVAHI_AUTOIPD is not set
BR2_PACKAGE_AVAHI_DAEMON=y
Expand Down
7 changes: 7 additions & 0 deletions package/python-evdev/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_EVDEV
bool "python-evdev"
select BR_PACKAGE_LIBEVDEV
help
Bindings to the Linux input handling subsystem.

https://github.com/gvalkov/python-evdev
5 changes: 5 additions & 0 deletions package/python-evdev/python-evdev.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/evdev/json
md5 05f9e900d6e11e1674475d2dd2668f0d evdev-1.3.0.tar.gz
sha256 b1c649b4fed7252711011da235782b2c260b32e004058d62473471e5cd30634d evdev-1.3.0.tar.gz
# Locally computed sha256 checksums
sha256 062e7b255501e598ba040b507e077f51c8c91734c21520920f70eeb5c5280ae6 LICENSE
15 changes: 15 additions & 0 deletions package/python-evdev/python-evdev.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
################################################################################
#
# python-evdev
#
################################################################################

PYTHON_EVDEV_VERSION = 1.3.0
PYTHON_EVDEV_SOURCE = evdev-$(PYTHON_EVDEV_VERSION).tar.gz
PYTHON_EVDEV_SITE = https://files.pythonhosted.org/packages/89/83/5f5635fd0d91a08ac355dd9ca9bde34bfa6b29a5c59f703ad83d1ad0bf34
PYTHON_EVDEV_SETUP_TYPE = bdist_wheel
PYTHON_EVDEV_LICENSE = BSD-3-Clause
PYTHON_EVDEV_LICENSE_FILES = LICENSE
PYTHON_EVDEV_BUILD_OPTS = build_ext build_ecodes

$(eval $(python-package))