nmap: add build depedency on python-setuptools (fixes #27833)
authorNuno Gonçalves <[email protected]>
Wed, 12 Nov 2025 00:00:43 +0000 (00:00 +0000)
committerJosef Schlehofer <[email protected]>
Wed, 12 Nov 2025 09:01:17 +0000 (10:01 +0100)
python-setuptools no longer comes by default with the python package,
so we must depend on it explicitly

Signed-off-by: Nuno Gonçalves <[email protected]>
net/nmap/Makefile

index c93214cf2ae9fcdc03c29989d5182589e66f3283..46431a98d393f624a4e9d25314a94bc040821af5 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2017 OpenWrt.org
+# Copyright (C) 2006-2025 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -26,6 +26,7 @@ PKG_LICENSE_FILES:=LICENSE
 PKG_CPE_ID:=cpe:/a:nmap:nmap
 
 PKG_BUILD_PARALLEL:=1
+PKG_BUILD_DEPENDS:=python-setuptools/host
 PKG_INSTALL:=1
 PYTHON3_PKG_BUILD:=0
 PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1