aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-08-21 17:04:51 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-08-21 17:04:51 +0000
commit7cc9309f9b4cbdf4c410a64e88f23e3da6d5b308 (patch)
tree69eba689e1c1250ed534b86e643f5b5cdaa286d7 /science
parente61f43c9cc7223566595c4d96003743a43d6ee57 (diff)
downloadports-7cc9309f9b4cbdf4c410a64e88f23e3da6d5b308.tar.gz
ports-7cc9309f9b4cbdf4c410a64e88f23e3da6d5b308.zip
science/py-asdf: Update to 2.15.1
- Change RUN_DEPENDS from py-jsonschema417 to py-jsonschema Changes: https://github.com/asdf-format/asdf/releases
Diffstat (limited to 'science')
-rw-r--r--science/py-asdf/Makefile20
-rw-r--r--science/py-asdf/distinfo6
2 files changed, 11 insertions, 15 deletions
diff --git a/science/py-asdf/Makefile b/science/py-asdf/Makefile
index e985d61575ad..c79dd07d3f77 100644
--- a/science/py-asdf/Makefile
+++ b/science/py-asdf/Makefile
@@ -1,6 +1,5 @@
PORTNAME= asdf
-PORTVERSION= 2.15.0
-PORTREVISION= 2
+PORTVERSION= 2.15.1
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,29 +17,26 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=60:devel/py-setuptools@${PY_FL
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asdf-standard>=1.0.1:science/py-asdf-standard@${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}attrs>=20.1.0:devel/py-attrs@${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}jsonschema417>=4.0.1<4.18:devel/py-jsonschema417@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}numpy>=1.20,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.8:devel/py-jsonschema@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>=1.22,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
+USES= python:3.9+ shebangfix
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
+SHEBANG_FILES= asdf/_jsonschema/json/bin/jsonschema_suite
+
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
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=3:devel/py-importlib-resources@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/science/py-asdf/distinfo b/science/py-asdf/distinfo
index f6d76e6672bf..3d1121cc463d 100644
--- a/science/py-asdf/distinfo
+++ b/science/py-asdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681052958
-SHA256 (asdf-2.15.0.tar.gz) = 686f1c91ebf987d41f915cfb6aa70940d7ad17f87ede0be70463147ad2314587
-SIZE (asdf-2.15.0.tar.gz) = 505054
+TIMESTAMP = 1692211811
+SHA256 (asdf-2.15.1.tar.gz) = be09427d69d8c145b374915ad75b24c089a6e6d686f0865904ac487be3a803ff
+SIZE (asdf-2.15.1.tar.gz) = 804690