python: move python package versioning to python-package.mk
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
parent
d5bd7dd36e
commit
3ad7208ba6
2 changed files with 5 additions and 2 deletions
|
@ -7,8 +7,11 @@
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
# The file included below defines PYTHON_VERSION
|
||||||
|
-include $(if $(DUMP),,./files/python-package.mk)
|
||||||
|
|
||||||
PKG_NAME:=python
|
PKG_NAME:=python
|
||||||
PKG_VERSION:=2.7.3
|
PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
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)/host-build.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
-include $(if $(DUMP),,./files/python-package.mk)
|
|
||||||
|
|
||||||
define Package/python/Default
|
define Package/python/Default
|
||||||
SUBMENU:=Python
|
SUBMENU:=Python
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PYTHON_VERSION=2.7
|
PYTHON_VERSION=2.7
|
||||||
|
PYTHON_VERSION_MICRO=3
|
||||||
|
|
||||||
PYTHON_DIR:=$(STAGING_DIR)/usr
|
PYTHON_DIR:=$(STAGING_DIR)/usr
|
||||||
PYTHON_BIN_DIR:=$(PYTHON_DIR)/bin
|
PYTHON_BIN_DIR:=$(PYTHON_DIR)/bin
|
||||||
|
|
Loading…
Reference in a new issue