diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-09-16 13:07:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-16 13:07:48 -0500 |
commit | a08a7da41300721e07c1bff8e36e3c3d69af06fb (patch) | |
tree | 308b8fc6c32e28f0d400e0e63351452acbe4e29b | |
parent | fea315e2740c8d6be6344eaf867cfd8c79d80051 (diff) | |
download | spack-a08a7da41300721e07c1bff8e36e3c3d69af06fb.tar.gz spack-a08a7da41300721e07c1bff8e36e3c3d69af06fb.tar.bz2 spack-a08a7da41300721e07c1bff8e36e3c3d69af06fb.tar.xz spack-a08a7da41300721e07c1bff8e36e3c3d69af06fb.zip |
Add py-asdf package (#12817)
-rw-r--r-- | var/spack/repos/builtin/packages/py-asdf/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
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')) |