diff options
Diffstat (limited to 'meta/recipes-devtools/python')
4 files changed, 4 insertions, 11 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 55ce256550..c6bc24555e 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 | |||
| @@ -22,8 +22,7 @@ PEP517_SOURCE_PATH = "${S}/flit_core" | |||
| 22 | PIP_INSTALL_PACKAGE = "flit_core" | 22 | PIP_INSTALL_PACKAGE = "flit_core" |
| 23 | 23 | ||
| 24 | do_install:class-native () { | 24 | do_install:class-native () { |
| 25 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} | 25 | pip_install_wheel_do_bootstrap_install |
| 26 | unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PIP_INSTALL_DIST_PATH}/flit_core*.whl | ||
| 27 | } | 26 | } |
| 28 | 27 | ||
| 29 | PACKAGES =+ "${PN}-tests" | 28 | 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 50cc8206de..bce3b68861 100644 --- a/meta/recipes-devtools/python/python3-pip_22.0.3.bb +++ b/meta/recipes-devtools/python/python3-pip_22.0.3.bb | |||
| @@ -19,9 +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 | # Bootstrap to prevent dependency loop in python3-pip-native | 22 | pip_install_wheel_do_bootstrap_install |
| 23 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} | ||
| 24 | unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PIP_INSTALL_DIST_PATH}/*.whl | ||
| 25 | 23 | ||
| 26 | # pip install would normally generate [console_scripts] in ${bindir} | 24 | # pip install would normally generate [console_scripts] in ${bindir} |
| 27 | 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 9d2c2fd744..7cd67b85f9 100644 --- a/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb +++ b/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb | |||
| @@ -22,9 +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 | # Bootstrap to prevent dependency loop in python3-pip-native | 25 | pip_install_wheel_do_bootstrap_install |
| 26 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} | ||
| 27 | unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PIP_INSTALL_DIST_PATH}/*.whl | ||
| 28 | } | 26 | } |
| 29 | 27 | ||
| 30 | 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 83a7c986a8..cf0d8191b4 100644 --- a/meta/recipes-devtools/python/python3-wheel_0.37.1.bb +++ b/meta/recipes-devtools/python/python3-wheel_0.37.1.bb | |||
| @@ -13,9 +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 | # We need to bootstrap python3-wheel-native | 16 | pip_install_wheel_do_bootstrap_install |
| 17 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} | ||
| 18 | unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PIP_INSTALL_DIST_PATH}/*.whl | ||
| 19 | 17 | ||
| 20 | # pip install would normally generate [project.scripts] in ${bindir} | 18 | # pip install would normally generate [project.scripts] in ${bindir} |
| 21 | install -d ${D}/${bindir} | 19 | install -d ${D}/${bindir} |
