similarity index 83%
rename from meta-python/recipes-devtools/python/python3-can_4.4.2.bb
rename to meta-python/recipes-devtools/python/python3-can_4.5.0.bb
@@ -4,13 +4,15 @@ SECTION = "devel/python"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e6a600fd5e1d9cbde2d983680233ad02"
-SRC_URI[sha256sum] = "1c46c0935f39f7a9c3e76b03249af0580689ebf7a1844195e92f87257f009df5"
+SRC_URI[sha256sum] = "d3684cebe5b028a148c1742b3a45cec4fcaf83a7f7c52d0680b2eaeaf52f8eb7"
PYPI_PACKAGE = "python_can"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
inherit pypi python_setuptools_build_meta
+DEPENDS += "python3-setuptools-scm-native"
+
RDEPENDS:${PN} += "\
python3-aenum \
python3-asyncio \
@@ -21,6 +23,7 @@ RDEPENDS:${PN} += "\
python3-json \
python3-logging \
python3-misc \
+ python3-msgpack \
python3-netserver \
python3-packaging \
python3-pkg-resources \
python3-can 4.4.y requires msgpack~=1.0.0, but openembedded-core versions newer than scarthgap provide msgpack 1.1.0 [1], causing "pip check" to fail with the following error: python-can 4.4.2 has requirement msgpack~=1.0.0; platform_system != "Windows", but you have msgpack 1.1.0. This patch resolves the issue by updating python3-can to 4.5.0. [1] https://layers.openembedded.org/layerindex/recipe/66997/ Signed-off-by: Richard Leitner <dev@g0hl1n.net> --- .../python/{python3-can_4.4.2.bb => python3-can_4.5.0.bb} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-can_4.4.2.bb => python3-can_4.5.0.bb} (83%)