summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorPranav Sivaraman <pranavsivaraman@gmail.com>2024-10-18 23:40:41 -0400
committerGitHub <noreply@github.com>2024-10-18 21:40:41 -0600
commitdc160e3a52e77f50efb9b2e2ebf1ebd9ed7914de (patch)
treeaceb30658c28a7691a1a97c1a03c859e77e592ac /var
parentba953352a1946b70e638346758333a7d3ca3c524 (diff)
downloadspack-dc160e3a52e77f50efb9b2e2ebf1ebd9ed7914de.tar.gz
spack-dc160e3a52e77f50efb9b2e2ebf1ebd9ed7914de.tar.bz2
spack-dc160e3a52e77f50efb9b2e2ebf1ebd9ed7914de.tar.xz
spack-dc160e3a52e77f50efb9b2e2ebf1ebd9ed7914de.zip
eza: add the current version 0.20.4 (#47086)
Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/eza/package.py19
1 files changed, 18 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/eza/package.py b/var/spack/repos/builtin/packages/eza/package.py
index 98e1582ff6..321b4aab22 100644
--- a/var/spack/repos/builtin/packages/eza/package.py
+++ b/var/spack/repos/builtin/packages/eza/package.py
@@ -14,6 +14,23 @@ class Eza(CargoPackage):
maintainers("trws")
- license("MIT")
+ license("EUPL-1.2", when="@0.20:", checked_by="pranav-sivaraman")
+ license("MIT", when="@:0.19", checked_by="pranav-sivaraman")
+ version("0.20.4", sha256="5f25e866521c310d9530b9bbabeb288ad8d9cd208adee79582dde79bdd51c470")
version("0.15.3", sha256="09093e565913104acb7a8eba974f8067c95566b6fbedf31138c9923a8cfde42f")
+
+ depends_on("rust@1.70:", when="@0.15.3:")
+
+ @run_after("install")
+ def install_completions(self):
+ package_completions_path = f"{self.stage.source_path}/completions"
+
+ mkdirp(bash_completion_path(self.prefix))
+ copy(f"{package_completions_path}/bash/eza", bash_completion_path(self.prefix))
+
+ mkdirp(zsh_completion_path(self.prefix))
+ copy(f"{package_completions_path}/zsh/_eza", zsh_completion_path(self.prefix))
+
+ mkdirp(fish_completion_path(self.prefix))
+ copy(f"{package_completions_path}/fish/eza.fish", fish_completion_path(self.prefix))