git: 9723890b5cc4 - main - textproc/py-spacy-legacy: Convert to USE_PYTHON=pep517

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

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

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

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

diff --git a/textproc/py-spacy-legacy/Makefile b/textproc/py-spacy-legacy/Makefile
index cb699afa9519..8b3df079a18a 100644
--- a/textproc/py-spacy-legacy/Makefile
+++ b/textproc/py-spacy-legacy/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	spacy-legacy
 PORTVERSION=	3.0.12
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +13,11 @@ WWW=		https://spacy.io/ \
 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}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes