From 185004029202009907e84b422e00c2e8bf28b7f8 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 10 Jun 2025 11:33:14 +0800 Subject: python3-pyais: upgrade 2.9.2 -> 2.9.4 Changelog: ============ * better error handling of invalid fragment counts * add support for variant of message type 8 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pyais_2.9.4.bb | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb (limited to 'meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb') diff --git a/meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb b/meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb new file mode 100644 index 0000000000..a661606b80 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb @@ -0,0 +1,29 @@ +SUMMARY = "AIS message decoding" +HOMEPAGE = "https://github.com/M0r13n/pyais" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=79d9e278b76e3e5b3358cd70b328173c" + +SRC_URI = "git://github.com/M0r13n/pyais;protocol=https;branch=master" + +PV .= "+git" +SRCREV = "e7780f743b03c5e6ecc651fdeb209fa94e0e0250" + +S = "${WORKDIR}/git" + +inherit python_setuptools_build_meta ptest-python-pytest + +PYPI_PACKAGE = "pyais" + +do_install_ptest:append() { + install -d ${D}${PTEST_PATH}/examples/ + install -Dm 0644 ${S}/examples/*.py ${D}${PTEST_PATH}/examples/ + install -Dm 0644 ${S}/examples/*.nmea ${D}${PTEST_PATH}/examples/ + install -Dm 0644 ${S}/examples/*.ais ${D}${PTEST_PATH}/examples/ +} + +RDEPENDS:${PN} = "python3-attrs python3-bitarray" +RDEPENDS:${PN}-ptest += "\ + python3-coverage \ + python3-mypy \ + python3-pytest-cov \ + " -- cgit v1.2.3-54-g00ecf