summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyais_2.13.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyais_2.13.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyais_2.13.2.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyais_2.13.2.bb b/meta-python/recipes-devtools/python/python3-pyais_2.13.2.bb
new file mode 100644
index 0000000000..6f1723d3b8
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyais_2.13.2.bb
@@ -0,0 +1,26 @@
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
8SRCREV = "439783a1fa678cf18acfb75ccb9e02142cc72e2e"
9
10inherit python_setuptools_build_meta ptest-python-pytest
11
12PYPI_PACKAGE = "pyais"
13
14do_install_ptest:append() {
15 install -d ${D}${PTEST_PATH}/examples/
16 install -Dm 0644 ${S}/examples/*.py ${D}${PTEST_PATH}/examples/
17 install -Dm 0644 ${S}/examples/*.nmea ${D}${PTEST_PATH}/examples/
18 install -Dm 0644 ${S}/examples/*.ais ${D}${PTEST_PATH}/examples/
19}
20
21RDEPENDS:${PN} = "python3-attrs python3-bitarray"
22RDEPENDS:${PN}-ptest += "\
23 python3-coverage \
24 python3-mypy \
25 python3-pytest-cov \
26 "