summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHector <10837193+he-b@users.noreply.github.com>2020-03-12 19:26:45 -0500
committerGitHub <noreply@github.com>2020-03-12 19:26:45 -0500
commit7ddd84ac147e779a9836f5f83b87f9657b9ea012 (patch)
tree96fb286287131b886cac308ecf84b169f7301afc
parent9806149145b6b92887649366bf2bea6cb32db994 (diff)
downloadspack-7ddd84ac147e779a9836f5f83b87f9657b9ea012.tar.gz
spack-7ddd84ac147e779a9836f5f83b87f9657b9ea012.tar.bz2
spack-7ddd84ac147e779a9836f5f83b87f9657b9ea012.tar.xz
spack-7ddd84ac147e779a9836f5f83b87f9657b9ea012.zip
Add source highlight package (#15473)
* add GNU source-highlight package * fix flake8 * Allows the package to download from GNU mirrors
-rw-r--r--var/spack/repos/builtin/packages/source-highlight/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/source-highlight/package.py b/var/spack/repos/builtin/packages/source-highlight/package.py
new file mode 100644
index 0000000000..eee706518a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/source-highlight/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2019 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 SourceHighlight(AutotoolsPackage, GNUMirrorPackage):
+ """This program, given a source file, produces a document with syntax
+ highlighting. It also provides a C++ highlight library
+ (since version 3.0). """
+
+ homepage = "https://www.gnu.org/software/src-highlite/"
+ gnu_mirror_path = "src-highlite/source-highlight-3.1.8.tar.gz"
+
+ version('3.1.9', sha256='3a7fd28378cb5416f8de2c9e77196ec915145d44e30ff4e0ee8beb3fe6211c91')
+ version('3.1.8', sha256='01336a7ea1d1ccc374201f7b81ffa94d0aecb33afc7d6903ebf9fbf33a55ada3')
+
+ depends_on('boost')