Add the py-coloredlogs package (#13852)

* Add the py-coloredlogs package

* Remove extraneous line.

* Remove dashed line.

* Add version for humanfriendly dep and build to type.

* Change source url to use pypi.
This commit is contained in:
Joe Koning 2019-11-25 14:56:34 -08:00 committed by Adam J. Stewart
parent b4049c484f
commit c171ff6335

View File

@ -0,0 +1,18 @@
# Copyright 2013-2019 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 PyColoredlogs(PythonPackage):
"""Colored terminal output for Python's logging module"""
homepage = "https://pypi.org/project/coloredlogs/"
url = "https://pypi.io/packages/source/c/coloredlogs/coloredlogs-10.0.tar.gz"
version('10.0', sha256='b869a2dda3fa88154b9dd850e27828d8755bfab5a838a1c97fbc850c6e377c36')
depends_on('py-setuptools', type='build')
depends_on('py-humanfriendly@4.7:', type=('build', 'run'))