From 60f0e661c50178f9a1c993b0f397bd04053ccffe Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Mon, 6 Mar 2023 11:46:09 +0800 Subject: 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) --- lang/python/pillow/Makefile | 2 ++ lang/python/python-curl/Makefile | 2 ++ lang/python/python-evdev/Makefile | 2 ++ lang/python/python-gmpy2/Makefile | 2 ++ lang/python/python-yaml/Makefile | 2 ++ 5 files changed, 10 insertions(+) diff --git a/lang/python/pillow/Makefile b/lang/python/pillow/Makefile index 941f28f4e..3150b809b 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 b239efd3a..bde5d85a1 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 bab726b54..b9eae12d4 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 c7eafc98c..5758d323d 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 -- cgit