summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-03-17 10:14:39 -0500
committerGitHub <noreply@github.com>2021-03-17 16:14:39 +0100
commit2d623bab313a3a24fb1869736b62f78d646eda8f (patch)
treefad20dd71e46b97121a1500593f3db29af668b57
parent96e394845b6adafabd726f1066f28c147371c4c6 (diff)
downloadspack-2d623bab313a3a24fb1869736b62f78d646eda8f.tar.gz
spack-2d623bab313a3a24fb1869736b62f78d646eda8f.tar.bz2
spack-2d623bab313a3a24fb1869736b62f78d646eda8f.tar.xz
spack-2d623bab313a3a24fb1869736b62f78d646eda8f.zip
tidy-html5: add new package (#22286)
-rw-r--r--var/spack/repos/builtin/packages/tidy-html5/package.py20
1 files changed, 20 insertions, 0 deletions
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')