summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_59.5.0.bb5
1 files changed, 1 insertions, 4 deletions
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 2155101d30..9d2c2fd744 100644
--- a/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb
@@ -21,13 +21,10 @@ DEPENDS += "${PYTHON_PN}"
21DEPENDS:remove:class-native = "python3-pip-native python3-setuptools-native" 21DEPENDS:remove:class-native = "python3-pip-native python3-setuptools-native"
22DEPENDS:append:class-native = " unzip-native" 22DEPENDS:append:class-native = " unzip-native"
23 23
24PYPA_WHEEL ?= "${B}/dist/${PYPI_PACKAGE}-${PV}-*.whl"
25
26do_install:class-native() { 24do_install:class-native() {
27 # Bootstrap to prevent dependency loop in python3-pip-native 25 # Bootstrap to prevent dependency loop in python3-pip-native
28 install -d ${D}${PYTHON_SITEPACKAGES_DIR} 26 install -d ${D}${PYTHON_SITEPACKAGES_DIR}
29 unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PYPA_WHEEL} || \ 27 unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PIP_INSTALL_DIST_PATH}/*.whl
30 bbfatal_log "Failed to unzip wheel: ${PYPA_WHEEL}. Check the logs."
31} 28}
32 29
33RDEPENDS:${PN} = "\ 30RDEPENDS:${PN} = "\