diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-07-19 10:19:10 +0300 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-07-19 16:50:25 +0300 |
| commit | 612c53fc6c3d9ba2a57f7329baf055f1d59a9246 (patch) | |
| tree | 1195a4450c9012c52c1dd22659a15ea030f0aa9e /lang/python/python3/files/python3-package.mk | |
| parent | 93a6545591cb5208f297c0b95d56470ae26f45b3 (diff) | |
python,python3: add host python pip install support
To install Python packages host side, that
may be needed for a build.
The intent, is to try to reduce host-side Python
packages being installed via LEDE/OpenWrt build system.
Because those seem like a pain to maintain.
The idea is adapted from Yousong's `python-packages`
package.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python3/files/python3-package.mk')
| -rw-r--r-- | lang/python/python3/files/python3-package.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/python/python3/files/python3-package.mk b/lang/python/python3/files/python3-package.mk index 22ee527a1..93b14fac2 100644 --- a/lang/python/python3/files/python3-package.mk +++ b/lang/python/python3/files/python3-package.mk @@ -126,6 +126,9 @@ define Build/Compile/Py3Mod endef define Py3Build/Compile/Default + $(foreach pkg,$(HOST_PYTHON3_PACKAGE_BUILD_DEPENDS), + $(call host_python3_pip_install_host,$(pkg)) + ) $(call Build/Compile/Py3Mod,, \ install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \ --single-version-externally-managed \ |
