mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-21 11:58:24 +00:00
meta-python: migrate away from setuptool3 where possible
Many recipes are currently building with setuptools3 but can use a more modern tool: typically setuptools_build_meta but ordered-set can use flit_core and pyrad can use poetry_core. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
committed by
Trevor Gamblin
parent
935dd6efa8
commit
ff7312f048
@@ -6,17 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=440a4cdb311cd7ad181efb4cba06d562"
|
||||
|
||||
SRC_URI[sha256sum] = "183524e3db4e2a1fea92e0ca3662a624ba44c9f3568da15679d7535ba6838a6a"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
# Workaround for network access issue during compile step
|
||||
# this needs to be fixed in the recipes buildsystem to move
|
||||
# this such that it can be accomplished during do_fetch task
|
||||
do_compile[network] = "1"
|
||||
|
||||
DEPENDS += "\
|
||||
${PYTHON_PN}-wheel-native \
|
||||
${PYTHON_PN}-pip-native \
|
||||
"
|
||||
inherit pypi setuptools_build_meta
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
|
||||
Reference in New Issue
Block a user