From 4772aec581a2c161c804a558c262c067cf6d6f21 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Thu, 9 Feb 2017 16:24:51 +0200 Subject: [PATCH] python,python3: override python setuptools & pip versions Signed-off-by: Alexandru Ardelean --- lang/python/files/python-package-pip.mk | 1 + lang/python/files/python-package-setuptools.mk | 1 + lang/python/files/python-version.mk | 3 +++ lang/python3/files/python3-package-pip.mk | 1 + lang/python3/files/python3-package-setuptools.mk | 1 + lang/python3/files/python3-version.mk | 3 +++ 6 files changed, 10 insertions(+) diff --git a/lang/python/files/python-package-pip.mk b/lang/python/files/python-package-pip.mk index dbbffbcc0..8dd0d6c79 100644 --- a/lang/python/files/python-package-pip.mk +++ b/lang/python/files/python-package-pip.mk @@ -8,6 +8,7 @@ define Package/python-pip $(call Package/python/Default) TITLE:=Python $(PYTHON_VERSION) pip module + VERSION:=$(PYTHON_PIP_VERSION) DEPENDS:=+python +python-setuptools +python-pip-conf endef diff --git a/lang/python/files/python-package-setuptools.mk b/lang/python/files/python-package-setuptools.mk index 7025ebbc0..48823731e 100644 --- a/lang/python/files/python-package-setuptools.mk +++ b/lang/python/files/python-package-setuptools.mk @@ -8,6 +8,7 @@ define Package/python-setuptools $(call Package/python/Default) TITLE:=Python $(PYTHON_VERSION) setuptools module + VERSION:=$(PYTHON_SETUPTOOLS_VERSION) DEPENDS:=+python endef diff --git a/lang/python/files/python-version.mk b/lang/python/files/python-version.mk index 847eaf5c7..b31a1d5a8 100644 --- a/lang/python/files/python-version.mk +++ b/lang/python/files/python-version.mk @@ -8,3 +8,6 @@ PYTHON_VERSION:=2.7 PYTHON_VERSION_MICRO:=13 +PYTHON_SETUPTOOLS_VERSION:=28.8.0 +PYTHON_PIP_VERSION:=9.0.1 + diff --git a/lang/python3/files/python3-package-pip.mk b/lang/python3/files/python3-package-pip.mk index a42c27c9d..0bd54aac8 100644 --- a/lang/python3/files/python3-package-pip.mk +++ b/lang/python3/files/python3-package-pip.mk @@ -8,6 +8,7 @@ define Package/python3-pip $(call Package/python3/Default) TITLE:=Python $(PYTHON3_VERSION) pip module + VERSION:=$(PYTHON3_PIP_VERSION) DEPENDS:=+python3 +python3-setuptools +python-pip-conf endef diff --git a/lang/python3/files/python3-package-setuptools.mk b/lang/python3/files/python3-package-setuptools.mk index 063acb80e..52d56e9ed 100644 --- a/lang/python3/files/python3-package-setuptools.mk +++ b/lang/python3/files/python3-package-setuptools.mk @@ -8,6 +8,7 @@ define Package/python3-setuptools $(call Package/python3/Default) TITLE:=Python $(PYTHON3_VERSION) setuptools module + VERSION:=$(PYTHON3_SETUPTOOLS_VERSION) DEPENDS:=+python3 endef diff --git a/lang/python3/files/python3-version.mk b/lang/python3/files/python3-version.mk index 08a130f12..3715c57a2 100644 --- a/lang/python3/files/python3-version.mk +++ b/lang/python3/files/python3-version.mk @@ -11,3 +11,6 @@ PYTHON3_VERSION_MICRO:=0 PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR) +PYTHON3_SETUPTOOLS_VERSION:=28.8.0 +PYTHON3_PIP_VERSION:=9.0.1 +