diff options
author | Wouter Deconinck <wdconinc@gmail.com> | 2022-03-08 12:58:29 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 19:58:29 +0100 |
commit | 1df9c3437ff31fbb1bd5d3c5897a13cae192cf0a (patch) | |
tree | f9ee253067a1196df968ad9f8b1ec346d34d6400 | |
parent | 9cc6bc26a2cb6470b69bef058a326dc3875f266e (diff) | |
download | spack-1df9c3437ff31fbb1bd5d3c5897a13cae192cf0a.tar.gz spack-1df9c3437ff31fbb1bd5d3c5897a13cae192cf0a.tar.bz2 spack-1df9c3437ff31fbb1bd5d3c5897a13cae192cf0a.tar.xz spack-1df9c3437ff31fbb1bd5d3c5897a13cae192cf0a.zip |
hztool: new package (dependency of sherpa #29338) (#29365)
-rw-r--r-- | var/spack/repos/builtin/packages/hztool/package.py | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hztool/package.py b/var/spack/repos/builtin/packages/hztool/package.py new file mode 100644 index 0000000000..ccbcaec935 --- /dev/null +++ b/var/spack/repos/builtin/packages/hztool/package.py @@ -0,0 +1,36 @@ +# Copyright 2013-2022 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 Hztool(AutotoolsPackage): + """HZTool is a library of routines which will allow you to reproduce an + experimental result using the four-vector final state from Monte Carlo + generators.""" + + homepage = "https://hztool.hepforge.org" + url = "https://hztool.hepforge.org/downloads/?f=hztool-4.3.2.tar.gz" + list_url = "https://hztool.hepforge.org/downloads/" + + maintainers = ['wdconinc'] + + tags = ['hep'] + + version('4.3.2', sha256='2a8d334abd96a7a9f70d53cfbb46f35902ccd1108861333a87542f8357152fd4') + version('4.3', sha256='af1a302c16e9f0bfbfdd77a486a5f47553d81d1d049bc83cc72321ba285af264') + version('4.2', sha256='87b74b2e424a1e6bd990cc12a0bfcba15854a6451ffa20aff8dc4bdfed559160') + version('4.1', sha256='a24b5d483d1dacaa991958956e838601a426133c74885b3aa2fc27c98b42d22a') + version('4.0', sha256='e6f6955159da46156bf9182f61754a59dd14e407d40c2448e3f821d55bf963a0') + + def patch(self): + filter_file('-fno-automatic', + '-fno-automatic -fallow-argument-mismatch', + 'configure.ac') + + def configure_args(self): + args = [] + args.append('--disable-docs') + return args |