From: Jeffery To Date: Mon, 6 Mar 2023 03:46:09 +0000 (+0800) Subject: python-libraries: Force old build process X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=60f0e661c50178f9a1c993b0f397bd04053ccffe;p=feed%2Fpackages.git python-libraries: Force old build process These packages will need adjustments to work with pyproject.toml-based builds, so set PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1 to force the old build process (when pyproject.toml-based builds are in place) for now. Signed-off-by: Jeffery To (cherry picked from commit e6ae9e29d59001a8c31781c1e2c32261f34c05be) --- diff --git a/lang/python/pillow/Makefile b/lang/python/pillow/Makefile index 941f28f4e3..3150b809b3 100644 --- a/lang/python/pillow/Makefile +++ b/lang/python/pillow/Makefile @@ -18,6 +18,8 @@ PKG_LICENSE:=HPND PKG_LICENSE_FILES:=LICENSE PKG_CPE_ID:=cpe:/a:python:pillow +PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1 + include ../pypi.mk include $(INCLUDE_DIR)/package.mk include ../python3-package.mk diff --git a/lang/python/python-curl/Makefile b/lang/python/python-curl/Makefile index b239efd3a0..bde5d85a1a 100644 --- a/lang/python/python-curl/Makefile +++ b/lang/python/python-curl/Makefile @@ -15,6 +15,8 @@ PKG_MAINTAINER:=Waldemar Konik PKG_LICENSE:=LGPL-2.1 PKG_LICENSE_FILES:=COPYING-LGPL +PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1 + include ../pypi.mk include $(INCLUDE_DIR)/package.mk include ../python3-package.mk diff --git a/lang/python/python-evdev/Makefile b/lang/python/python-evdev/Makefile index bab726b54e..b9eae12d4e 100644 --- a/lang/python/python-evdev/Makefile +++ b/lang/python/python-evdev/Makefile @@ -18,6 +18,8 @@ PKG_MAINTAINER:=Paulo Costa , Alexandru Ardelean +PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1 + include ../pypi.mk include $(INCLUDE_DIR)/package.mk include ../python3-package.mk diff --git a/lang/python/python-yaml/Makefile b/lang/python/python-yaml/Makefile index c7eafc98c8..5758d323da 100644 --- a/lang/python/python-yaml/Makefile +++ b/lang/python/python-yaml/Makefile @@ -21,6 +21,8 @@ PKG_CPE_ID:=cpe:/a:pyyaml_project:pyyaml PKG_BUILD_DEPENDS:=python-cython/host +PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1 + include ../pypi.mk include $(INCLUDE_DIR)/package.mk include ../python3-package.mk