git: 2bd742c1ff65 - main - x11/terminator: Convert to USE_PYTHON=pep517

From: Hajimu UMEMOTO <ume_at_FreeBSD.org>
Date: Mon, 31 Mar 2025 15:39:06 UTC
The branch main has been updated by ume:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2bd742c1ff657d528cdef602e029b9b0fcd3a718

commit 2bd742c1ff657d528cdef602e029b9b0fcd3a718
Author:     Hajimu UMEMOTO <ume@FreeBSD.org>
AuthorDate: 2025-03-31 15:38:13 +0000
Commit:     Hajimu UMEMOTO <ume@FreeBSD.org>
CommitDate: 2025-03-31 15:39:01 +0000

    x11/terminator: Convert to USE_PYTHON=pep517
---
 x11/terminator/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/x11/terminator/Makefile b/x11/terminator/Makefile
index 775ebb83a897..b0c03569b392 100644
--- a/x11/terminator/Makefile
+++ b/x11/terminator/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	terminator
 DISTVERSION=	2.1.4
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	x11 python
 MASTER_SITES=	https://github.com/gnome-${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
 
@@ -11,6 +11,8 @@ WWW=		https://github.com/gnome-terminator/terminator
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${LOCALBASE}/lib/libkeybinder-3.0.so:x11/keybinder-gtk3 \
 		${LOCALBASE}/lib/libnotify.so:devel/libnotify \
 		${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj@${PY_FLAVOR} \
@@ -19,7 +21,7 @@ RUN_DEPENDS=	${LOCALBASE}/lib/libkeybinder-3.0.so:x11/keybinder-gtk3 \
 
 USES=		gnome python shebangfix gettext
 USE_GNOME=	intltool pygobject3 vte3
-USE_PYTHON=	autoplist distutils noflavors
+USE_PYTHON=	autoplist noflavors pep517
 
 PYDISTUTILS_PKGNAME=	Terminator