diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/oras/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/oras/package.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/var/spack/repos/builtin/packages/oras/package.py b/var/spack/repos/builtin/packages/oras/package.py index 5b84b60734..c5dc00e683 100644 --- a/var/spack/repos/builtin/packages/oras/package.py +++ b/var/spack/repos/builtin/packages/oras/package.py @@ -12,30 +12,30 @@ class Oras(Package): """ORAS means OCI Registry As Storage""" homepage = "https://oras.land" - git = "https://github.com/oras-project/oras" - url = "https://github.com/oras-project/oras/archive/refs/tags/v0.12.0.tar.gz" + git = "https://github.com/oras-project/oras" + url = "https://github.com/oras-project/oras/archive/refs/tags/v0.12.0.tar.gz" - maintainers = ['vsoch'] + maintainers = ["vsoch"] - version('main', branch="main") + version("main", branch="main") version("0.12.0", sha256="5e19d61683a57b414efd75bd1b0290c941b8faace5fcc9d488f5e4aa674bf03e") - depends_on("go", type='build') + depends_on("go", type="build") def setup_build_environment(self, env): # Point GOPATH at the top of the staging dir for the build step. - env.prepend_path('GOPATH', self.stage.path) + env.prepend_path("GOPATH", self.stage.path) def install(self, spec, prefix): - if self.spec.satisfies('platform=linux target=aarch64:'): + if self.spec.satisfies("platform=linux target=aarch64:"): make("build-linux-arm64") - elif self.spec.satisfies('platform=linux'): + elif self.spec.satisfies("platform=linux"): make("build-linux") - elif self.spec.satisfies('platform=darwin target=aarch64:'): + elif self.spec.satisfies("platform=darwin target=aarch64:"): make("build-mac-arm64") - elif self.spec.satisfies('platform=darwin'): + elif self.spec.satisfies("platform=darwin"): make("build-mac") - elif self.spec.satisfies('platform=windows'): + elif self.spec.satisfies("platform=windows"): make("build-windows") mkdirp(prefix.bin) |