From a08a7da41300721e07c1bff8e36e3c3d69af06fb Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 16 Sep 2019 13:07:48 -0500 Subject: Add py-asdf package (#12817) --- .../repos/builtin/packages/py-asdf/package.py | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-asdf/package.py diff --git a/var/spack/repos/builtin/packages/py-asdf/package.py b/var/spack/repos/builtin/packages/py-asdf/package.py new file mode 100644 index 0000000000..4873c2a132 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-asdf/package.py @@ -0,0 +1,26 @@ +# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyAsdf(PythonPackage): + """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.""" + + homepage = "https://github.com/spacetelescope/asdf" + url = "https://pypi.io/packages/source/a/asdf/asdf-2.4.2.tar.gz" + + version('2.4.2', sha256='6ff3557190c6a33781dae3fd635a8edf0fa0c24c6aca27d8679af36408ea8ff2') + + depends_on('python@3.3:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-setuptools-scm', type='build') + depends_on('py-semantic-version@2.3.1:2.6.0', type=('build', 'run')) + depends_on('py-pyyaml@3.10:', type=('build', 'run')) + depends_on('py-jsonschema@2.3:3.999', type=('build', 'run')) + depends_on('py-six@1.9.0:', type=('build', 'run')) + depends_on('py-numpy@1.8:', type=('build', 'run')) -- cgit v1.2.3-60-g2f50