diff options
author | Lydéric Debusschère <lyderic.de@gmail.com> | 2023-09-21 13:36:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 06:36:15 -0500 |
commit | 2bd487988f3e9aba4d18ee16dc894b0bc60121a4 (patch) | |
tree | be83975a70ce2d7c2ecacc525d91135cc7cdc5c9 | |
parent | 452e56f467eaac636c19d954d15eaaba2964ab1a (diff) | |
download | spack-2bd487988f3e9aba4d18ee16dc894b0bc60121a4.tar.gz spack-2bd487988f3e9aba4d18ee16dc894b0bc60121a4.tar.bz2 spack-2bd487988f3e9aba4d18ee16dc894b0bc60121a4.tar.xz spack-2bd487988f3e9aba4d18ee16dc894b0bc60121a4.zip |
[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
-rw-r--r-- | var/spack/repos/builtin/packages/py-ansimarkup/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ansimarkup/package.py b/var/spack/repos/builtin/packages/py-ansimarkup/package.py new file mode 100644 index 0000000000..deedb8e44b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ansimarkup/package.py @@ -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")) |