python,python3: Update host pip[3] install functions
authorJeffery To <redacted>
Wed, 29 May 2019 13:45:16 +0000 (21:45 +0800)
committerJeffery To <redacted>
Wed, 29 May 2019 13:45:16 +0000 (21:45 +0800)
commitae80ddc7ab1486a2e4788a8bd4b9c1643ce29c29
tree808e38a1b8e65727844c879cb00dcff740d6c69d
parentc83b8787a5f8137f520f9af62499782e2dbd333b
python,python3: Update host pip[3] install functions

* Add --cache-dir option to set the pip cache to a directory in
$(DL_DIR), instead of pip's default (build user's ~/.cache/pip),
fixes #9066

* Add --disable-pip-version-check option, since the version check only
prints a message saying a new version is available

* Combine host_python_pip_install and host_python_pip_install_host into
Build/Compile/HostPy[3]PipInstall

* Remove --root and --prefix options, since this function is only used
to install packages to host Python's default site-packages directory
(setting these may serve to confuse pip)

* Pass all of $(HOST_PYTHON[3]_PACKAGE_BUILD_DEPENDS) to the function,
since pip can handle multiple arguments/packages

Signed-off-by: Jeffery To <redacted>
lang/python/python-host.mk
lang/python/python-package.mk
lang/python/python3-host.mk
lang/python/python3-package.mk
git clone https://git.99rst.org/PROJECT