summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyais_2.11.1.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2025-07-07 17:06:48 +0800
committerKhem Raj <raj.khem@gmail.com>2025-07-08 23:40:31 -0700
commit13893dfb6dcb595f375831c1a51e050f61214e52 (patch)
tree8751b18e906a4e1671b5bae82ec1ad1675d401ee /meta-python/recipes-devtools/python/python3-pyais_2.11.1.bb
parent16043b3f53654a2128044626fe59f5d9e60c1b46 (diff)
downloadmeta-openembedded-13893dfb6dcb595f375831c1a51e050f61214e52.tar.gz
python3-pyais: upgrade 2.9.4 -> 2.11.1
Changelog: =========== * apply fix from https://gitlab.com/holado_framework/python * pyais now handles type 16 messages shorter than 96 bit correctly * breaking: added two classes for type 16 - 'isinstance(msg, MessageType16)' checks will need updating * apply fixes from https://gitlab.com/holado_framework/python * closes: https://github.com/M0r13n/pyais/issues/183 * renamed custom 'JSONEncoder' to 'AISJSONEncoder' to avoid confusion with 'json.JSONEncoder' * refactored main.py ('ais-decode') for better error handling * added examples/ais-encode Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyais_2.11.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyais_2.11.1.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyais_2.11.1.bb b/meta-python/recipes-devtools/python/python3-pyais_2.11.1.bb
new file mode 100644
index 0000000000..5cafa44efb
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyais_2.11.1.bb
@@ -0,0 +1,28 @@
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=master"
7
8PV .= "+git"
9SRCREV = "b86b35e29b1f442d9bd20ce5ece4f4db8fb3dab5"
10
11
12inherit python_setuptools_build_meta ptest-python-pytest
13
14PYPI_PACKAGE = "pyais"
15
16do_install_ptest:append() {
17 install -d ${D}${PTEST_PATH}/examples/
18 install -Dm 0644 ${S}/examples/*.py ${D}${PTEST_PATH}/examples/
19 install -Dm 0644 ${S}/examples/*.nmea ${D}${PTEST_PATH}/examples/
20 install -Dm 0644 ${S}/examples/*.ais ${D}${PTEST_PATH}/examples/
21}
22
23RDEPENDS:${PN} = "python3-attrs python3-bitarray"
24RDEPENDS:${PN}-ptest += "\
25 python3-coverage \
26 python3-mypy \
27 python3-pytest-cov \
28 "