From 8a8a5622720899c08be4d29dccefcb1e72988e45 Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Thu, 21 Sep 2023 22:39:44 +0200 Subject: [PATCH] package/python-minimalmodbus: fix empty package Calling `setup.py` build builds and installs an empty package after upstream changed their packaging. Calling setuptools via `python -m build` builds the package correctly. Signed-off-by: Marcus Hoffmann Signed-off-by: Yann E. MORIN (cherry picked from commit d7e45215a4faaef8d6eb993b38d5a70ad7d309b1) Signed-off-by: Peter Korsgaard --- package/python-minimalmodbus/python-minimalmodbus.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python-minimalmodbus/python-minimalmodbus.mk b/package/python-minimalmodbus/python-minimalmodbus.mk index 5a6e7733be..cb8a0d8cc9 100644 --- a/package/python-minimalmodbus/python-minimalmodbus.mk +++ b/package/python-minimalmodbus/python-minimalmodbus.mk @@ -7,7 +7,8 @@ PYTHON_MINIMALMODBUS_VERSION = 2.1.1 PYTHON_MINIMALMODBUS_SOURCE = minimalmodbus-$(PYTHON_MINIMALMODBUS_VERSION).tar.gz PYTHON_MINIMALMODBUS_SITE = https://files.pythonhosted.org/packages/37/fc/8a58f7bcdece751f16a4a9aac780acd1288aa8ac6adbffdd764c88fb71c6 -PYTHON_MINIMALMODBUS_SETUP_TYPE = setuptools +PYTHON_MINIMALMODBUS_DEPENDENCIES = host-python-setuptools +PYTHON_MINIMALMODBUS_SETUP_TYPE = pep517 PYTHON_MINIMALMODBUS_LICENSE = Apache-2.0 PYTHON_MINIMALMODBUS_LICENSE_FILES = LICENSE