meta-openembedded/meta-python/recipes-devtools/python/python3-can_4.0.0.bb
Ben Powell 3c7b2d5ae2 python3-can: Add typing-extensions dependency
The python-can 4.0.0 release introduced a dependency on the
typing_extensions module:

    $ python3
    Python 3.8.10 (default, Mar 15 2022, 12:22:08)
    [GCC 9.4.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import can
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "python-can/can/__init__.py", line 17, in <module>
        from .listener import Listener, BufferedReader, RedirectReader, AsyncBufferedReader
      File "python-can/can/listener.py", line 12, in <module>
        from can.message import Message
      File "python-can/can/message.py", line 11, in <module>
        from . import typechecking
      File "python-can/can/typechecking.py", line 9, in <module>
        import typing_extensions
    ModuleNotFoundError: No module named 'typing_extensions'

Signed-off-by: Ben Powell <ben_powell@trimble.com>
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-30 13:39:28 -04:00

28 lines
748 B
BlitzBasic

SUMMARY = "Controller Area Network (CAN) interface module for Python"
SECTION = "devel/python"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e6a600fd5e1d9cbde2d983680233ad02"
SRC_URI[sha256sum] = "59d92846ffb981e634e9e0f2d14a6b4967a875e3869bd2ba168c92c4db6b8b5d"
PYPI_PACKAGE="python-can"
inherit pypi setuptools3
RDEPENDS:${PN}:class-target += "\
${PYTHON_PN}-aenum \
${PYTHON_PN}-ctypes \
${PYTHON_PN}-codecs \
${PYTHON_PN}-compression \
${PYTHON_PN}-fcntl \
${PYTHON_PN}-logging \
${PYTHON_PN}-misc \
${PYTHON_PN}-netserver \
${PYTHON_PN}-sqlite3 \
${PYTHON_PN}-wrapt \
${PYTHON_PN}-pkg-resources \
${PYTHON_PN}-typing-extensions \
"
BBCLASSEXTEND = "native nativesdk"