git: 058199970235 - main - x11/libxkbcommon: Fix tests

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 08:52:46 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0581999702359474910c677a7394c21700f636ac

commit 0581999702359474910c677a7394c21700f636ac
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-07 07:54:35 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-07 08:51:29 +0000

    x11/libxkbcommon: Fix tests
---
 x11/libxkbcommon/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/x11/libxkbcommon/Makefile b/x11/libxkbcommon/Makefile
index 533fb886daa4..123ddcd8a1a7 100644
--- a/x11/libxkbcommon/Makefile
+++ b/x11/libxkbcommon/Makefile
@@ -13,13 +13,16 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	xkeyboard-config>0:x11/xkeyboard-config
 
-USES=		bison compiler:c11 cpe gnome meson pkgconfig tar:xz
+USES=		bison compiler:c11 cpe gnome meson pkgconfig python:test \
+		shebangfix tar:xz
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 MESON_ARGS=	-Denable-docs=false \
 		-Dx-locale-root="${PREFIX}/lib/X11/locale" \
 		${MESON_ARGS_${OPSYS}_${OSREL:R}}
 CPE_VENDOR=	xkbcommon
+SHEBANG_FILES=	test/xkeyboard-config-test.py.in \
+		test/*.py
 
 OPTIONS_DEFINE=	EVDEV WAYLAND X11
 OPTIONS_DEFAULT=EVDEV WAYLAND X11