summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-03-06 11:46:09 +0800
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2023-11-02 01:14:01 +0100
commit60f0e661c50178f9a1c993b0f397bd04053ccffe (patch)
tree507e62ac109913a25e953319157698c90ca30603
parent36b997a1132197616f4dc33ae7c5c08adb086132 (diff)
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 <jeffery.to@gmail.com> (cherry picked from commit e6ae9e29d59001a8c31781c1e2c32261f34c05be)
-rw-r--r--lang/python/pillow/Makefile2
-rw-r--r--lang/python/python-curl/Makefile2
-rw-r--r--lang/python/python-evdev/Makefile2
-rw-r--r--lang/python/python-gmpy2/Makefile2
-rw-r--r--lang/python/python-yaml/Makefile2
5 files changed, 10 insertions, 0 deletions
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 <informatyk74@interia.pl>
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 <me@paulo.costa.nom.br>, Alexandru Ardelean <ardelea
PYPI_NAME:=evdev
PKG_HASH:=299db8628cc73b237fc1cc57d3c2948faa0756e2a58b6194b5bf81dc2081f1e3
+PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1
+
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
diff --git a/lang/python/python-gmpy2/Makefile b/lang/python/python-gmpy2/Makefile
index 899f67d1f..fa106978f 100644
--- a/lang/python/python-gmpy2/Makefile
+++ b/lang/python/python-gmpy2/Makefile
@@ -19,6 +19,8 @@ PKG_LICENSE:=LGPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING.LESSER
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
+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