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>
This commit is contained in:
Lydéric Debusschère 2023-10-20 14:37:15 +02:00 committed by GitHub
parent cbc39977ca
commit a0e33bf7b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"))