Merge pull request #8600 from jefferyto/python-pkg-setup-global-args

python,python3: Add PYTHON[3]_PKG_SETUP_GLOBAL_ARGS
This commit is contained in:
Josef Schlehofer
2019-04-05 12:54:49 +02:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -116,6 +116,7 @@ define Build/Compile/PyMod
endef
PYTHON_PKG_SETUP_DIR ?=
PYTHON_PKG_SETUP_GLOBAL_ARGS ?=
PYTHON_PKG_SETUP_ARGS ?= --single-version-externally-managed
PYTHON_PKG_SETUP_VARS ?=
@@ -125,6 +126,7 @@ define PyBuild/Compile/Default
)
$(call Build/Compile/PyMod, \
$(PYTHON_PKG_SETUP_DIR), \
$(PYTHON_PKG_SETUP_GLOBAL_ARGS) \
install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
$(PYTHON_PKG_SETUP_ARGS), \
$(PYTHON_PKG_SETUP_VARS) \
+2
View File
@@ -115,6 +115,7 @@ define Build/Compile/Py3Mod
endef
PYTHON3_PKG_SETUP_DIR ?=
PYTHON3_PKG_SETUP_GLOABL_ARGS ?=
PYTHON3_PKG_SETUP_ARGS ?= --single-version-externally-managed
PYTHON3_PKG_SETUP_VARS ?=
@@ -124,6 +125,7 @@ define Py3Build/Compile/Default
)
$(call Build/Compile/Py3Mod, \
$(PYTHON3_PKG_SETUP_DIR), \
$(PYTHON3_PKG_SETUP_GLOBAL_ARGS) \
install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
$(PYTHON3_PKG_SETUP_ARGS), \
$(PYTHON3_PKG_SETUP_VARS) \