summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/hub/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/hub/package.py')
-rw-r--r--var/spack/repos/builtin/packages/hub/package.py21
1 files changed, 10 insertions, 11 deletions
diff --git a/var/spack/repos/builtin/packages/hub/package.py b/var/spack/repos/builtin/packages/hub/package.py
index fb8426aa89..4117649c36 100644
--- a/var/spack/repos/builtin/packages/hub/package.py
+++ b/var/spack/repos/builtin/packages/hub/package.py
@@ -12,20 +12,19 @@ class Hub(Package):
"""The github git wrapper"""
homepage = "https://github.com/github/hub"
- url = "https://github.com/github/hub/archive/v2.2.2.tar.gz"
- git = "https://github.com/github/hub.git"
+ url = "https://github.com/github/hub/archive/v2.2.2.tar.gz"
+ git = "https://github.com/github/hub.git"
- version('master', branch='master')
- version('2.2.2', sha256='610572ee903aea1fa8622c16ab7ddef2bd1bfec9f4854447ab8e0fbdbe6a0cae')
- version('2.2.1', sha256='9350aba6a8e3da9d26b7258a4020bf84491af69595f7484f922d75fc8b86dc10')
- version('2.2.0', sha256='2da1351197eb5696c207f22c69a5422af052d74277b73d0b8661efb9ec1d0eb1')
- version('1.12.4', sha256='b7fe404d7dc5f60554f088bec12de5e80229331430ea0ced46d5bf89ecae5117')
+ version("master", branch="master")
+ version("2.2.2", sha256="610572ee903aea1fa8622c16ab7ddef2bd1bfec9f4854447ab8e0fbdbe6a0cae")
+ version("2.2.1", sha256="9350aba6a8e3da9d26b7258a4020bf84491af69595f7484f922d75fc8b86dc10")
+ version("2.2.0", sha256="2da1351197eb5696c207f22c69a5422af052d74277b73d0b8661efb9ec1d0eb1")
+ version("1.12.4", sha256="b7fe404d7dc5f60554f088bec12de5e80229331430ea0ced46d5bf89ecae5117")
extends("go")
def install(self, spec, prefix):
env = os.environ
- env['GOPATH'] = self.stage.source_path + ':' + env['GOPATH']
- bash = which('bash')
- bash(os.path.join('script', 'build'), '-o', os.path.join(prefix, 'bin',
- 'hub'))
+ env["GOPATH"] = self.stage.source_path + ":" + env["GOPATH"]
+ bash = which("bash")
+ bash(os.path.join("script", "build"), "-o", os.path.join(prefix, "bin", "hub"))