git: f1d329ab2612 - main - astro/py-pymetar: Convert to USE_PYTHON=pep517

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

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

commit f1d329ab26127a42fa8ca73b33eae4dc40203673
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-pymetar: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 astro/py-pymetar/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/astro/py-pymetar/Makefile b/astro/py-pymetar/Makefile
index bbf212d8b094..0db21c18b2cc 100644
--- a/astro/py-pymetar/Makefile
+++ b/astro/py-pymetar/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pymetar
 PORTVERSION=	1.4
+PORTREVISION=	1
 CATEGORIES=	astro geography python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/klausman/pymetar
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python shebangfix
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes