diff options
| author | Ross Burton <ross.burton@arm.com> | 2022-07-13 17:28:15 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-14 23:22:10 +0100 |
| commit | 60cabad4d5466ac4f730d3f51f7c503723898832 (patch) | |
| tree | d7e2ec5bbbdd8bd5935ec04a54495c67aeb8598d /meta/recipes-devtools/python/python3-flit-core_3.7.1.bb | |
| parent | 32828d38163a4ea339b226574db6360c732b37a4 (diff) | |
| download | poky-60cabad4d5466ac4f730d3f51f7c503723898832.tar.gz | |
python3-flit-core: bootstrap explicitly
Add a method to python_flit_core.bbclass that does a manual build with
flit explicitly, and use that to bootstrap python3-flit-core-native which
can build itself.
(From OE-Core rev: e902578c2c9aacdc83dcfa517bc1e57667fcc460)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-flit-core_3.7.1.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-flit-core_3.7.1.bb | 4 |
1 files changed, 4 insertions, 0 deletions
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 | } |
