tidy-html5: add new package (#22286)

This commit is contained in:
Adam J. Stewart 2021-03-17 10:14:39 -05:00 committed by GitHub
parent 96e394845b
commit 2d623bab31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')