py-cmocean: added new package at v2.0 (#18614)
This commit is contained in:
parent
2af9e44340
commit
5f0c3427ae
18
var/spack/repos/builtin/packages/py-cmocean/package.py
Normal file
18
var/spack/repos/builtin/packages/py-cmocean/package.py
Normal file
@ -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')
|
Loading…
Reference in New Issue
Block a user