mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-15 14:11:24 +00:00
280a10e58e
setuptools3.bbclass and python_setuptools_build_meta.bbclass no longer
add python3-wheel-native to DEPENDS by default, following oe-core
commit e546c697b7 ("classes/setuptools3: remove wheel dependency"),
since setuptools >= 70.1.0 no longer needs the external wheel package
to build a wheel.
This recipe's pyproject.toml/setup.py still declares wheel as a build
requirement, so pyproject-build's --no-isolation dependency check now
fails:
ERROR Unmet dependencies (checked against .../recipe-sysroot-native/usr/bin/nativepython3):
wheel
wanted: any
found: not installed
Add python3-wheel-native to DEPENDS directly to satisfy it.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
29 lines
850 B
BlitzBasic
29 lines
850 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=main;tag=v${PV}"
|
|
|
|
SRCREV = "293bc44c1e8740dd60f489205cc9edd72fd672f9"
|
|
|
|
inherit python_setuptools_build_meta ptest-python-pytest
|
|
|
|
DEPENDS += "python3-wheel-native"
|
|
|
|
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 \
|
|
"
|