summaryrefslogtreecommitdiffstats
path: root/meta/classes/flit_core.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/flit_core.bbclass')
-rw-r--r--meta/classes/flit_core.bbclass11
1 files changed, 3 insertions, 8 deletions
diff --git a/meta/classes/flit_core.bbclass b/meta/classes/flit_core.bbclass
index 5a602f54ab..81fdf93e47 100644
--- a/meta/classes/flit_core.bbclass
+++ b/meta/classes/flit_core.bbclass
@@ -2,15 +2,10 @@ inherit python_pep517 python3native python3-dir setuptools3-base
2 2
3DEPENDS += "python3 python3-flit-core-native" 3DEPENDS += "python3 python3-flit-core-native"
4 4
5PEP517_BUILD_API = "flit_core.buildapi"
6
5flit_core_do_configure () { 7flit_core_do_configure () {
6 : 8 :
7} 9}
8 10
9# TODO: ideally this uses pypa/build 11EXPORT_FUNCTIONS do_configure
10flit_core_do_compile () {
11 cd ${PEP517_SOURCE_PATH}
12 nativepython3 -mflit_core.wheel --outdir ${PEP517_WHEEL_PATH}
13}
14do_compile[cleandirs] += "${PEP517_WHEEL_PATH}"
15
16EXPORT_FUNCTIONS do_configure do_compile