|
|
@ -15,18 +15,11 @@ PKG_SOURCE:=setuptools-$(PKG_VERSION).tar.gz |
|
|
|
PKG_SOURCE_URL:=https://pypi.python.org/packages/87/ba/54197971d107bc06f5f3fbdc0d728a7ae0b10cafca46acfddba65a0899d8/ |
|
|
|
PKG_MD5SUM:=b39715612fdc0372dbfd7b3fcf5d4fe5 |
|
|
|
|
|
|
|
HOST_BUILD_DEPENDS:=python python/host |
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
|
|
|
PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE) |
|
|
|
|
|
|
|
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION) |
|
|
|
HOST_UNPACK=$(HOST_TAR) -C $(HOST_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE) |
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk |
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
$(call include_mk, python-package.mk) |
|
|
|
$(call include_mk, python-host.mk) |
|
|
|
|
|
|
|
define Package/python-setuptools |
|
|
|
SUBMENU:=Python |
|
|
@ -61,18 +54,6 @@ define PyPackage/python-setuptools/install |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ |
|
|
|
endef |
|
|
|
|
|
|
|
define Host/Compile |
|
|
|
$(call Build/Compile/HostPyMod,,\
|
|
|
|
install --root="$(STAGING_DIR_HOSTPKG)" --prefix="" \
|
|
|
|
--single-version-externally-managed \
|
|
|
|
) |
|
|
|
endef |
|
|
|
|
|
|
|
define Host/Install |
|
|
|
endef |
|
|
|
|
|
|
|
$(eval $(call HostBuild)) |
|
|
|
|
|
|
|
$(eval $(call PyPackage,python-setuptools)) |
|
|
|
$(eval $(call BuildPackage,python-setuptools)) |
|
|
|
|