git: 0ca2823aa079 - main - textproc/py-sphinx-copybutton: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 13 May 2024 14:24:09 UTC
The branch main has been updated by sunpoet:

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

commit 0ca2823aa0792d470a43ec7301c9f6460b378c3c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:10:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:10:45 +0000

    textproc/py-sphinx-copybutton: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 textproc/py-sphinx-copybutton/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/textproc/py-sphinx-copybutton/Makefile b/textproc/py-sphinx-copybutton/Makefile
index 990fb4ae8c03..ba48eb244552 100644
--- a/textproc/py-sphinx-copybutton/Makefile
+++ b/textproc/py-sphinx-copybutton/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sphinx-copybutton
 PORTVERSION=	0.5.2
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +12,12 @@ WWW=		https://github.com/executablebooks/sphinx-copybutton
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.8,1:textproc/py-sphinx@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes