diff options
Diffstat (limited to 'meta/classes/flit_core.bbclass')
-rw-r--r-- | meta/classes/flit_core.bbclass | 11 |
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 | ||
3 | DEPENDS += "python3 python3-flit-core-native" | 3 | DEPENDS += "python3 python3-flit-core-native" |
4 | 4 | ||
5 | PEP517_BUILD_API = "flit_core.buildapi" | ||
6 | |||
5 | flit_core_do_configure () { | 7 | flit_core_do_configure () { |
6 | : | 8 | : |
7 | } | 9 | } |
8 | 10 | ||
9 | # TODO: ideally this uses pypa/build | 11 | EXPORT_FUNCTIONS do_configure |
10 | flit_core_do_compile () { | ||
11 | cd ${PEP517_SOURCE_PATH} | ||
12 | nativepython3 -mflit_core.wheel --outdir ${PEP517_WHEEL_PATH} | ||
13 | } | ||
14 | do_compile[cleandirs] += "${PEP517_WHEEL_PATH}" | ||
15 | |||
16 | EXPORT_FUNCTIONS do_configure do_compile | ||