diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2017-06-29 21:14:06 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-29 21:14:06 +0300 |
| commit | 3770ff3a69cc744ea9743863b1973329dbe10fc3 (patch) | |
| tree | ce22cc37e1593a491400ce1181f9ddc4df193027 /lang/python/python-six | |
| parent | b374b0fa60cc0f92ec17c2b48ef9e3864cff243b (diff) | |
| parent | e88e35249f06a8fe7c543572fb424b752fec22d0 (diff) | |
Merge pull request #4524 from commodo/more-fix-ovs
openvswitch: fix build
Diffstat (limited to 'lang/python/python-six')
| -rw-r--r-- | lang/python/python-six/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lang/python/python-six/Makefile b/lang/python/python-six/Makefile index 6e4259d30..24efe874e 100644 --- a/lang/python/python-six/Makefile +++ b/lang/python/python-six/Makefile @@ -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 |
