summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-09-03 03:17:33 -0500
committerGitHub <noreply@github.com>2021-09-03 10:17:33 +0200
commit8149048a78ebbcdb46719eab5209e51bdeb3f86d (patch)
treef1d4040e53e8b1b02f6c17e935a78bafae3ce8eb
parent2b7a2f66b7a6cdc223d6a652c1614517130e6105 (diff)
downloadspack-8149048a78ebbcdb46719eab5209e51bdeb3f86d.tar.gz
spack-8149048a78ebbcdb46719eab5209e51bdeb3f86d.tar.bz2
spack-8149048a78ebbcdb46719eab5209e51bdeb3f86d.tar.xz
spack-8149048a78ebbcdb46719eab5209e51bdeb3f86d.zip
py-colorclass: add new package (#25747)
-rw-r--r--var/spack/repos/builtin/packages/py-colorclass/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-colorclass/package.py b/var/spack/repos/builtin/packages/py-colorclass/package.py
new file mode 100644
index 0000000000..66d1072142
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-colorclass/package.py
@@ -0,0 +1,19 @@
+# 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 PyColorclass(PythonPackage):
+ """Colorful worry-free console applications for Linux, Mac OS X, and Windows."""
+
+ homepage = "https://github.com/Robpol86/colorclass"
+ pypi = "colorclass/colorclass-2.2.0.tar.gz"
+
+ version('2.2.0', sha256='b05c2a348dfc1aff2d502527d78a5b7b7e2f85da94a96c5081210d8e9ee8e18b')
+
+ depends_on('python@3.3.0:')
+ depends_on('py-setuptools', type='build')
+ depends_on('py-docopt', type=('build', 'run'))