mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-29 02:28:21 +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
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7"
|
||||
|
||||
SRC_URI[sha256sum] = "3e0be507486d4e21cf9d08847c7e57dd61a1603950399985f7c5a0be7fd33e36"
|
||||
|
||||
inherit pypi setuptools3 ptest
|
||||
inherit pypi setuptools_build_meta ptest
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
@@ -21,10 +21,6 @@ RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
"
|
||||
|
||||
do_configure:prepend() {
|
||||
sed -i -e "/use_2to3=True,/d" ${S}/setup.py
|
||||
}
|
||||
|
||||
do_install_ptest() {
|
||||
cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user