Files
meta-openembedded/meta-python/recipes-devtools/python/python3-pyais_3.3.1.bb
T
Khem Raj 7aa85066b3 python3-pyais: upgrade 3.2.3 -> 3.3.1
Changes:
- 3.3.1: malformed input now raises InvalidNMEAMessageException
  instead of arbitrary Python errors, so one bad line can no longer
  terminate UDPReceiver, TCPConnection or IterMessages. Stricter NMEA
  validation: non-ASCII bytes, fill bits 0-5, fragment count/number
  ranges, tag block checksums.
- BREAKING-ish: multi-fragment messages are only assembled when
  fragments arrive in order starting at fragment 1; orphaned and
  out-of-order fragments are dropped.
- Fixed encode_dict() TypeError for truncated type 6, 8, 24 messages
  and encoding of non-byte-aligned or empty variable-length fields.
- 3.3.0/3.2.x: more type 6/8 application messages (DAC 1, DAC 367),
  faster decoding (also on PyPy), fixed messages spanning recv()
  calls, encoding CLI --talker split into --talker-id/--sentence-type.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-17 12:59:00 -08:00

28 lines
827 B
BlitzBasic

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=main;tag=v${PV}"
SRCREV = "0d62ef7071f327824618d804141f31fee3e01e29"
inherit python_setuptools_build_meta ptest-python-pytest
DEPENDS += "python3-wheel-native"
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 \
"