From 5e86a131d2e58ee96403255dea211e9788aebfdf Mon Sep 17 00:00:00 2001 From: darmac Date: Mon, 7 Sep 2020 22:02:18 +0800 Subject: [PATCH] jansi: added new package at v1.18 (#18549) --- .../repos/builtin/packages/jansi/package.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/jansi/package.py diff --git a/var/spack/repos/builtin/packages/jansi/package.py b/var/spack/repos/builtin/packages/jansi/package.py new file mode 100644 index 0000000000..8ecfee60d8 --- /dev/null +++ b/var/spack/repos/builtin/packages/jansi/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2020 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 Jansi(MavenPackage): + """Jansi is a small java library that allows you to use + ANSI escape codes to format your console output which + works even on Windows.""" + + homepage = "http://fusesource.github.io/jansi/" + url = "https://github.com/fusesource/jansi/archive/jansi-project-1.18.tar.gz" + + version('1.18', sha256='73cd47ecf370a33c6e76afb5d9a8abf99489361d7bd191781dbd9b7efd082aa5') + version('1.17.1', sha256='3d7280eb14edc82e480d66b225470ed6a1da5c5afa4faeab7804a1f15e53b2cd') + version('1.17', sha256='aa30765df4912d8bc1a00b1cb9e50b3534c060dec84f35f1d0c6fbf40ad71b67') + version('1.16', sha256='5f600cfa151367e029baa9ce33491059575945791ff9db82b8df8d4848187086') + version('1.15', sha256='620c59deea17408eeddbe398d3638d7c9971de1807e494eb33fdf8c994b95104') + + depends_on('java@8', type=('build', 'run'))