summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyais_3.0.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2026-04-14 18:38:34 +0800
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-04-14 08:59:34 -0700
commite249a4e8df949d24be4ffaf36421db5cc05abcdc (patch)
tree1fa35ba0b8178c3a6423952bc624e550465678f5 /meta-python/recipes-devtools/python/python3-pyais_3.0.0.bb
parentd61051de6b64d2ec3e68d49e6f4b1e599e804621 (diff)
downloadmeta-openembedded-e249a4e8df949d24be4ffaf36421db5cc05abcdc.tar.gz
python3-pyais: upgrade 2.20.1 -> 3.0.0
Changelog: =========== - ~35% faster compared to v2 - breaking Changes removed bitarray dependency. Replaced with a custom bit_vector renamed AISSentence.bit_array to AISSentence.bv renamed Payload.from_bitarray() to Payload.from_vector() renamed Payload.to_bitarray() to Payload.to_bytes() changed overflow encoding behavior deprecated NonPrintableCharacterException dropped support for Python 3.9 - removed bitarray as an external dependency - improved performance through a custom bit vector implementation - optimized single-fragment message assembly - NOTE: If you are not ready to migrate, v2 continues to receive bugfixes on the legacy branch Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyais_3.0.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyais_3.0.0.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyais_3.0.0.bb b/meta-python/recipes-devtools/python/python3-pyais_3.0.0.bb
new file mode 100644
index 0000000000..a8b8777821
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyais_3.0.0.bb
@@ -0,0 +1,26 @@
1SUMMARY = "AIS message decoding"
2HOMEPAGE = "https://github.com/M0r13n/pyais"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=79d9e278b76e3e5b3358cd70b328173c"
5
6SRC_URI = "git://github.com/M0r13n/pyais;protocol=https;branch=main;tag=v${PV}"
7
8SRCREV = "a88659ae381487e547fde3c18ab45cfe572b1094"
9
10inherit python_setuptools_build_meta ptest-python-pytest
11
12PYPI_PACKAGE = "pyais"
13
14do_install_ptest:append() {
15 install -d ${D}${PTEST_PATH}/examples/
16 install -Dm 0644 ${S}/examples/*.py ${D}${PTEST_PATH}/examples/
17 install -Dm 0644 ${S}/examples/*.nmea ${D}${PTEST_PATH}/examples/
18 install -Dm 0644 ${S}/examples/*.ais ${D}${PTEST_PATH}/examples/
19}
20
21RDEPENDS:${PN} = "python3-attrs python3-bitarray"
22RDEPENDS:${PN}-ptest += "\
23 python3-coverage \
24 python3-mypy \
25 python3-pytest-cov \
26 "