From 2d623bab313a3a24fb1869736b62f78d646eda8f Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Wed, 17 Mar 2021 10:14:39 -0500 Subject: tidy-html5: add new package (#22286) --- .../repos/builtin/packages/tidy-html5/package.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/tidy-html5/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/tidy-html5/package.py b/var/spack/repos/builtin/packages/tidy-html5/package.py new file mode 100644 index 0000000000..6f4d5ef05a --- /dev/null +++ b/var/spack/repos/builtin/packages/tidy-html5/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 TidyHtml5(CMakePackage): + """Tidy is a console application for Mac OS X, Linux, Windows, UNIX, and more. + It corrects and cleans up HTML and XML documents by fixing markup errors and + upgrading legacy code to modern standards.""" + + homepage = "https://www.html-tidy.org/" + url = "https://github.com/htacg/tidy-html5/archive/5.6.0.tar.gz" + + version('5.7.28', sha256='5caa2c769204f506e24ea4986a45abe23f71d14f0fe968314f20065f342ffdba') + version('5.6.0', sha256='08a63bba3d9e7618d1570b4ecd6a7daa83c8e18a41c82455b6308bc11fe34958') + + depends_on('cmake@2.8.12:', type='build') -- cgit v1.2.3-60-g2f50