diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-30 15:19:18 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-31 13:29:20 -0700 |
commit | f52f6e99dbf1131886a80112b8c79dfc414afb7c (patch) | |
tree | 05cb7d64b2395922f2f24683da49f472075be12c /var/spack/repos/builtin/packages/cni-plugins/package.py | |
parent | 549ba1ed32372c67fc57271cde3797d58b7dec6e (diff) | |
download | spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.gz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.bz2 spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.xz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.zip |
black: reformat entire repository with black
Diffstat (limited to 'var/spack/repos/builtin/packages/cni-plugins/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/cni-plugins/package.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/cni-plugins/package.py b/var/spack/repos/builtin/packages/cni-plugins/package.py index 72bb8ab523..6f5b92b8d8 100644 --- a/var/spack/repos/builtin/packages/cni-plugins/package.py +++ b/var/spack/repos/builtin/packages/cni-plugins/package.py @@ -9,18 +9,18 @@ from spack.package import * class CniPlugins(Package): """Standard networking plugins for container networking""" - homepage = 'https://github.com/containernetworking/plugins' - url = 'https://github.com/containernetworking/plugins/archive/v1.0.1.tar.gz' - maintainers = ['bernhardkaindl'] + homepage = "https://github.com/containernetworking/plugins" + url = "https://github.com/containernetworking/plugins/archive/v1.0.1.tar.gz" + maintainers = ["bernhardkaindl"] - version('1.0.1', sha256='2ba3cd9f341a7190885b60d363f6f23c6d20d975a7a0ab579dd516f8c6117619') + version("1.0.1", sha256="2ba3cd9f341a7190885b60d363f6f23c6d20d975a7a0ab579dd516f8c6117619") - depends_on('go', type='build') + depends_on("go", type="build") def install(self, spec, prefix): - utils = 'github.com/containernetworking/plugins/pkg/utils/buildversion' - which('./build_linux.sh')( - '-ldflags', - '-extldflags -static -X {0}.BuildVersion={1}'.format(utils, self.version), + utils = "github.com/containernetworking/plugins/pkg/utils/buildversion" + which("./build_linux.sh")( + "-ldflags", + "-extldflags -static -X {0}.BuildVersion={1}".format(utils, self.version), ) - install_tree('bin', prefix.bin) + install_tree("bin", prefix.bin) |