diff options
author | Жунёва Мария Михайловна <zhunyova@mts.ru> | 2024-05-28 18:38:14 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2025-02-15 23:53:56 +0000 |
commit | a4c87a5576a9239c2615ff9f2aca8465f20d4e00 (patch) | |
tree | dd0edcf30dac65e4d1d5b3ff7e2cef0a6f94e876 | |
parent | c401ec62d80a53c3470746084af75a75bb4d803c (diff) |
devel/py-libevdev: add new port
python-libevdev is a Python wrapper around the libevdev C library.
It provides a Pythonic API to read events from the Linux kernel’s input device
nodes and to read and/or modify the device’s state and capabilities.
Sponsored by: Serenity Cybersecurity, LLC
Closes: https://github.com/freebsd/freebsd-ports/pull/273
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-libevdev/Makefile | 19 | ||||
-rw-r--r-- | devel/py-libevdev/distinfo | 3 | ||||
-rw-r--r-- | devel/py-libevdev/pkg-descr | 3 |
4 files changed, 26 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index a3984c8efd92..15d5921ea7b6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5162,6 +5162,7 @@ SUBDIR += py-lazy_loader SUBDIR += py-libcst SUBDIR += py-libcst03 + SUBDIR += py-libevdev SUBDIR += py-libioc SUBDIR += py-libpeas SUBDIR += py-libplist diff --git a/devel/py-libevdev/Makefile b/devel/py-libevdev/Makefile new file mode 100644 index 000000000000..d0e00226b29f --- /dev/null +++ b/devel/py-libevdev/Makefile @@ -0,0 +1,19 @@ +PORTNAME= libevdev +PORTVERSION= 0.11 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= awoonyaa@gmail.com +COMMENT= Python wrapper around the libevdev C library +WWW= https://pypi.org/project/libevdev/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-libevdev/distinfo b/devel/py-libevdev/distinfo new file mode 100644 index 000000000000..a4605c928256 --- /dev/null +++ b/devel/py-libevdev/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1716916929 +SHA256 (libevdev-0.11.tar.gz) = e9ca006a4df2488a60bd9a740011ee948d81904be2364f017e560169508f560f +SIZE (libevdev-0.11.tar.gz) = 27320 diff --git a/devel/py-libevdev/pkg-descr b/devel/py-libevdev/pkg-descr new file mode 100644 index 000000000000..8393e4bbab24 --- /dev/null +++ b/devel/py-libevdev/pkg-descr @@ -0,0 +1,3 @@ +python-libevdev is a Python wrapper around the libevdev C library. +It provides a Pythonic API to read events from the Linux kernel’s input device +nodes and to read and/or modify the device’s state and capabilities. |