diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-09-15 01:36:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-15 08:36:26 +0200 |
commit | 5f0c3427ae302d67ccd26bbdefefc143b741f9c1 (patch) | |
tree | 174ed18e9b7c541125e40b18d516efa80f0c2bd6 | |
parent | 2af9e44340873ea1b0f101cd0b0ee453661bb707 (diff) | |
download | spack-5f0c3427ae302d67ccd26bbdefefc143b741f9c1.tar.gz spack-5f0c3427ae302d67ccd26bbdefefc143b741f9c1.tar.bz2 spack-5f0c3427ae302d67ccd26bbdefefc143b741f9c1.tar.xz spack-5f0c3427ae302d67ccd26bbdefefc143b741f9c1.zip |
py-cmocean: added new package at v2.0 (#18614)
-rw-r--r-- | var/spack/repos/builtin/packages/py-cmocean/package.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cmocean/package.py b/var/spack/repos/builtin/packages/py-cmocean/package.py new file mode 100644 index 0000000000..aca64870cc --- /dev/null +++ b/var/spack/repos/builtin/packages/py-cmocean/package.py @@ -0,0 +1,18 @@ +# Copyright 2013-2020 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) + + +class PyCmocean(PythonPackage): + """Colormaps for Oceanography.""" + + homepage = "https://matplotlib.org/cmocean/" + url = "https://pypi.io/packages/source/c/cmocean/cmocean-2.0.tar.gz" + + version('2.0', sha256='13eea3c8994d8e303e32a2db0b3e686f6edfb41cb21e7b0e663c2b17eea9b03a') + + depends_on('py-setuptools', type='build') + depends_on('py-matplotlib', type=('build', 'run')) + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-pytest', type='test') |