From 8dde7f39754c3e719fd07367db6fb6fa13ec6c27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lyd=C3=A9ric=20Debussch=C3=A8re?= Date: Fri, 31 May 2024 21:36:02 +0200 Subject: [PATCH] py-junit2html: new package, version '31.0.2' (#44399) * py-junit2html: new package, version '31.0.2' * py-junit2html: install from sources instead of from wheel --- .../builtin/packages/py-junit2html/package.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-junit2html/package.py diff --git a/var/spack/repos/builtin/packages/py-junit2html/package.py b/var/spack/repos/builtin/packages/py-junit2html/package.py new file mode 100644 index 00000000000..d6965674b8f --- /dev/null +++ b/var/spack/repos/builtin/packages/py-junit2html/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2024 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 PyJunit2html(PythonPackage): + """ + Simple self-contained python tool to produce a single html file from a single junit xml file. + """ + + homepage = "https://gitlab.com/inorton/junit2html" + + url = "https://gitlab.com/inorton/junit2html/-/archive/v31.0.2/junit2html-v31.0.2.tar.gz" + + maintainers("LydDeb") + + version("31.0.2", sha256="8d90ae83163dde6bf0bde9c3e8d21c0ab0796de7c5f33917cfdbb9d319212213") + + depends_on("py-setuptools", type=("build")) + depends_on("py-jinja2@3.0:", type=("build", "run"))