git: 6e52568e167a - main - science/py-asdf: Update to 5.4.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 12 Sep 2026 11:34:15 UTC
The branch main has been updated by sunpoet:

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

commit 6e52568e167a2c2a2de1a98f1af0df09d25c7525
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-12 11:00:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-12 11:23:31 +0000

    science/py-asdf: Update to 5.4.0
    
    Changes:        https://github.com/asdf-format/asdf/releases
                    https://www.asdf-format.org/projects/asdf/en/stable/asdf/changes.html
---
 science/py-asdf/Makefile                   | 5 +++--
 science/py-asdf/distinfo                   | 6 +++---
 science/py-asdf/files/patch-pyproject.toml | 7 ++++---
 3 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/science/py-asdf/Makefile b/science/py-asdf/Makefile
index 414e232ffea0..fa3e69b546cd 100644
--- a/science/py-asdf/Makefile
+++ b/science/py-asdf/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	asdf
-PORTVERSION=	5.3.1
+PORTVERSION=	5.4.0
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -21,7 +21,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asdf-standard>=1.1.0:science/py-asdf-standar
 		${PYTHON_PKGNAMEPREFIX}numpy>=1.22,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=19:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}semantic-version>=2.8:devel/py-semantic-version@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}semantic-version>=2.8:devel/py-semantic-version@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.16:devel/py-typing-extensions@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fsspec>=2022.8.2:filesystems/py-fsspec@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}lz4>=0.10:archivers/py-lz4@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \
diff --git a/science/py-asdf/distinfo b/science/py-asdf/distinfo
index 38dc8c6ce3c8..b797ff81c09c 100644
--- a/science/py-asdf/distinfo
+++ b/science/py-asdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1782966564
-SHA256 (asdf-5.3.1.tar.gz) = c96c936cb65e75d8778d889f274f79ac90464a9ef2e7b794227dc204235fdcdf
-SIZE (asdf-5.3.1.tar.gz) = 903798
+TIMESTAMP = 1789128480
+SHA256 (asdf-5.4.0.tar.gz) = d4fcfe002ed35cc33bb2832f2901ad1881b2cb35fb24c471390be970b5e690f2
+SIZE (asdf-5.4.0.tar.gz) = 921866
diff --git a/science/py-asdf/files/patch-pyproject.toml b/science/py-asdf/files/patch-pyproject.toml
index c75bb3d5f9ef..af348d05e16b 100644
--- a/science/py-asdf/files/patch-pyproject.toml
+++ b/science/py-asdf/files/patch-pyproject.toml
@@ -1,11 +1,12 @@
---- pyproject.toml.orig	2026-04-23 20:15:51 UTC
+--- pyproject.toml.orig	2026-09-04 21:02:54 UTC
 +++ pyproject.toml
-@@ -3,7 +3,7 @@ requires-python = ">=3.10"
+@@ -3,8 +3,7 @@ requires-python = ">=3.10"
  description = "Python implementation of the ASDF Standard"
  readme = "README.rst"
  requires-python = ">=3.10"
+-license = "BSD-3-Clause"
 -license-files = ["LICENSE"]
-+license = { file = 'LICENSE' }
++license = { text = "BSD-3-Clause" }
  authors = [{ name = "The ASDF Developers" }]
  classifiers = [
    "Development Status :: 5 - Production/Stable",