py-mpldock: new package (#41316)

* py-mpldock: new package

* py-mpldock: remove version constraint on python

---------

Co-authored-by: LydDeb <lyderic.debusschere@eolen.com>
This commit is contained in:
Lydéric Debusschère 2023-12-07 21:24:05 +01:00 committed by GitHub
parent 0a6045eadf
commit 6531fbf425
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 PyMpldock(PythonPackage):
"""Dock matplotlib figures and other widgets."""
homepage = "https://github.com/peper0/mpldock"
pypi = "mpldock/mpldock-0.1.tar.gz"
maintainers("LydDeb")
version("0.1", sha256="8fee2e9cb25e122c9e11c15ea3ad22c9d03e78a08a0bc2b7f453230d58a31a55")
depends_on("py-setuptools", type="build")
depends_on("py-pyqt5", type=("build", "run"))
depends_on("py-matplotlib", type=("build", "run"))
depends_on("py-appdirs", type=("build", "run"))