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'))