summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/bat/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/bat/package.py')
-rw-r--r--var/spack/repos/builtin/packages/bat/package.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/bat/package.py b/var/spack/repos/builtin/packages/bat/package.py
index 56be073385..41273396d0 100644
--- a/var/spack/repos/builtin/packages/bat/package.py
+++ b/var/spack/repos/builtin/packages/bat/package.py
@@ -9,15 +9,15 @@ from spack.package import *
class Bat(Package):
"""A cat(1) clone with wings."""
- homepage = 'https://github.com/sharkdp/bat'
- url = 'https://github.com/sharkdp/bat/archive/v0.13.0.tar.gz'
+ homepage = "https://github.com/sharkdp/bat"
+ url = "https://github.com/sharkdp/bat/archive/v0.13.0.tar.gz"
- version('0.21.0', sha256='3dff1e52d577d0a105f4afe3fe7722a4a2b8bb2eb3e7a6a5284ac7add586a3ee')
- version('0.13.0', sha256='f4aee370013e2a3bc84c405738ed0ab6e334d3a9f22c18031a7ea008cd5abd2a')
- version('0.12.1', sha256='1dd184ddc9e5228ba94d19afc0b8b440bfc1819fef8133fe331e2c0ec9e3f8e2')
+ version("0.21.0", sha256="3dff1e52d577d0a105f4afe3fe7722a4a2b8bb2eb3e7a6a5284ac7add586a3ee")
+ version("0.13.0", sha256="f4aee370013e2a3bc84c405738ed0ab6e334d3a9f22c18031a7ea008cd5abd2a")
+ version("0.12.1", sha256="1dd184ddc9e5228ba94d19afc0b8b440bfc1819fef8133fe331e2c0ec9e3f8e2")
- depends_on('rust')
+ depends_on("rust")
def install(self, spec, prefix):
- cargo = which('cargo')
- cargo('install', '--root', prefix, '--path', '.')
+ cargo = which("cargo")
+ cargo("install", "--root", prefix, "--path", ".")