git: c15ca024847b - main - textproc/py-tableschema-to-template: Convert to USE_PYTHON=pep517

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

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

commit c15ca024847bb020391ae28c3d0c6ab07fa129b1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:11:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:11:04 +0000

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

diff --git a/textproc/py-tableschema-to-template/Makefile b/textproc/py-tableschema-to-template/Makefile
index e78a236cc2c3..d75da013f776 100644
--- a/textproc/py-tableschema-to-template/Makefile
+++ b/textproc/py-tableschema-to-template/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tableschema-to-template
 PORTVERSION=	0.0.13
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +12,14 @@ WWW=		https://github.com/hubmapconsortium/tableschema-to-template
 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}jsonschema>=1.0.0:devel/py-jsonschema@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=3.13:devel/py-yaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}XlsxWriter>=1.2.8:textproc/py-xlsxwriter@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes