summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2023-10-30 13:33:22 -0400
committerGitHub <noreply@github.com>2023-10-30 11:33:22 -0600
commit47ac2b8d09714a7f0dd4b2f856b8dd4eff82b421 (patch)
treec9d11ed5955ee7ec64537ecfa402b80959ee8817 /var
parentb1b8500ebaf1387913220925f129f635fa9c1f66 (diff)
downloadspack-47ac2b8d09714a7f0dd4b2f856b8dd4eff82b421.tar.gz
spack-47ac2b8d09714a7f0dd4b2f856b8dd4eff82b421.tar.bz2
spack-47ac2b8d09714a7f0dd4b2f856b8dd4eff82b421.tar.xz
spack-47ac2b8d09714a7f0dd4b2f856b8dd4eff82b421.zip
squashfuse: add version 0.5.0 (#40775)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/squashfuse/package.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/squashfuse/package.py b/var/spack/repos/builtin/packages/squashfuse/package.py
index 939b738c7d..40aec33134 100644
--- a/var/spack/repos/builtin/packages/squashfuse/package.py
+++ b/var/spack/repos/builtin/packages/squashfuse/package.py
@@ -10,12 +10,12 @@ class Squashfuse(AutotoolsPackage):
"""squashfuse - Mount SquashFS archives using FUSE"""
homepage = "https://github.com/vasi/squashfuse"
- url = "https://github.com/vasi/squashfuse/releases/download/0.1.104/squashfuse-0.1.104.tar.gz"
git = "https://github.com/vasi/squashfuse.git"
maintainers("haampie")
version("master", branch="master")
+ version("0.5.0", sha256="d7602c7a3b1d0512764547d27cb8cc99d1b21181e1c9819e76461ee96c2ab4d9")
version("0.1.104", sha256="aa52460559e0d0b1753f6b1af5c68cfb777ca5a13913285e93f4f9b7aa894b3a")
version("0.1.103", sha256="42d4dfd17ed186745117cfd427023eb81effff3832bab09067823492b6b982e7")
@@ -51,6 +51,14 @@ class Squashfuse(AutotoolsPackage):
depends_on("automake", type="build", when="@master")
depends_on("libtool", type="build", when="@master")
+ def url_for_version(self, version):
+ url = "https://github.com/vasi/squashfuse/releases/download/"
+ if version == Version("0.5.0"):
+ url += "v{}/squashfuse-{}.tar.gz"
+ else:
+ url += "{}/squashfuse-{}.tar.gz"
+ return url.format(version, version)
+
def flag_handler(self, name, flags):
if name == "cflags" and "+min_size" in self.spec:
if "-Os" in self.compiler.opt_flags: