parallel: add v20240822 (#46355)

This commit is contained in:
Wouter Deconinck 2024-09-26 07:41:50 -05:00 committed by GitHub
parent 5ebf45861f
commit 201840367d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.hooks.sbang import filter_shebang
from spack.package import *
@ -15,8 +16,9 @@ class Parallel(AutotoolsPackage, GNUMirrorPackage):
homepage = "https://www.gnu.org/software/parallel/"
gnu_mirror_path = "parallel/parallel-20220522.tar.bz2"
license("GPL-3.0-or-later")
license("GPL-3.0-or-later", checked_by="wdconinc")
version("20240822", sha256="d7bbd95b7631980b172be04cbd2138d5f7d8c063d6da5ad8f9f70dfd88c8309d")
version("20220522", sha256="bb6395f8d964e68f3bdb26a764d3c48b69bc5b759a92ac3ab2bd1895c7fa8c1f")
version("20220422", sha256="96e4b73fff1302fc141a889ae43ab2e93f6c9e86ac60ef62ced02dbe70b73ca7")
version("20220322", sha256="df93ccf6a9f529ad2126b7042aef0486603e938c77b405939c41702d38a4e6d8")
@ -49,3 +51,6 @@ def filter_sbang(self):
substitute = f"#!{perl}"
files = ["parallel", "niceload", "parcat", "sql"]
filter_file(match, substitute, *files, **kwargs)
# Since scripts are run during installation, we need to add sbang
for file in files:
filter_shebang(file)