summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorValentin Volkl <valentin.volkl@cern.ch>2022-09-24 22:52:14 +0200
committerGitHub <noreply@github.com>2022-09-24 15:52:14 -0500
commit5573ccee5377e08a2ea7fbc26ba594cb9d516b78 (patch)
treec195add7a52c8e3d4aa4387501db1806f299c9c3 /var
parentb721f8038f9c715aafbc6d8a98eef98cf3d9fa2f (diff)
downloadspack-5573ccee5377e08a2ea7fbc26ba594cb9d516b78.tar.gz
spack-5573ccee5377e08a2ea7fbc26ba594cb9d516b78.tar.bz2
spack-5573ccee5377e08a2ea7fbc26ba594cb9d516b78.tar.xz
spack-5573ccee5377e08a2ea7fbc26ba594cb9d516b78.zip
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
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-colorcet/package.py24
-rw-r--r--var/spack/repos/builtin/packages/py-pyct/package.py21
2 files changed, 45 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-colorcet/package.py b/var/spack/repos/builtin/packages/py-colorcet/package.py
new file mode 100644
index 0000000000..fe200c7efb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-colorcet/package.py
@@ -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"))
diff --git a/var/spack/repos/builtin/packages/py-pyct/package.py b/var/spack/repos/builtin/packages/py-pyct/package.py
new file mode 100644
index 0000000000..b448d11bdd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyct/package.py
@@ -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"))