Add py-asdf 2.3.1

The Advanced Scientific Data Format (ASDF) is a next-generation interchange
format for scientific data. This package contains the Python implementation of
the ASDF Standard.

The ASDF format has the following features:
- A hierarchical, human-readable metadata format (implemented using YAML)
- Numerical arrays are stored as binary data blocks which can be memory mapped.
  Data blocks can optionally be compressed.
- The structure of the data can be automatically validated using schemas
  (implemented using JSON Schema)
- Native Python data types (numerical types, strings, dicts, lists) are
  serialized automatically
- ASDF can be extended to serialize custom data types

WWW: https://github.com/spacetelescope/asdf
This commit is contained in:
Sunpoet Po-Chuan Hsieh
2019-01-17 19:21:25 +00:00
parent bde795881f
commit 5542508c35
4 changed files with 47 additions and 0 deletions

View File

@@ -218,6 +218,7 @@
SUBDIR += py-ScientificPython
SUBDIR += py-SimpleSpectral
SUBDIR += py-abipy
SUBDIR += py-asdf
SUBDIR += py-ase
SUBDIR += py-avogadrolibs
SUBDIR += py-cdo

28
science/py-asdf/Makefile Normal file
View File

@@ -0,0 +1,28 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= asdf
PORTVERSION= 2.3.1
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python tools to handle ASDF files
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/licenses/LICENSE.rst
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.3:devel/py-jsonschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lz4>=0.10:archivers/py-lz4@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.8:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}semantic_version>=2.3.1:devel/py-semantic_version@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=3.10:devel/py-yaml@${PY_FLAVOR}
USES= python:3.3+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>

3
science/py-asdf/distinfo Normal file
View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1547699123
SHA256 (asdf-2.3.1.tar.gz) = deea56c2c685e56802bfd328f9df9a60b4d209774251c4166a2605b4ad023697
SIZE (asdf-2.3.1.tar.gz) = 577885

15
science/py-asdf/pkg-descr Normal file
View File

@@ -0,0 +1,15 @@
The Advanced Scientific Data Format (ASDF) is a next-generation interchange
format for scientific data. This package contains the Python implementation of
the ASDF Standard.
The ASDF format has the following features:
- A hierarchical, human-readable metadata format (implemented using YAML)
- Numerical arrays are stored as binary data blocks which can be memory mapped.
Data blocks can optionally be compressed.
- The structure of the data can be automatically validated using schemas
(implemented using JSON Schema)
- Native Python data types (numerical types, strings, dicts, lists) are
serialized automatically
- ASDF can be extended to serialize custom data types
WWW: https://github.com/spacetelescope/asdf