diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/axel/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/axel/package.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/axel/package.py b/var/spack/repos/builtin/packages/axel/package.py index e25ab8f192..93cf396253 100644 --- a/var/spack/repos/builtin/packages/axel/package.py +++ b/var/spack/repos/builtin/packages/axel/package.py @@ -14,13 +14,23 @@ class Axel(AutotoolsPackage): license("GPL-2.0-or-later WITH OpenSSL-Exception") + version("2.17.14", sha256="73f3aeafcb00b8101b212fcf47969a4962e7a1b50843306178b527a9942d8785") + version("2.17.13", sha256="aedd5e0f22d6eda23eece483ce89be4adfdf1e16ba18d54fd6b743da9d49911b") version("2.17.10", sha256="c0d26eba6b94945cd98c5b69ca6df2744639d17bfd49047ef51a8a48f067de10") version("2.16.1", sha256="763066efc61e4f7be2eb59afa049bdbc520837e01c95a78f403e542ad82f2719") + depends_on("c", type="build") # generated + depends_on("pkgconfig", type="build") + # For systems not providing libintl APU in the system libc (glibc integrated it) depends_on("gettext") depends_on("openssl") - def installcheck(self): - Executable(self.prefix.bin.axel)("--version") + # check if we can run axel + @run_after("install") + @on_package_attributes(run_tests=True) + def check_version(self): + with working_dir(self.stage.source_path): + axel = Executable(self.prefix.bin.axel) + axel("--version") |