mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 17:11:21 +00:00
python-six: rename PKG_NAME to python-six, and adapt unpack cmd for build
OVS has PKG_BUILD_DEPENDS:=python-six/host as dep. But that doesn't seem to work, since the PKG_NAME:=six So, this change renames the PKG_NAME to python-six, to make it clear it's Python package. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -7,17 +7,19 @@
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=six
|
||||
PKG_NAME:=python-six
|
||||
PKG_VERSION:=1.10.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE:=six-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://pypi.python.org/packages/source/s/six
|
||||
PKG_MD5SUM:=34eed507548117b2ab523ab14b2f8b55
|
||||
|
||||
HOST_BUILD_DEPENDS:=python/host
|
||||
PKG_BUILD_DEPENDS:=python
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
PKG_LICENSE:=MIT
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
||||
@@ -26,6 +28,9 @@ include $(INCLUDE_DIR)/host-build.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
$(call include_mk, python-package.mk)
|
||||
|
||||
PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
|
||||
HOST_UNPACK:=$(HOST_TAR) -C $(HOST_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
|
||||
|
||||
define Package/python-six
|
||||
SECTION:=lang
|
||||
CATEGORY:=Languages
|
||||
|
||||
Reference in New Issue
Block a user