diff options
| author | Ross Burton <ross@burtonini.com> | 2022-03-11 12:03:02 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-13 12:23:48 +0000 |
| commit | a50bf48f900b4a67d622c9833c391b049a04d2da (patch) | |
| tree | 765a69f48eb7a888bf9c2c3bf5eba20063c28973 /meta/recipes-devtools/python | |
| parent | b6a535068dadbc6540c6f5cf49cb9fba777fe727 (diff) | |
| download | poky-a50bf48f900b4a67d622c9833c391b049a04d2da.tar.gz | |
meta: rename pip_install_wheel.bbclass to python_pep517.bbclass
pip_install_wheel shouldn't restricted to just using Pip to install
wheels (the installer module is simplier and likely a better option),
and in the future may be extended to also provide do_compile() using
the build module.
(From OE-Core rev: 3bdf64b97facce9706cc579bdbc9a80e0d48428f)
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')
4 files changed, 4 insertions, 4 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 1f14345d50..b12b8e42d7 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 | |||
| @@ -21,7 +21,7 @@ PYPI_PACKAGE = "flit" | |||
| 21 | PEP517_SOURCE_PATH = "${S}/flit_core" | 21 | PEP517_SOURCE_PATH = "${S}/flit_core" |
| 22 | 22 | ||
| 23 | do_install:class-native () { | 23 | do_install:class-native () { |
| 24 | pip_install_wheel_do_bootstrap_install | 24 | python_pep517_do_bootstrap_install |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | PACKAGES =+ "${PN}-tests" | 27 | PACKAGES =+ "${PN}-tests" |
diff --git a/meta/recipes-devtools/python/python3-pip_22.0.3.bb b/meta/recipes-devtools/python/python3-pip_22.0.3.bb index bce3b68861..bfeeee789c 100644 --- a/meta/recipes-devtools/python/python3-pip_22.0.3.bb +++ b/meta/recipes-devtools/python/python3-pip_22.0.3.bb | |||
| @@ -19,7 +19,7 @@ SRC_URI += "file://reproducible.patch" | |||
| 19 | SRC_URI[sha256sum] = "f29d589df8c8ab99c060e68ad294c4a9ed896624f6368c5349d70aa581b333d0" | 19 | SRC_URI[sha256sum] = "f29d589df8c8ab99c060e68ad294c4a9ed896624f6368c5349d70aa581b333d0" |
| 20 | 20 | ||
| 21 | do_install:class-native() { | 21 | do_install:class-native() { |
| 22 | pip_install_wheel_do_bootstrap_install | 22 | python_pep517_do_bootstrap_install |
| 23 | 23 | ||
| 24 | # pip install would normally generate [console_scripts] in ${bindir} | 24 | # pip install would normally generate [console_scripts] in ${bindir} |
| 25 | install -d ${D}/${bindir} | 25 | install -d ${D}/${bindir} |
diff --git a/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb b/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb index 7cd67b85f9..d93972b9a0 100644 --- a/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb +++ b/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb | |||
| @@ -22,7 +22,7 @@ DEPENDS:remove:class-native = "python3-pip-native python3-setuptools-native" | |||
| 22 | DEPENDS:append:class-native = " unzip-native" | 22 | DEPENDS:append:class-native = " unzip-native" |
| 23 | 23 | ||
| 24 | do_install:class-native() { | 24 | do_install:class-native() { |
| 25 | pip_install_wheel_do_bootstrap_install | 25 | python_pep517_do_bootstrap_install |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | RDEPENDS:${PN} = "\ | 28 | RDEPENDS:${PN} = "\ |
diff --git a/meta/recipes-devtools/python/python3-wheel_0.37.1.bb b/meta/recipes-devtools/python/python3-wheel_0.37.1.bb index cf0d8191b4..a339e65824 100644 --- a/meta/recipes-devtools/python/python3-wheel_0.37.1.bb +++ b/meta/recipes-devtools/python/python3-wheel_0.37.1.bb | |||
| @@ -13,7 +13,7 @@ SRC_URI += " file://0001-Backport-pyproject.toml-from-flit-backend-branch.patch" | |||
| 13 | DEPENDS:remove:class-native = "python3-pip-native" | 13 | DEPENDS:remove:class-native = "python3-pip-native" |
| 14 | 14 | ||
| 15 | do_install:class-native () { | 15 | do_install:class-native () { |
| 16 | pip_install_wheel_do_bootstrap_install | 16 | python_pep517_do_bootstrap_install |
| 17 | 17 | ||
| 18 | # pip install would normally generate [project.scripts] in ${bindir} | 18 | # pip install would normally generate [project.scripts] in ${bindir} |
| 19 | install -d ${D}/${bindir} | 19 | install -d ${D}/${bindir} |
