diff options
Diffstat (limited to 'meta/classes-recipe/python_flit_core.bbclass')
-rw-r--r-- | meta/classes-recipe/python_flit_core.bbclass | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/classes-recipe/python_flit_core.bbclass b/meta/classes-recipe/python_flit_core.bbclass new file mode 100644 index 0000000000..a0b1feb70a --- /dev/null +++ b/meta/classes-recipe/python_flit_core.bbclass @@ -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} . +} |