py-colorclass: add new package (#25747)
This commit is contained in:
19
var/spack/repos/builtin/packages/py-colorclass/package.py
Normal file
19
var/spack/repos/builtin/packages/py-colorclass/package.py
Normal file
@@ -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'))
|
Reference in New Issue
Block a user