summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorAlexandru Ardelean <aa@ocedo.com>2014-10-14 09:23:57 +0300
committerAlexandru Ardelean <aa@ocedo.com>2014-10-15 10:02:48 +0300
commit3ad7208ba67d84b840ba6dd9988fdebfce9ca90f (patch)
tree4fd1ab14e91a61a695bed0a3d63b11378b21e39c /lang/python
parentd5bd7dd36e8493556420c6a50b7c6abe6aed3047 (diff)
python: move python package versioning to python-package.mk
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/Makefile6
-rw-r--r--lang/python/files/python-package.mk1
2 files changed, 5 insertions, 2 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile
index 490dd9c3f..79bb3031c 100644
--- a/lang/python/Makefile
+++ b/lang/python/Makefile
@@ -7,8 +7,11 @@
include $(TOPDIR)/rules.mk
+# The file included below defines PYTHON_VERSION
+-include $(if $(DUMP),,./files/python-package.mk)
+
PKG_NAME:=python
-PKG_VERSION:=2.7.3
+PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
PKG_RELEASE:=2
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
@@ -29,7 +32,6 @@ PKG_BUILD_DEPENDS:=python/host
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
--include $(if $(DUMP),,./files/python-package.mk)
define Package/python/Default
SUBMENU:=Python
diff --git a/lang/python/files/python-package.mk b/lang/python/files/python-package.mk
index 88ae11435..b8096bef1 100644
--- a/lang/python/files/python-package.mk
+++ b/lang/python/files/python-package.mk
@@ -6,6 +6,7 @@
#
PYTHON_VERSION=2.7
+PYTHON_VERSION_MICRO=3
PYTHON_DIR:=$(STAGING_DIR)/usr
PYTHON_BIN_DIR:=$(PYTHON_DIR)/bin