git: fc05439cffb6 - main - astro/py-metpy: Update to 1.6.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:21:29 UTC
The branch main has been updated by sunpoet:

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

commit fc05439cffb6ef9b1eee65d7f1fb7547940c8433
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:31:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:07:06 +0000

    astro/py-metpy: Update to 1.6.1
    
    Changes:        https://github.com/Unidata/MetPy/releases
---
 astro/py-metpy/Makefile | 28 +++++++++++-----------------
 astro/py-metpy/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 20 deletions(-)

diff --git a/astro/py-metpy/Makefile b/astro/py-metpy/Makefile
index 114d088e40d4..8c9a6262ba31 100644
--- a/astro/py-metpy/Makefile
+++ b/astro/py-metpy/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	metpy
-PORTVERSION=	1.5.1
+PORTVERSION=	1.6.1
 CATEGORIES=	astro python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,33 +12,27 @@ WWW=		https://github.com/Unidata/MetPy
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>=3.3.0:math/py-matplotlib@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy>=1.18.0,1:math/py-numpy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pandas>=1.0.0,1:math/py-pandas@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pint>=0.15:devel/py-pint@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>=3.5.0:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=1.20.0,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>=1.4.0,1:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pint>=0.17:devel/py-pint@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pooch>=1.2.0:devel/py-pooch@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyproj>=2.6.1:graphics/py-pyproj@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}scipy>=1.4.0:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyproj>=3.0.0:graphics/py-pyproj@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.8.0:science/py-scipy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}traitlets>=5.0.5:devel/py-traitlets@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}xarray>=0.18.0:devel/py-xarray@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}xarray>=0.21.0:devel/py-xarray@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.9+
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
 PLIST_FILES=	${PYTHON_SITELIBDIR}/metpy/static-data-manifest.txt
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 30900
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.3.0:devel/py-importlib-resources@${PY_FLAVOR}
-.endif
-
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/src/metpy/static-data-manifest.txt ${STAGEDIR}${PYTHON_SITELIBDIR}/metpy/static-data-manifest.txt
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/astro/py-metpy/distinfo b/astro/py-metpy/distinfo
index a5e1c5785cb9..221f7639c4d7 100644
--- a/astro/py-metpy/distinfo
+++ b/astro/py-metpy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688902071
-SHA256 (MetPy-1.5.1.tar.gz) = abee94033642c06efecac3aabc224449124f14fdb01de12001f324da54ce46c7
-SIZE (MetPy-1.5.1.tar.gz) = 10714954
+TIMESTAMP = 1708449086
+SHA256 (MetPy-1.6.1.tar.gz) = 55bbcaaaef41027e67e051e3d2c029917217a2dd8768498d9dfca4939555ffdf
+SIZE (MetPy-1.6.1.tar.gz) = 11207285