py-colorcet: add new package (#31597)
* py-colorcet: add new package * style * py-colorcet: depend on python 2.7: * address pr review comments * address pr review comments * style
This commit is contained in:
parent
b721f8038f
commit
5573ccee53
2 changed files with 45 additions and 0 deletions
24
var/spack/repos/builtin/packages/py-colorcet/package.py
Normal file
24
var/spack/repos/builtin/packages/py-colorcet/package.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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 PyColorcet(PythonPackage):
|
||||
"""A collection of perceptually acccurate 256-color colormaps for use with
|
||||
Python plotting programs like Bokeh, Matplotlib, HoloViews, and Datashader."""
|
||||
|
||||
homepage = "https://colorcet.holoviz.org/index.html"
|
||||
pypi = "colorcet/colorcet-3.0.0.tar.gz"
|
||||
|
||||
maintainers = ["vvolkl"]
|
||||
|
||||
version("3.0.0", sha256="21c522346a7aa81a603729f2996c22ac3f7822f4c8c303c59761e27d2dfcf3db")
|
||||
|
||||
depends_on("python@2.7:", type=("build", "run"))
|
||||
depends_on("py-setuptools@30.3.0:", type="build")
|
||||
depends_on("py-param@1.7.0:", type=("build", "run"))
|
||||
depends_on("py-pyct@0.4.4:", type=("build", "run"))
|
21
var/spack/repos/builtin/packages/py-pyct/package.py
Normal file
21
var/spack/repos/builtin/packages/py-pyct/package.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
# 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 PyPyct(PythonPackage):
|
||||
"""Python package common tasks for users (e.g. copy examples, fetch data, ...)"""
|
||||
|
||||
pypi = "pyct/pyct-0.4.8.tar.gz"
|
||||
|
||||
maintainers = ["vvolkl"]
|
||||
|
||||
version("0.4.8", sha256="23d7525b5a1567535c093aea4b9c33809415aa5f018dd77f6eb738b1226df6f7")
|
||||
|
||||
depends_on("python@2.7:", type=("build", "run"))
|
||||
depends_on("py-setuptools@30.3.0:", type="build")
|
||||
depends_on("py-param@1.7.0:", type=("build", "run"))
|
Loading…
Reference in a new issue