diff options
author | WuK <i@wu-kan.cn> | 2022-07-02 01:46:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 10:46:35 -0700 |
commit | 8b4de69f6a1b3eab0c7304bffb867ea86b8a5413 (patch) | |
tree | 15e47b783fc45487f34039c43b6621cb32991d3a | |
parent | 3e85d3fd03464a7ebb31954d4d5c0574712a9981 (diff) | |
download | spack-8b4de69f6a1b3eab0c7304bffb867ea86b8a5413.tar.gz spack-8b4de69f6a1b3eab0c7304bffb867ea86b8a5413.tar.bz2 spack-8b4de69f6a1b3eab0c7304bffb867ea86b8a5413.tar.xz spack-8b4de69f6a1b3eab0c7304bffb867ea86b8a5413.zip |
py-altair: new package (#31386)
* py-altair: new package
* Update var/spack/repos/builtin/packages/py-altair/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update var/spack/repos/builtin/packages/py-altair/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update var/spack/repos/builtin/packages/py-altair/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* py-altair: update
* Update var/spack/repos/builtin/packages/py-altair/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/py-altair/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-altair/package.py b/var/spack/repos/builtin/packages/py-altair/package.py new file mode 100644 index 0000000000..05113eac75 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-altair/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2022 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.package import * + + +class PyAltair(PythonPackage): + """Declarative statistical visualization library for Python""" + + pypi = 'altair/altair-4.2.0.tar.gz' + + version('4.2.0', sha256="d87d9372e63b48cd96b2a6415f0cf9457f50162ab79dc7a31cd7e024dd840026") + + depends_on('python@3.7:', type=('build', 'run')) + depends_on('py-setuptools@40.6:', type='build') + depends_on('py-entrypoints', type=('build', 'run')) + depends_on('py-jsonschema@3:', type=('build', 'run')) + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-pandas@0.18:', type=('build', 'run')) + depends_on('py-toolz', type=('build', 'run')) + depends_on('py-jinja2', type=('build', 'run')) |