mirror of https://git.FreeBSD.org/ports.git
science/py-asdf: Update to 4.2.0
- Add HTTP and LZ4 options Changes: https://github.com/asdf-format/asdf/releases
This commit is contained in:
parent
2fef07090e
commit
98da0072ad
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= asdf
|
||||
PORTVERSION= 4.1.0
|
||||
PORTVERSION= 4.2.0
|
||||
CATEGORIES= science python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -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>
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1738606491
|
||||
SHA256 (asdf-4.1.0.tar.gz) = 0ff44992c85fd768bd9a9512ab7f012afb52ddcee390e9caf67e30d404122da1
|
||||
SIZE (asdf-4.1.0.tar.gz) = 905128
|
||||
TIMESTAMP = 1748831252
|
||||
SHA256 (asdf-4.2.0.tar.gz) = cba00a10cde18deb20100e001fe41022f5c0cda02720dda9f716fb2150a46cf7
|
||||
SIZE (asdf-4.2.0.tar.gz) = 892353
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- pyproject.toml.orig 2025-05-30 20:49:07 UTC
|
||||
+++ pyproject.toml
|
||||
@@ -2,7 +2,7 @@ readme = 'README.rst'
|
||||
name = "asdf"
|
||||
description = "Python implementation of the ASDF Standard"
|
||||
readme = 'README.rst'
|
||||
-license-files = ['LICENSE']
|
||||
+license = { file = 'LICENSE' }
|
||||
authors = [{ name = 'The ASDF Developers', email = 'help@stsci.edu' }]
|
||||
requires-python = '>=3.9'
|
||||
classifiers = [
|
Loading…
Reference in New Issue