diff options
| -rw-r--r-- | meta/classes/flit_core.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/flit_core.bbclass b/meta/classes/flit_core.bbclass index 8edbd654ff..819d12457c 100644 --- a/meta/classes/flit_core.bbclass +++ b/meta/classes/flit_core.bbclass | |||
| @@ -2,7 +2,7 @@ inherit pip_install_wheel python3native python3-dir setuptools3-base | |||
| 2 | 2 | ||
| 3 | DEPENDS += "python3 python3-flit-core-native python3-pip-native" | 3 | DEPENDS += "python3 python3-flit-core-native python3-pip-native" |
| 4 | 4 | ||
| 5 | do_configure () { | 5 | flit_core_do_configure () { |
| 6 | mkdir -p ${S}/dist | 6 | mkdir -p ${S}/dist |
| 7 | cat > ${S}/build-it.py << EOF | 7 | cat > ${S}/build-it.py << EOF |
| 8 | from flit_core import buildapi | 8 | from flit_core import buildapi |
| @@ -10,7 +10,8 @@ buildapi.build_wheel('./dist') | |||
| 10 | EOF | 10 | EOF |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | do_compile () { | 13 | flit_core_do_compile () { |
| 14 | ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} ${S}/build-it.py | 14 | ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} ${S}/build-it.py |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | EXPORT_FUNCTIONS do_configure do_compile | ||
