summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Cessenat <cessenat@gmail.com>2021-02-16 12:49:23 +0100
committerGitHub <noreply@github.com>2021-02-16 11:49:23 +0000
commite63b34ff774b197417a2ab80a1a6e5878ed7c98f (patch)
tree78b2566d8c659936d0fcf4d1905dac5c3ad36d12
parentbc9baac720d23b526ec91218cd15514c26f802d2 (diff)
downloadspack-e63b34ff774b197417a2ab80a1a6e5878ed7c98f.tar.gz
spack-e63b34ff774b197417a2ab80a1a6e5878ed7c98f.tar.bz2
spack-e63b34ff774b197417a2ab80a1a6e5878ed7c98f.tar.xz
spack-e63b34ff774b197417a2ab80a1a6e5878ed7c98f.zip
New Package: hevea (#21616)
-rw-r--r--var/spack/repos/builtin/packages/hevea/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hevea/package.py b/var/spack/repos/builtin/packages/hevea/package.py
new file mode 100644
index 0000000000..cc15269458
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hevea/package.py
@@ -0,0 +1,29 @@
+# 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 Hevea(MakefilePackage):
+ """Hevea a fast Latex to HTML translator"""
+
+ homepage = "http://hevea.inria.fr/"
+ url = "https://github.com/maranget/hevea/archive/v2.35.tar.gz"
+ git = "https://github.com/maranget/hevea.git"
+
+ maintainers = ['scemama', 'cessenat']
+
+ version('develop', branch='master')
+ version('2.35', sha256='78f834cc7a8112ec59d0b8acdfbed0c8ac7dbb85f964d0be1f4eed04f25cdf54')
+ version('2.34', sha256='f505a2a5bafdc2ea389ec521876844e6fdcb5c1b656396b7e8421c1631469ea2')
+ version('2.33', sha256='122f9023f9cfe8b41dd8965b7d9669df21bf41e419bcf5e9de5314f428380d0f')
+ version('2.32', sha256='f0c12ee3936364a3aa26da384e3d2ad2344be0091f04f9531f04ecb1dca98aca')
+
+ # Dependency demands ocamlbuild
+ depends_on('ocaml')
+ depends_on('ocamlbuild')
+
+ def edit(self, spec, prefix):
+ env['PREFIX'] = self.spec.prefix