mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
classes: Update classes to match new bitbake class scope functionality
Move classes to classes-global or classes-recipe as appropriate to take advantage of new bitbake functionality to check class scope/usage. (From OE-Core rev: f5c128008365e141082c129417eb72d2751e8045) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
14
meta/classes-recipe/python_flit_core.bbclass
Normal file
14
meta/classes-recipe/python_flit_core.bbclass
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Copyright OpenEmbedded Contributors
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
inherit python_pep517 python3native python3-dir setuptools3-base
|
||||
|
||||
DEPENDS += "python3 python3-flit-core-native"
|
||||
|
||||
python_flit_core_do_manual_build () {
|
||||
cd ${PEP517_SOURCE_PATH}
|
||||
nativepython3 -m flit_core.wheel --outdir ${PEP517_WHEEL_PATH} .
|
||||
}
|
||||
Reference in New Issue
Block a user