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:
parent
b4049c484f
commit
c171ff6335
18
var/spack/repos/builtin/packages/py-coloredlogs/package.py
Normal file
18
var/spack/repos/builtin/packages/py-coloredlogs/package.py
Normal 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'))
|
Loading…
Reference in New Issue
Block a user