git: 0d43b86714c7 - main - net/kea-devel: Fix shebangfix QA error for real

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 15 Aug 2025 04:18:33 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d43b86714c7cd79654f384718edf5e4d6e95cf2

commit 0d43b86714c7cd79654f384718edf5e4d6e95cf2
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-08-15 00:16:24 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-08-15 04:17:53 +0000

    net/kea-devel: Fix shebangfix QA error for real
    
    Thank you to fluffy@ for the real solution using shebangfix.
---
 net/kea-devel/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/net/kea-devel/Makefile b/net/kea-devel/Makefile
index 65bb8d3246e1..bfd2122664ff 100644
--- a/net/kea-devel/Makefile
+++ b/net/kea-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	kea
 DISTVERSION=	3.1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	ISC/kea/cur/3.1
 PKGNAMESUFFIX=	-devel
@@ -12,14 +12,13 @@ WWW=		https://kea.isc.org/
 LICENSE=	MPL20
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	rst2man:textproc/py-docutils \
-		python3:lang/python3
+BUILD_DEPENDS=	rst2man:textproc/py-docutils
 
 LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
 		liblog4cplus.so:devel/log4cplus
 
 USES=		compiler:c++11-lang cmake:indirect cpe iconv libtool meson \
-		pathfix pkgconfig python tar:xz ssl
+		pathfix pkgconfig python tar:xz shebangfix ssl
 
 CPE_VENDOR=	isc
 CPE_VERSION=	${DISTVERSION:C/-.*//}
@@ -40,6 +39,9 @@ OPTIONS_SUB=	yes
 MESON_ARGS=	--auto-features=disabled \
 		-Dnetconf=disabled \
 		-Drunstatedir=/var/run
+
+SHEBANG_GLOB=	*.py *.in
+python_OLD_CMD+=@PYTHON@
 		
 MYSQL_USES=		mysql
 MYSQL_MESON_ENABLED=	mysql