summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authormschouler <schouler.marc@gmail.com>2023-07-20 23:43:38 +0200
committerGitHub <noreply@github.com>2023-07-20 16:43:38 -0500
commitd3c4b74095d8a33406fd0ec25f03ae3f28f88346 (patch)
tree3f07f9f4af681e749b19417570519ce3351b5d92 /var
parent26a74bb3bca700522dfd4b75976254fe29517cb0 (diff)
downloadspack-d3c4b74095d8a33406fd0ec25f03ae3f28f88346.tar.gz
spack-d3c4b74095d8a33406fd0ec25f03ae3f28f88346.tar.bz2
spack-d3c4b74095d8a33406fd0ec25f03ae3f28f88346.tar.xz
spack-d3c4b74095d8a33406fd0ec25f03ae3f28f88346.zip
Add recipe for py-plotext (#39023)
Co-authored-by: Marc Schouler <marc.schouler@inria.fr>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-plotext/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-plotext/package.py b/var/spack/repos/builtin/packages/py-plotext/package.py
new file mode 100644
index 0000000000..0d38a81d89
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-plotext/package.py
@@ -0,0 +1,20 @@
+# 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 PyPlotext(PythonPackage):
+ """Plotext plots directly on terminal."""
+
+ pypi = "plotext/plotext-5.2.8.tar.gz"
+ git = "https://github.com/piccolomo/plotext.git"
+
+ version("master", branch="master")
+ version("5.2.8", sha256="319a287baabeb8576a711995f973a2eba631c887aa6b0f33ab016f12c50ffebe")
+
+ # build dependencies
+ depends_on("python@3.5.0:", type=("build", "run"))
+ depends_on("py-setuptools", type=("build"))