diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2017-05-30 10:48:19 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-30 10:48:19 +0300 |
| commit | bcd2855bde8f1a2420c6e0adba0d81021ab68895 (patch) | |
| tree | edbedca1dbf0a209dcd87bfcd9ebd34404bb26dc /lang/python/python-six | |
| parent | 58218db2be8881ca09f105a9f1f03fa85e963262 (diff) | |
| parent | c9337b2b9255c52744bc05ecaadbc41cb39f97d7 (diff) | |
Merge pull request #4380 from commodo/python-six-host-build
python-six: add host-side build
Diffstat (limited to 'lang/python/python-six')
| -rw-r--r-- | lang/python/python-six/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lang/python/python-six/Makefile b/lang/python/python-six/Makefile index 9f0704954..6e4259d30 100644 --- a/lang/python/python-six/Makefile +++ b/lang/python/python-six/Makefile @@ -9,18 +9,20 @@ include $(TOPDIR)/rules.mk PKG_NAME:=six PKG_VERSION:=1.10.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://pypi.python.org/packages/source/s/six PKG_MD5SUM:=34eed507548117b2ab523ab14b2f8b55 -PKG_BUILD_DEPENDS:=python python-setuptools +HOST_BUILD_DEPENDS:=python/host +PKG_BUILD_DEPENDS:=python PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> +include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk $(call include_mk, python-package.mk) @@ -44,5 +46,13 @@ define Build/Compile $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) endef +define Host/Compile + $(call Build/Compile/HostPyMod,,install --prefix="" --root="$(STAGING_DIR_HOSTPKG)") +endef + +Host/Install:= + +$(eval $(call HostBuild)) + $(eval $(call PyPackage,python-six)) $(eval $(call BuildPackage,python-six)) |
