mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
python,python3: Use locked for host pip
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
@@ -74,12 +74,15 @@ HOST_PYTHON_PIP:=$(STAGING_DIR_HOSTPKG)/bin/pip$(PYTHON_VERSION)
|
|||||||
|
|
||||||
# $(1) => packages to install
|
# $(1) => packages to install
|
||||||
define Build/Compile/HostPyPipInstall
|
define Build/Compile/HostPyPipInstall
|
||||||
|
$(call locked, \
|
||||||
$(call host_python_settings) \
|
$(call host_python_settings) \
|
||||||
$(HOST_PYTHON_PIP) \
|
$(HOST_PYTHON_PIP) \
|
||||||
--disable-pip-version-check \
|
--disable-pip-version-check \
|
||||||
--cache-dir "$(DL_DIR)/pip-cache" \
|
--cache-dir "$(DL_DIR)/pip-cache" \
|
||||||
install \
|
install \
|
||||||
$(1)
|
$(1), \
|
||||||
|
pip \
|
||||||
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# $(1) => build subdir
|
# $(1) => build subdir
|
||||||
|
|||||||
@@ -73,13 +73,16 @@ HOST_PYTHON3_PIP:=$(STAGING_DIR_HOSTPKG)/bin/pip$(PYTHON3_VERSION)
|
|||||||
|
|
||||||
# $(1) => packages to install
|
# $(1) => packages to install
|
||||||
define Build/Compile/HostPy3PipInstall
|
define Build/Compile/HostPy3PipInstall
|
||||||
|
$(call locked, \
|
||||||
$(call host_python3_settings) \
|
$(call host_python3_settings) \
|
||||||
$(HOST_PYTHON3_PIP) \
|
$(HOST_PYTHON3_PIP) \
|
||||||
--disable-pip-version-check \
|
--disable-pip-version-check \
|
||||||
--cache-dir "$(DL_DIR)/pip-cache" \
|
--cache-dir "$(DL_DIR)/pip-cache" \
|
||||||
install \
|
install \
|
||||||
--no-binary :all: \
|
--no-binary :all: \
|
||||||
$(1)
|
$(1), \
|
||||||
|
pip \
|
||||||
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# $(1) => build subdir
|
# $(1) => build subdir
|
||||||
|
|||||||
Reference in New Issue
Block a user