diff --git a/var/spack/repos/builtin/packages/py-colorful/package.py b/var/spack/repos/builtin/packages/py-colorful/package.py new file mode 100644 index 0000000000..377b9e1c46 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-colorful/package.py @@ -0,0 +1,16 @@ +# Copyright 2013-2020 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) + + +class PyColorful(PythonPackage): + """Terminal string styling done right, in Python.""" + + homepage = "https://github.com/timofurrer/colorful" + url = "https://pypi.io/packages/source/c/colorful/colorful-0.5.4.tar.gz" + + version('0.5.4', sha256='86848ad4e2eda60cd2519d8698945d22f6f6551e23e95f3f14dfbb60997807ea') + + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build')