diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2019-09-21 17:32:32 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-21 17:32:32 +0300 |
| commit | e1aa365822c4dce5db532646e5d48201fd3f6d8a (patch) | |
| tree | 991e774defb77880c86a75e6dfef2363e43a0a81 /lang/python/python3/Makefile | |
| parent | 61423689f9d09c56dd0e6c5fc34e7a2449d1dd7b (diff) | |
| parent | 5f9ea76e7a00bb2851204903521d053b76772f4d (diff) | |
Merge pull request #9971 from commodo/python-gunicorn
gunicorn: convert to Python packaging format + add Python3 variant
Diffstat (limited to 'lang/python/python3/Makefile')
| -rw-r--r-- | lang/python/python3/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index 79a71ccaf..d4bc11d51 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -14,7 +14,7 @@ PYTHON_VERSION:=$(PYTHON3_VERSION) PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO) PKG_NAME:=python3 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO) PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz @@ -41,6 +41,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/Python-$(PKG_VERSION) HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/Python-$(PKG_VERSION) PKG_CONFIG_DEPENDS:= \ + CONFIG_PACKAGE_python3-pkg-resources \ CONFIG_PACKAGE_python3-setuptools CONFIG_PACKAGE_python3-pip \ CONFIG_PYTHON3_BLUETOOTH_SUPPORT @@ -172,6 +173,14 @@ define Build/Prepare endef ifdef CONFIG_PACKAGE_python3-setuptools +PYTHON3_SETUPTOOLS_BUILD:=1 +endif + +ifdef CONFIG_PACKAGE_python3-pkg-resources +PYTHON3_SETUPTOOLS_BUILD:=1 +endif + +ifeq ($(PYTHON3_SETUPTOOLS_BUILD),1) define Build/Compile/python3-setuptools $(HOST_PYTHON3_PIP) \ --disable-pip-version-check \ |
