Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2019 19:21:25 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490586 - in head/science: . py-asdf
Message-ID:  <201901171921.x0HJLPrG008349@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Jan 17 19:21:25 2019
New Revision: 490586
URL: https://svnweb.freebsd.org/changeset/ports/490586

Log:
  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

Added:
  head/science/py-asdf/
  head/science/py-asdf/Makefile   (contents, props changed)
  head/science/py-asdf/distinfo   (contents, props changed)
  head/science/py-asdf/pkg-descr   (contents, props changed)
Modified:
  head/science/Makefile

Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile	Thu Jan 17 19:21:19 2019	(r490585)
+++ head/science/Makefile	Thu Jan 17 19:21:25 2019	(r490586)
@@ -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

Added: head/science/py-asdf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/py-asdf/Makefile	Thu Jan 17 19:21:25 2019	(r490586)
@@ -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>

Added: head/science/py-asdf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/py-asdf/distinfo	Thu Jan 17 19:21:25 2019	(r490586)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1547699123
+SHA256 (asdf-2.3.1.tar.gz) = deea56c2c685e56802bfd328f9df9a60b4d209774251c4166a2605b4ad023697
+SIZE (asdf-2.3.1.tar.gz) = 577885

Added: head/science/py-asdf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/py-asdf/pkg-descr	Thu Jan 17 19:21:25 2019	(r490586)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901171921.x0HJLPrG008349>