mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 10:59:19 +00:00
this release reduces the supply chain attack surface - pins dependencies - pins workflows - adds a SHA256 hash sum for deployed artifacts - migrates to PyPI trusted publishing Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
27 lines
817 B
BlitzBasic
27 lines
817 B
BlitzBasic
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;tag=v${PV}"
|
|
|
|
SRCREV = "6cec67eb8e48c2254bd7bc31415f8df60ecb11ce"
|
|
|
|
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 \
|
|
"
|