diff options
| -rw-r--r-- | meta/recipes-devtools/python/python3-pip_22.0.3.bb | 5 |
1 files changed, 1 insertions, 4 deletions
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 8d6dfcede7..d7000b891a 100644 --- a/meta/recipes-devtools/python/python3-pip_22.0.3.bb +++ b/meta/recipes-devtools/python/python3-pip_22.0.3.bb | |||
| @@ -18,13 +18,10 @@ SRC_URI += "file://reproducible.patch" | |||
| 18 | 18 | ||
| 19 | SRC_URI[sha256sum] = "f29d589df8c8ab99c060e68ad294c4a9ed896624f6368c5349d70aa581b333d0" | 19 | SRC_URI[sha256sum] = "f29d589df8c8ab99c060e68ad294c4a9ed896624f6368c5349d70aa581b333d0" |
| 20 | 20 | ||
| 21 | PYPA_WHEEL ?= "${B}/dist/${PYPI_PACKAGE}-${PV}-*.whl" | ||
| 22 | |||
| 23 | do_install:class-native() { | 21 | do_install:class-native() { |
| 24 | # Bootstrap to prevent dependency loop in python3-pip-native | 22 | # Bootstrap to prevent dependency loop in python3-pip-native |
| 25 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} | 23 | install -d ${D}${PYTHON_SITEPACKAGES_DIR} |
| 26 | unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PYPA_WHEEL} || \ | 24 | unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PIP_INSTALL_DIST_PATH}/*.whl |
| 27 | bbfatal_log "Failed to unzip wheel: ${PYPA_WHEEL}. Check the logs." | ||
| 28 | 25 | ||
| 29 | # pip install would normally generate [console_scripts] in ${bindir} | 26 | # pip install would normally generate [console_scripts] in ${bindir} |
| 30 | install -d ${D}/${bindir} | 27 | install -d ${D}/${bindir} |
