mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 23:24:31 +04:00
python: move python package versioning to python-package.mk
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user