From c1c7af9680965b367899bcc47df44b113c804a75 Mon Sep 17 00:00:00 2001 From: Liu Yiding Date: Tue, 10 Mar 2026 16:22:19 +0800 Subject: python3-xmodem: upgrade 0.4.7 -> 0.5.0 bugfix: retry_limit was never actually triggered during the data transfer phase because errors never accumulated, and enhancement: replace 3x getc() calls with a single recv() call, reducing timing and failed packets when using fast serial lines without flow control. Signed-off-by: Liu Yiding Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-xmodem_0.4.7.bb | 19 ------------------- .../recipes-devtools/python/python3-xmodem_0.5.0.bb | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb create mode 100644 meta-python/recipes-devtools/python/python3-xmodem_0.5.0.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb b/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb deleted file mode 100644 index e41afb56c0..0000000000 --- a/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "XMODEM protocol implementation" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=90bc9522130d68de0dcbf33707bbf124" - -SRC_URI[sha256sum] = "2f1068aa8676f0d1d112498b5786c4f8ea4f89d8f25d07d3a0f293cd21db1c35" - -inherit pypi setuptools3 - -do_install:append() { - install -d ${D}${docdir}/${PN} - mv ${D}${prefix}/doc/* ${D}${docdir}/${PN}/ - rmdir ${D}${prefix}/doc -} - -RDEPENDS:${PN} += " \ - python3-logging \ -" -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-xmodem_0.5.0.bb b/meta-python/recipes-devtools/python/python3-xmodem_0.5.0.bb new file mode 100644 index 0000000000..55305c6cb9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-xmodem_0.5.0.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "XMODEM protocol implementation" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=90bc9522130d68de0dcbf33707bbf124" + +SRC_URI[sha256sum] = "a1a818f31c29412f1cab0cd69deccd7be77bc1feb516723af990d00161f6fb6a" + +inherit pypi python_setuptools_build_meta + +do_install:append() { + install -d ${D}${docdir}/${PN} + mv ${D}${prefix}/doc/* ${D}${docdir}/${PN}/ + rmdir ${D}${prefix}/doc +} + +RDEPENDS:${PN} += " \ + python3-logging \ +" +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf