From 043f0cd0146462b765f56f10814683a28d79825d Mon Sep 17 00:00:00 2001 From: Desmond Orton Date: Fri, 3 Sep 2021 04:25:52 -0500 Subject: [PATCH] py-ansi2html: new package (#25741) --- .../builtin/packages/py-ansi2html/package.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-ansi2html/package.py diff --git a/var/spack/repos/builtin/packages/py-ansi2html/package.py b/var/spack/repos/builtin/packages/py-ansi2html/package.py new file mode 100644 index 0000000000..04c45812a9 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ansi2html/package.py @@ -0,0 +1,20 @@ +# 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 PyAnsi2html(PythonPackage): + """Convert text with ansi color codes to HTML""" + + homepage = "https://github.com/pycontribs/ansi2html" + pypi = "ansi2html/ansi2html-1.6.0.tar.gz" + + maintainers = ['dorton21'] + + version('1.6.0', sha256='0f124ea7efcf3f24f1f9398e527e688c9ae6eab26b0b84e1299ef7f94d92c596') + + depends_on('py-setuptools', type='build') + depends_on('py-pip', type='build')