git: d6371dae9ee5 - main - science/py-asdf: Update to 2.15.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Apr 2023 20:43:06 UTC
The branch main has been updated by sunpoet:

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

commit d6371dae9ee51b4cf7994c548e976fd21c2d1471
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-09 20:40:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-09 20:40:29 +0000

    science/py-asdf: Update to 2.15.0
    
    - Add ALL option
    
    Changes:        https://github.com/asdf-format/asdf/releases
---
 science/py-asdf/Makefile | 19 ++++++++++++-------
 science/py-asdf/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/science/py-asdf/Makefile b/science/py-asdf/Makefile
index bd34499ef52d..58659eafcbb4 100644
--- a/science/py-asdf/Makefile
+++ b/science/py-asdf/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	asdf
-PORTVERSION=	2.14.4
+PORTVERSION=	2.15.0
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,15 +15,14 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=60:devel/py-setuptools@${PY_FL
 		${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}asdf-standard>=1.0.1:science/py-asdf-standard@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}asdf-transform-schemas>=0.2.2:science/py-asdf-transform-schemas@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}asdf-unit-schemas>=0.1.0:science/py-asdf-unit-schemas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}asdf-transform-schemas>=0.3:science/py-asdf-transform-schemas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}asdf-unit-schemas>=0.1:science/py-asdf-unit-schemas@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.11.4:devel/py-importlib-metadata@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jmespath>=0.6.2:devel/py-jmespath@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jsonschema>=4.0.1<4.18:devel/py-jsonschema@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}lz4>=0.10:archivers/py-lz4@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy>=1.18,1:math/py-numpy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}packaging>=16.0:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}yaml>=3.10:devel/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=1.20,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=19:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=5.4.1:devel/py-yaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}semantic-version>=2.8:devel/py-semantic-version@${PY_FLAVOR}
 
 USES=		python:3.8+
@@ -31,6 +30,12 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	ALL
+OPTIONS_DEFAULT=ALL
+ALL_DESC=	Lz4 compression algorithm support
+
+ALL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lz4>=0.10:archivers/py-lz4@${PY_FLAVOR}
+
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} < 30900
diff --git a/science/py-asdf/distinfo b/science/py-asdf/distinfo
index 50bb123e03ad..f6d76e6672bf 100644
--- a/science/py-asdf/distinfo
+++ b/science/py-asdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1679498800
-SHA256 (asdf-2.14.4.tar.gz) = d1251a9d85ec83437ddddeb205d32381a04ab1240520750189a1d07ee8e91129
-SIZE (asdf-2.14.4.tar.gz) = 489116
+TIMESTAMP = 1681052958
+SHA256 (asdf-2.15.0.tar.gz) = 686f1c91ebf987d41f915cfb6aa70940d7ad17f87ede0be70463147ad2314587
+SIZE (asdf-2.15.0.tar.gz) = 505054