diff options
| -rw-r--r-- | meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyais_2.9.2.bb | 29 |
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 @@ | |||
| 1 | SUMMARY = "AIS message decoding" | ||
| 2 | HOMEPAGE = "https://github.com/M0r13n/pyais" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=79d9e278b76e3e5b3358cd70b328173c" | ||
| 5 | |||
| 6 | SRC_URI = "git://github.com/M0r13n/pyais;protocol=https;branch=master" | ||
| 7 | |||
| 8 | PV .= "+git" | ||
| 9 | SRCREV = "9ce53ae21f19e8dc6e7b841dd0ccc246898730ea" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | inherit python_setuptools_build_meta ptest-python-pytest | ||
| 14 | |||
| 15 | PYPI_PACKAGE = "pyais" | ||
| 16 | |||
| 17 | do_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 | |||
| 24 | RDEPENDS:${PN} = "python3-attrs python3-bitarray" | ||
| 25 | RDEPENDS:${PN}-ptest += "\ | ||
| 26 | python3-coverage \ | ||
| 27 | python3-mypy \ | ||
| 28 | python3-pytest-cov \ | ||
| 29 | " | ||
