aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 14:20:30 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 14:31:01 +0000
commit4c9c8c6dcd6baf8cf60f4125eda99b863ffa1692 (patch)
treef2597d681eb1f09282ca9760e5644056c35f48be
parentcb8b43a5e2c03b1e9b8ffd5ab86b823b91ef17bd (diff)
downloadports-4c9c8c6dcd6baf8cf60f4125eda99b863ffa1692.tar.gz
ports-4c9c8c6dcd6baf8cf60f4125eda99b863ffa1692.zip
astro/py-metar: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--astro/py-metar/Makefile6
1 files changed, 5 insertions, 1 deletions
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