diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb b/meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb new file mode 100644 index 0000000000..53996cc231 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyais_2.9.4.bb | |||
@@ -0,0 +1,28 @@ | |||
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 = "e7780f743b03c5e6ecc651fdeb209fa94e0e0250" | ||
10 | |||
11 | |||
12 | inherit python_setuptools_build_meta ptest-python-pytest | ||
13 | |||
14 | PYPI_PACKAGE = "pyais" | ||
15 | |||
16 | do_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 | |||
23 | RDEPENDS:${PN} = "python3-attrs python3-bitarray" | ||
24 | RDEPENDS:${PN}-ptest += "\ | ||
25 | python3-coverage \ | ||
26 | python3-mypy \ | ||
27 | python3-pytest-cov \ | ||
28 | " | ||