summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-04-10 12:51:29 -0700
committerKhem Raj <raj.khem@gmail.com>2025-04-10 18:39:31 -0700
commit9bd046856df3f48c060989b1591d959aa4135831 (patch)
tree03eee292d2da130786d3a51781fb1a0789ba3b6e /meta-python
parent9b0015577ce8717086ff1e4667638a81a3a5ebe4 (diff)
downloadmeta-openembedded-9bd046856df3f48c060989b1591d959aa4135831.tar.gz
python3-pyais: Add recipe
Ptests take < 1mins on qemux86-64/kvm Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/conf/include/ptest-packagelists-meta-python.inc1
-rw-r--r--meta-python/recipes-devtools/python/python3-pyais_2.9.2.bb29
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index 03b4d685f1..47a6430c96 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -57,6 +57,7 @@ PTESTS_FAST_META_PYTHON = "\
57 python3-precise-runner \ 57 python3-precise-runner \
58 python3-prettytable \ 58 python3-prettytable \
59 python3-propcache \ 59 python3-propcache \
60 python3-pyais \
60 python3-pyasyncore \ 61 python3-pyasyncore \
61 python3-pydantic \ 62 python3-pydantic \
62 python3-pydantic-core \ 63 python3-pydantic-core \
diff --git a/meta-python/recipes-devtools/python/python3-pyais_2.9.2.bb b/meta-python/recipes-devtools/python/python3-pyais_2.9.2.bb
new file mode 100644
index 0000000000..a1ae92985a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyais_2.9.2.bb
@@ -0,0 +1,29 @@
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 = "9ce53ae21f19e8dc6e7b841dd0ccc246898730ea"
10
11S = "${WORKDIR}/git"
12
13inherit python_setuptools_build_meta ptest-python-pytest
14
15PYPI_PACKAGE = "pyais"
16
17do_install_ptest:append() {
18 install -d ${D}${PTEST_PATH}/examples/
19 install -Dm 0644 ${S}/examples/*.py ${D}${PTEST_PATH}/examples/
20 install -Dm 0644 ${S}/examples/*.nmea ${D}${PTEST_PATH}/examples/
21 install -Dm 0644 ${S}/examples/*.ais ${D}${PTEST_PATH}/examples/
22}
23
24RDEPENDS:${PN} = "python3-attrs python3-bitarray"
25RDEPENDS:${PN}-ptest += "\
26 python3-coverage \
27 python3-mypy \
28 python3-pytest-cov \
29 "