Browse Source

python: move python package versioning to python-package.mk

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 10 years ago
parent
commit
3ad7208ba6
2 changed files with 5 additions and 2 deletions
  1. +4
    -2
      lang/python/Makefile
  2. +1
    -0
      lang/python/files/python-package.mk

+ 4
- 2
lang/python/Makefile View File

@ -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


+ 1
- 0
lang/python/files/python-package.mk View File

@ -6,6 +6,7 @@
#
PYTHON_VERSION=2.7
PYTHON_VERSION_MICRO=3
PYTHON_DIR:=$(STAGING_DIR)/usr
PYTHON_BIN_DIR:=$(PYTHON_DIR)/bin


Loading…
Cancel
Save