devel/py-libevdev: Switch to pep517 Pull Request: https://github.com/freebsd/freebsd-ports/pull/3508fb56d675f
Port details
devel/py-libevdev0.11_2
Python wrapper around the libevdev C library
- Maintainer
- awoonyaa@gmail.com
- Packages
- py312-libevdev 0.11_2
- Upstream
- Higher version available: 0.13.1
- CPE
- none, CVEs only via VuXML
- WWW
- https://pypi.org/project/libevdev/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (3)
devel/py-libevdev: add missing dependency
>>> import libevdev
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.11/site-packages/libevdev/__init__.py", line 23, in <module>
from .device import Device, InputAbsInfo
File "/usr/local/lib/python3.11/site-packages/libevdev/device.py", line 29, in <module>
from .event import InputEvent
File "/usr/local/lib/python3.11/site-packages/libevdev/event.py", line 23, in <module>
from .const import EventType, EventCode
File "/usr/local/lib/python3.11/site-packages/libevdev/const.py", line 427, in <module>
_load_consts()
File "/usr/local/lib/python3.11/site-packages/libevdev/const.py", line 352, in _load_consts
Libevdev() # classmethods, need to make sure it's loaded at once
^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/libevdev/_clib.py", line 395, in __init__
super(Libevdev, self).__init__()
File "/usr/local/lib/python3.11/site-packages/libevdev/_clib.py", line 76, in __init__
self._load()
File "/usr/local/lib/python3.11/site-packages/libevdev/_clib.py", line 83, in _load
cls._lib = cls._cdll()
^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/libevdev/_clib.py", line 123, in _cdll
return ctypes.CDLL("libevdev.so.2", use_errno=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/ctypes/__init__.py", line 376, in __init__
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: Shared object "libevdev.so.2" not found, required by "python3.11"
Reported by: vishwinbc369d3450devel/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/273a4c87a5576