git: 4c9c8c6dcd6b - main - astro/py-metar: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 14:59:41 UTC
The branch main has been updated by sunpoet:

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

commit 4c9c8c6dcd6baf8cf60f4125eda99b863ffa1692
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:20:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:31:01 +0000

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

diff --git a/astro/py-metar/Makefile b/astro/py-metar/Makefile
index 569c0a63cd4a..ffa0a32c01d3 100644
--- a/astro/py-metar/Makefile
+++ b/astro/py-metar/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	metar
 PORTVERSION=	1.11.0
+PORTREVISION=	1
 CATEGORIES=	astro python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +13,11 @@ WWW=		https://github.com/python-metar/python-metar
 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
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes