summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-termcolor/package.py
blob: 1a40da587e6cfe62ae5053a6f467cc0638774fcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyTermcolor(PythonPackage):
    """ANSII Color formatting for output in terminal."""

    pypi = "termcolor/termcolor-1.1.0.tar.gz"

    license("MIT")

    version("1.1.0", sha256="1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b")

    # pip silently replaces distutils with setuptools
    depends_on("py-setuptools", type="build")