From 4e831b7e68c1e3279cd5170f0ba3f0fdf407ff4a Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Mon, 30 Jan 2023 20:33:49 +0800 Subject: [PATCH] science/py-asdf: Update to 2.14.3 Changes: https://github.com/asdf-format/asdf/releases --- science/py-asdf/Makefile | 9 +++++---- science/py-asdf/distinfo | 6 +++--- science/py-asdf/files/setup.py | 18 ++++++++++-------- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/science/py-asdf/Makefile b/science/py-asdf/Makefile index c3ec12c9d7182..87abdff5ec684 100644 --- a/science/py-asdf/Makefile +++ b/science/py-asdf/Makefile @@ -1,6 +1,5 @@ PORTNAME= asdf -PORTVERSION= 2.13.0 -PORTREVISION= 1 +PORTVERSION= 2.14.3 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,10 +13,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE 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}importlib-metadata>=4.8.1:devel/py-importlib-metadata@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jmespath>=0.6.2:devel/py-jmespath@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}jsonschema49>=4.0.1<4.10.0:devel/py-jsonschema49@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.0.1:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lz4>=0.10:archivers/py-lz4@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}numpy>=1.10,1:math/py-numpy@${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}semantic-version>=2.8:devel/py-semantic-version@${PY_FLAVOR} diff --git a/science/py-asdf/distinfo b/science/py-asdf/distinfo index 8a3b6450bc2e6..778e7bce2ddb6 100644 --- a/science/py-asdf/distinfo +++ b/science/py-asdf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1661599311 -SHA256 (asdf-2.13.0.tar.gz) = 32e2a69a53d1701fc4616e800fb3daff81bbad801832a7bf563e3b61c9fe3dfe -SIZE (asdf-2.13.0.tar.gz) = 481609 +TIMESTAMP = 1674589984 +SHA256 (asdf-2.14.3.tar.gz) = aa05f870b078f6cad74e5cfefc815fa4589b446cf456fd036d978238baf3dc16 +SIZE (asdf-2.14.3.tar.gz) = 489097 diff --git a/science/py-asdf/files/setup.py b/science/py-asdf/files/setup.py index 66f3f82bf4c9c..78c9ae3289487 100644 --- a/science/py-asdf/files/setup.py +++ b/science/py-asdf/files/setup.py @@ -24,10 +24,12 @@ install_requires = \ ['asdf-standard >=1.0.1', - 'asdf-transform-schemas >=0.2.2', + 'asdf-transform-schemas >=0.3.0', + 'asdf-unit-schemas >=0.1.0', + 'importlib-metadata >=4.8.1', 'jmespath >=0.6.2', - 'jsonschema >=4.0.1, <4.10.0', - 'numpy >=1.10', + 'jsonschema >=4.0.1', + 'numpy >=1.18', 'packaging >=16.0', 'pyyaml >=3.10', 'semantic_version >=2.8'] @@ -35,19 +37,19 @@ extras_require = \ {':python_version <"3.9"': ['importlib_resources >=3'], 'all': ['lz4 >=0.10'], - 'docs': ['sphinx-asdf >=0.1.4'], + 'docs': ['tomli', 'sphinx-asdf >=0.1.4'], 'tests': ['astropy >=5.0.4', 'gwcs', + 'pytest >=6.0.0', 'pytest-doctestplus', 'pytest-remotedata', 'pytest-openfiles', 'psutil', - 'lz4 >=0.10'], - 'tests:sys_platform !="win32"': ['pytest >=6.0.0'], - 'tests:sys_platform =="win32"': ['pytest !=7.1.0, !=7.1.1, !=7.1.2']} + 'lz4 >=0.10', + 'fsspec[http] >=2022.8.2']} entry_points = \ -{'onsole_scripts': ['asdftool = asdf.commands.main:main'], +{'console_scripts': ['asdftool = asdf.commands.main:main'], 'asdf_extensions': ['builtin = asdf.extension:BuiltinExtension'], 'asdf.resource_mappings': ['asdf = asdf.resource:get_json_schema_resource_mappings'], 'pytest11': ['asdf_schema_tester = pytest_asdf.plugin']}