summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLydéric Debusschère <lyderic.de@gmail.com>2023-10-20 14:37:15 +0200
committerGitHub <noreply@github.com>2023-10-20 07:37:15 -0500
commita0e33bf7b0223c24d031ebf2c882a87579d8ec35 (patch)
treecb8dfe7c9ace0f8114348d630a66a2fdd321a79d
parentcbc39977ca03634f7a69eba25bd58c138e5d1519 (diff)
downloadspack-a0e33bf7b0223c24d031ebf2c882a87579d8ec35.tar.gz
spack-a0e33bf7b0223c24d031ebf2c882a87579d8ec35.tar.bz2
spack-a0e33bf7b0223c24d031ebf2c882a87579d8ec35.tar.xz
spack-a0e33bf7b0223c24d031ebf2c882a87579d8ec35.zip
py-corner: new package (#40546)
* [add] py-corner: new package * py-corner: remove py-wheel dependence with respect to reviewing commentary --------- Co-authored-by: LydDeb <lyderic.debusschere@eolen.com>
-rw-r--r--var/spack/repos/builtin/packages/py-corner/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-corner/package.py b/var/spack/repos/builtin/packages/py-corner/package.py
new file mode 100644
index 0000000000..81ae512123
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-corner/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2023 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 PyCorner(PythonPackage):
+ """Make some beautiful corner plots."""
+
+ homepage = "https://corner.readthedocs.io"
+ pypi = "corner/corner-2.2.2.tar.gz"
+
+ maintainers("LydDeb")
+
+ version("2.2.2", sha256="4bc79f3b6778c270103f0926e64ef2606c48c3b6f92daf5382fc4babf5d608d1")
+
+ depends_on("python@3.9:", type=("build", "run"))
+ depends_on("py-setuptools@62.0:", type="build")
+ depends_on("py-setuptools-scm", type="build")
+ depends_on("py-matplotlib@2.1:", type=("build", "run"))