summaryrefslogtreecommitdiff
path: root/science/py-asdf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/py-asdf/Makefile')
-rw-r--r--science/py-asdf/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/science/py-asdf/Makefile b/science/py-asdf/Makefile
index f6c7539035f4..3986edee3d15 100644
--- a/science/py-asdf/Makefile
+++ b/science/py-asdf/Makefile
@@ -1,12 +1,12 @@
PORTNAME= asdf
-PORTVERSION= 4.1.0
+PORTVERSION= 4.3.0
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python tools to handle ASDF files
-WWW= https://asdf.readthedocs.io/en/latest/ \
+WWW= https://www.asdf-format.org/projects/asdf/en/latest/ \
https://github.com/asdf-format/asdf
LICENSE= BSD3CLAUSE
@@ -31,18 +31,23 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fsspec>=2022.8.2:filesystems/py-fsspec@${PY
# fsspec[http]
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}aiohttp>=0:www/py-aiohttp@${PY_FLAVOR}
-USES= python:3.9+ shebangfix
+USES= python shebangfix
USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
SHEBANG_FILES= asdf/_jsonschema/json/bin/jsonschema_suite
-OPTIONS_DEFINE= ALL
-OPTIONS_DEFAULT=ALL
-ALL_DESC= Lz4 compression algorithm support
+OPTIONS_DEFINE= ALL HTTP LZ4
+OPTIONS_DEFAULT=ALL HTTP LZ4
+ALL_IMPLIES= HTTP LZ4
+ALL_DESC= All optional dependencies
+HTTP_DESC= HTTP support via fsspec
+LZ4_DESC= Lz4 compression algorithm support
-ALL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lz4>=0.10:archivers/py-lz4@${PY_FLAVOR}
+HTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=0:www/py-aiohttp@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}fsspec>=2022.8.2:filesystems/py-fsspec@${PY_FLAVOR}
+LZ4_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lz4>=0.10:archivers/py-lz4@${PY_FLAVOR}
.include <bsd.port.pre.mk>