mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-30 09:21:24 +00:00
python3-pyais: upgrade 2.11.1 -> 2.12.0
Changelog: ============= * BREAKING: Renamed pyais/main.py to pyais/ais_decode.py direct imports from pyais.main will fail * added ais-encode as installable CLI tool via pip install Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
28
meta-python/recipes-devtools/python/python3-pyais_2.12.0.bb
Normal file
28
meta-python/recipes-devtools/python/python3-pyais_2.12.0.bb
Normal file
@@ -0,0 +1,28 @@
|
||||
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=master"
|
||||
|
||||
PV .= "+git"
|
||||
SRCREV = "4ec68378f76c49825b5662a052e6834d7b44b96c"
|
||||
|
||||
|
||||
inherit python_setuptools_build_meta ptest-python-pytest
|
||||
|
||||
PYPI_PACKAGE = "pyais"
|
||||
|
||||
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 \
|
||||
"
|
||||
Reference in New Issue
Block a user