aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-02-28 09:34:33 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-02-28 12:46:09 +0000
commitd7e1116893957040dfe1e60310b733779799a5a3 (patch)
treec3c6bc4c3152bc50c1ac655f242f6daf642112ae
parentb236b738d421b4d5c2f1d83debf1ec93f8d44b34 (diff)
downloadports-d7e1116893957040dfe1e60310b733779799a5a3.tar.gz
ports-d7e1116893957040dfe1e60310b733779799a5a3.zip
astro/py-metpy: Update USEES=python
- Clean up PYTHON_REL check devel/py-xarray 0.21.0 requires Python 3.8+
-rw-r--r--astro/py-metpy/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/astro/py-metpy/Makefile b/astro/py-metpy/Makefile
index dc327a74ef19..7e9e67e6c785 100644
--- a/astro/py-metpy/Makefile
+++ b/astro/py-metpy/Makefile
@@ -24,17 +24,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.3.0:math/py-matplotlib@${PY_FL
${PYTHON_PKGNAMEPREFIX}traitlets>=4.3.0:devel/py-traitlets@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xarray>=0.14.1:devel/py-xarray@${PY_FLAVOR}
-USES= python:3.7+
+USES= python:3.8+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
-.if ${PYTHON_REL} < 30800
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.0.0:devel/py-importlib-metadata@${PY_FLAVOR}
-.endif
-
.if ${PYTHON_REL} < 30900
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.3.0:devel/py-importlib-resources@${PY_FLAVOR}
.endif