git: 8317693a759d - main - net/kea-devel: Fix shebangfix QA error

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Thu, 14 Aug 2025 00:58:33 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8317693a759daf8c104a3bf05f60ea4b26844ebc

commit 8317693a759daf8c104a3bf05f60ea4b26844ebc
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-08-13 23:11:39 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-08-14 00:58:04 +0000

    net/kea-devel: Fix shebangfix QA error
    
    QA flags a shebang in kea-shell. Unfortunately USES=shebangfix
    fails to resolve the issue because the shebang it sees is unexpected.
---
 net/kea-devel/Makefile                               | 3 +--
 net/kea-devel/files/patch-src_bin_shell_kea-shell.in | 8 ++++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/net/kea-devel/Makefile b/net/kea-devel/Makefile
index 36027d8f5e8d..2daa0567c7c7 100644
--- a/net/kea-devel/Makefile
+++ b/net/kea-devel/Makefile
@@ -12,8 +12,7 @@ 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
diff --git a/net/kea-devel/files/patch-src_bin_shell_kea-shell.in b/net/kea-devel/files/patch-src_bin_shell_kea-shell.in
new file mode 100644
index 000000000000..caa0eea9db98
--- /dev/null
+++ b/net/kea-devel/files/patch-src_bin_shell_kea-shell.in
@@ -0,0 +1,8 @@
+--- src/bin/shell/kea-shell.in.orig	2025-06-20 09:28:47.000000000 -0700
++++ src/bin/shell/kea-shell.in	2025-08-13 09:47:11.947513000 -0700
+@@ -1,4 +1,4 @@
+-#!@PYTHON@
++#!/usr/bin/env /usr/local/bin/python3
+ 
+ # Copyright (C) 2017-2025 Internet Systems Consortium, Inc. ("ISC")
+ #