summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-09-03 03:58:18 -0500
committerGitHub <noreply@github.com>2021-09-03 10:58:18 +0200
commit0b9baf9ae3a46487f86913574e57f85d82572eb1 (patch)
tree3b442bf1831e304053ee97a3f666f4821474ac7b
parent2331148f4b7e18247de23a84853e5b272034f88f (diff)
downloadspack-0b9baf9ae3a46487f86913574e57f85d82572eb1.tar.gz
spack-0b9baf9ae3a46487f86913574e57f85d82572eb1.tar.bz2
spack-0b9baf9ae3a46487f86913574e57f85d82572eb1.tar.xz
spack-0b9baf9ae3a46487f86913574e57f85d82572eb1.zip
py-terminaltables: add new package (#25738)
-rw-r--r--var/spack/repos/builtin/packages/py-terminaltables/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-terminaltables/package.py b/var/spack/repos/builtin/packages/py-terminaltables/package.py
new file mode 100644
index 0000000000..d8f3308f42
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-terminaltables/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 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 import *
+
+
+class PyTerminaltables(PythonPackage):
+ """Generate simple tables in terminals from a nested list of strings."""
+
+ homepage = "https://github.com/Robpol86/terminaltables"
+ pypi = "terminaltables/terminaltables-3.1.0.tar.gz"
+
+ maintainers = ['dorton21']
+
+ version('3.1.0', sha256='f3eb0eb92e3833972ac36796293ca0906e998dc3be91fbe1f8615b331b853b81')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-colorama', type=('build', 'run'))
+ depends_on('py-termcolor', type=('build', 'run'))
+ depends_on('py-colorclass', type=('build', 'run'))