From e6ae9e29d59001a8c31781c1e2c32261f34c05be Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Mon, 6 Mar 2023 11:46:09 +0800 Subject: [PATCH] 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 --- 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 bcf793697a..460f9434ed 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 4f46dc5fc7..560c05ad2d 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 bc26068a6e..6463daec7a 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 4c2cbd7be4..4e20fd209f 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 -- 2.30.2