summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ovito/package.py
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2023-04-19 23:17:47 +0200
committerGitHub <noreply@github.com>2023-04-19 14:17:47 -0700
commitd51af675ef345a191aa995b82609e5f6776184a3 (patch)
treeb41f286020d2fe56abc67502a1c188a97492e515 /var/spack/repos/builtin/packages/ovito/package.py
parentc7508dc21625b80b0fc6a4b835f0a6fdd38480d3 (diff)
downloadspack-d51af675ef345a191aa995b82609e5f6776184a3.tar.gz
spack-d51af675ef345a191aa995b82609e5f6776184a3.tar.bz2
spack-d51af675ef345a191aa995b82609e5f6776184a3.tar.xz
spack-d51af675ef345a191aa995b82609e5f6776184a3.zip
make version(...) kwargs explicit (#36998)
- [x] Replace `version(ver, checksum=None, **kwargs)` signature with `version(ver, checksum=None, *, sha256=..., ...)` explicitly listing all arguments. - [x] Fix various issues in packages: - `tags` instead of `tag` - `default` instead of `preferred` - `sha26` instead of `sha256` - etc Also, use `sha256=...` consistently. Note: setting `sha256` currently doesn't validate the checksum length, so you could do `sha256="a"*32` and it would get checked as `md5`... but that's something for another PR.
Diffstat (limited to 'var/spack/repos/builtin/packages/ovito/package.py')
-rwxr-xr-xvar/spack/repos/builtin/packages/ovito/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/ovito/package.py b/var/spack/repos/builtin/packages/ovito/package.py
index cabb104ca6..9f8f24ca87 100755
--- a/var/spack/repos/builtin/packages/ovito/package.py
+++ b/var/spack/repos/builtin/packages/ovito/package.py
@@ -17,7 +17,7 @@ class Ovito(Package):
homepage = "https://www.ovito.org"
url = "https://www.ovito.org/download/master/ovito-basic-3.6.0-x86_64.tar.xz"
- version("3.6.0", "6ac43a3a39b1ec3cccab577602756a8b7010cc1f1f046c4f6a939590d12f0339")
+ version("3.6.0", sha256="6ac43a3a39b1ec3cccab577602756a8b7010cc1f1f046c4f6a939590d12f0339")
def install(self, spec, prefix):
# Once we've unpacked the tarball, copy it's contents to the prefix