07f044b79c
This is the latest version of setuptools that supports python2. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
1012 B
Makefile
25 lines
1012 B
Makefile
################################################################################
|
|
#
|
|
# python3-setuptools
|
|
#
|
|
################################################################################
|
|
|
|
# Please keep in sync with
|
|
# package/python-setuptools/python-setuptools.mk
|
|
PYTHON3_SETUPTOOLS_VERSION = 44.0.0
|
|
PYTHON3_SETUPTOOLS_SOURCE = setuptools-$(PYTHON3_SETUPTOOLS_VERSION).zip
|
|
PYTHON3_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b0/f3/44da7482ac6da3f36f68e253cb04de37365b3dba9036a3c70773b778b485
|
|
PYTHON3_SETUPTOOLS_LICENSE = MIT
|
|
PYTHON3_SETUPTOOLS_LICENSE_FILES = LICENSE
|
|
PYTHON3_SETUPTOOLS_SETUP_TYPE = setuptools
|
|
HOST_PYTHON3_SETUPTOOLS_DL_SUBDIR = python-setuptools
|
|
HOST_PYTHON3_SETUPTOOLS_NEEDS_HOST_PYTHON = python3
|
|
|
|
define HOST_PYTHON3_SETUPTOOLS_EXTRACT_CMDS
|
|
$(UNZIP) -d $(@D) $(HOST_PYTHON3_SETUPTOOLS_DL_DIR)/$(PYTHON3_SETUPTOOLS_SOURCE)
|
|
mv $(@D)/setuptools-$(PYTHON3_SETUPTOOLS_VERSION)/* $(@D)
|
|
$(RM) -r $(@D)/setuptools-$(PYTHON3_SETUPTOOLS_VERSION)
|
|
endef
|
|
|
|
$(eval $(host-python-package))
|