[add] py-ansimarkup: new recipe required by py-cylc-flow (#39989)
* [add] py-ansimarkup: new recipe required by py-cylc-flow * py-ansimarkup: remove version constraint on python, add version 2.1.0
This commit is contained in:
parent
452e56f467
commit
2bd487988f
22
var/spack/repos/builtin/packages/py-ansimarkup/package.py
Normal file
22
var/spack/repos/builtin/packages/py-ansimarkup/package.py
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# 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 PyAnsimarkup(PythonPackage):
|
||||||
|
"""Produce colored terminal text with an xml-like markup."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/gvalkov/python-ansimarkup"
|
||||||
|
pypi = "ansimarkup/ansimarkup-1.5.0.tar.gz"
|
||||||
|
|
||||||
|
maintainers("LydDeb")
|
||||||
|
|
||||||
|
version("2.1.0", sha256="7b3e3d93fecc5b64d23a6e8eb96dbc8b0b576a211829d948afb397d241a8c51b")
|
||||||
|
version("1.5.0", sha256="96c65d75bbed07d3dcbda8dbede8c2252c984f90d0ca07434b88a6bbf345fad3")
|
||||||
|
|
||||||
|
depends_on("py-setuptools", type="build")
|
||||||
|
depends_on("py-setuptools@61:", type="build", when="@2.1.0")
|
||||||
|
depends_on("py-colorama", type=("build", "run"))
|
Loading…
Reference in New Issue
Block a user