git: 72459caea4d6 - main - science/py-asdf: Update to 3.4.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 15 Aug 2024 11:55:28 UTC
The branch main has been updated by sunpoet:

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

commit 72459caea4d6f6ee6559fb92ba709df7494a8cbb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-15 09:45:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-15 10:55:39 +0000

    science/py-asdf: Update to 3.4.0
    
    Changes:        https://github.com/asdf-format/asdf/releases
---
 science/py-asdf/Makefile | 13 +++++++++----
 science/py-asdf/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/science/py-asdf/Makefile b/science/py-asdf/Makefile
index 420935ca2e5a..1fd230cb4771 100644
--- a/science/py-asdf/Makefile
+++ b/science/py-asdf/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	asdf
-PORTVERSION=	3.3.0
+PORTVERSION=	3.4.0
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,8 +17,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=60:devel/py-setuptools@${PY_FL
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asdf-standard>=1.1.0:science/py-asdf-standard@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}asdf-transform-schemas>=0.3:science/py-asdf-transform-schemas@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}attrs>=20.1.0:devel/py-attrs@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.11.4:devel/py-importlib-metadata@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}attrs>=22.2.0:devel/py-attrs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jmespath>=0.6.2:devel/py-jmespath@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}numpy>=1.22,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=19:devel/py-packaging@${PY_FLAVOR} \
@@ -45,4 +44,10 @@ ALL_DESC=	Lz4 compression algorithm support
 
 ALL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lz4>=0.10:archivers/py-lz4@${PY_FLAVOR}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.11.4:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/science/py-asdf/distinfo b/science/py-asdf/distinfo
index daac32e6b6a9..b9a579d01a94 100644
--- a/science/py-asdf/distinfo
+++ b/science/py-asdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1720893194
-SHA256 (asdf-3.3.0.tar.gz) = 6aea21f7944fdd979d383773511e529ef30adade14b4037e5080fc16c7459e5f
-SIZE (asdf-3.3.0.tar.gz) = 801412
+TIMESTAMP = 1723201093
+SHA256 (asdf-3.4.0.tar.gz) = 5a2f0b9de6732a472b4137aa5b59d3c20703e7b70f45ea38c2dcbfc95c6370ef
+SIZE (asdf-3.4.0.tar.gz) = 802241