diff options
| -rw-r--r-- | meta/classes/python_flit_core.bbclass | 5 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-flit-core_3.7.1.bb | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/python_flit_core.bbclass b/meta/classes/python_flit_core.bbclass index 96652aa204..a900f7b557 100644 --- a/meta/classes/python_flit_core.bbclass +++ b/meta/classes/python_flit_core.bbclass | |||
| @@ -3,3 +3,8 @@ inherit python_pep517 python3native python3-dir setuptools3-base | |||
| 3 | DEPENDS += "python3 python3-flit-core-native" | 3 | DEPENDS += "python3 python3-flit-core-native" |
| 4 | 4 | ||
| 5 | PEP517_BUILD_API = "flit_core.buildapi" | 5 | PEP517_BUILD_API = "flit_core.buildapi" |
| 6 | |||
| 7 | python_flit_core_do_manual_build () { | ||
| 8 | cd ${PEP517_SOURCE_PATH} | ||
| 9 | nativepython3 -m flit_core.wheel --outdir ${PEP517_WHEEL_PATH} . | ||
| 10 | } | ||
diff --git a/meta/recipes-devtools/python/python3-flit-core_3.7.1.bb b/meta/recipes-devtools/python/python3-flit-core_3.7.1.bb index 8d107384a6..abe620374c 100644 --- a/meta/recipes-devtools/python/python3-flit-core_3.7.1.bb +++ b/meta/recipes-devtools/python/python3-flit-core_3.7.1.bb | |||
| @@ -20,6 +20,10 @@ DEPENDS:append:class-native = " unzip-native" | |||
| 20 | PYPI_PACKAGE = "flit" | 20 | PYPI_PACKAGE = "flit" |
| 21 | PEP517_SOURCE_PATH = "${S}/flit_core" | 21 | PEP517_SOURCE_PATH = "${S}/flit_core" |
| 22 | 22 | ||
| 23 | do_compile:class-native () { | ||
| 24 | python_flit_core_do_manual_build | ||
| 25 | } | ||
| 26 | |||
| 23 | do_install:class-native () { | 27 | do_install:class-native () { |
| 24 | python_pep517_do_bootstrap_install | 28 | python_pep517_do_bootstrap_install |
| 25 | } | 29 | } |
