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 @@ | |||
1 | # | ||
2 | # Copyright OpenEmbedded Contributors | ||
3 | # | ||
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
6 | |||
7 | inherit python_pep517 python3native python3-dir setuptools3-base | ||
8 | |||
9 | DEPENDS += "python3 python3-flit-core-native" | ||
10 | |||
11 | python_flit_core_do_manual_build () { | ||
12 | cd ${PEP517_SOURCE_PATH} | ||
13 | nativepython3 -m flit_core.wheel --outdir ${PEP517_WHEEL_PATH} . | ||
14 | } | ||