4d2ca2be49
Python setuptools 44.0 is not compatible with python 3.10. Unfortunately, python-setuptools 59.8.0 is not compatible with python2. As Buildroot is not ready to end python2 support, the python-setuptools package must accommodate both the old version for python2 and the new version for python3.10. Changes include: - Add two new directories: package/python-setuptools/44.0.0 and package/python-setuptools/59.8.0 - Add the appropriate patch and hash files to each directory. - Modify python-setuptools.mk to support both setuptools 44.0 and 59.8.0 (setuptools 59.8.0 does not have a .zip on pypi anymore, only a tar.gz) - Point the symlinks in package/python3-setuptools to the files in package/python-setuptools/59.8.0/ Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
21 lines
855 B
Makefile
21 lines
855 B
Makefile
################################################################################
|
|
#
|
|
# python3-setuptools
|
|
#
|
|
################################################################################
|
|
|
|
# Please keep in sync with
|
|
# package/python-setuptools/python-setuptools.mk
|
|
PYTHON3_SETUPTOOLS_VERSION = 59.8.0
|
|
PYTHON3_SETUPTOOLS_SOURCE = setuptools-$(PYTHON3_SETUPTOOLS_VERSION).tar.gz
|
|
PYTHON3_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/ef/75/2bc7bef4d668f9caa9c6ed3f3187989922765403198243040d08d2a52725
|
|
PYTHON3_SETUPTOOLS_LICENSE = MIT
|
|
PYTHON3_SETUPTOOLS_LICENSE_FILES = LICENSE
|
|
PYTHON3_SETUPTOOLS_CPE_ID_VENDOR = python
|
|
PYTHON3_SETUPTOOLS_CPE_ID_PRODUCT = setuptools
|
|
PYTHON3_SETUPTOOLS_SETUP_TYPE = setuptools
|
|
HOST_PYTHON3_SETUPTOOLS_DL_SUBDIR = python-setuptools
|
|
HOST_PYTHON3_SETUPTOOLS_NEEDS_HOST_PYTHON = python3
|
|
|
|
$(eval $(host-python-package))
|