git: b155d74c38be - main - devel/py-pymarc: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 06 Jul 2024 16:28:49 UTC
The branch main has been updated by sunpoet:

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

commit b155d74c38bed85a8fa0ef4c8a38ed3078142836
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-06 16:12:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-06 16:12:02 +0000

    devel/py-pymarc: Convert to USE_PYTHON=pep517
    
    - Add LICENSE_FILE
    - Bump PORTREVISION for package change
---
 devel/py-pymarc/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/devel/py-pymarc/Makefile b/devel/py-pymarc/Makefile
index 4fec11cca58d..ec23d4144382 100644
--- a/devel/py-pymarc/Makefile
+++ b/devel/py-pymarc/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pymarc
 PORTVERSION=	5.1.2
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
@@ -10,9 +11,13 @@ COMMENT=	Read Write And Modify MARC Bibliographic Data
 WWW=		https://gitlab.com/pymarc/pymarc
 
 LICENSE=	BSD2CLAUSE
+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 unittest
+USE_PYTHON=	autoplist concurrent pep517 unittest
 
 NO_ARCH=	yes