diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/vacuumms')
-rw-r--r-- | var/spack/repos/builtin/packages/vacuumms/package.py | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/var/spack/repos/builtin/packages/vacuumms/package.py b/var/spack/repos/builtin/packages/vacuumms/package.py index 67fe9c6910..88c2672417 100644 --- a/var/spack/repos/builtin/packages/vacuumms/package.py +++ b/var/spack/repos/builtin/packages/vacuumms/package.py @@ -17,25 +17,31 @@ class Vacuumms(CMakePackage): reports via github. https://dl.acm.org/doi/abs/10.1145/2335755.2335826""" homepage = "https://github.com/frankwillmore/VACUUMMS" - url = "https://github.com/frankwillmore/VACUUMMS/archive/refs/tags/v1.0.0.tar.gz" - git = "https://github.com/frankwillmore/VACUUMMS.git" + url = "https://github.com/frankwillmore/VACUUMMS/archive/refs/tags/v1.0.0.tar.gz" + git = "https://github.com/frankwillmore/VACUUMMS.git" - maintainers = ['frankwillmore'] + maintainers = ["frankwillmore"] - version('master', branch='master') - version('1.1.1', tag='v1.1.1') - version('1.0.0', 'c18fe52f5041880da7f50d3808d37afb3e9c936a56f80f67838d045bf7af372f', deprecated=True) + version("master", branch="master") + version("1.1.1", tag="v1.1.1") + version( + "1.0.0", + "c18fe52f5041880da7f50d3808d37afb3e9c936a56f80f67838d045bf7af372f", + deprecated=True, + ) - variant('tiff', default=False, description='Build TIFF utilities') - variant('cuda', default=False, description='Build CUDA applications and utilities') + variant("tiff", default=False, description="Build TIFF utilities") + variant("cuda", default=False, description="Build CUDA applications and utilities") - depends_on('libtiff', type=('link', 'run'), when='+tiff') - depends_on('cuda', type=('link', 'run'), when='+cuda') - depends_on('libx11', type=('link', 'run')) - depends_on('libxext', type=('link', 'run')) - depends_on('libsm', type=('link', 'run')) - depends_on('libice', type=('link', 'run')) + depends_on("libtiff", type=("link", "run"), when="+tiff") + depends_on("cuda", type=("link", "run"), when="+cuda") + depends_on("libx11", type=("link", "run")) + depends_on("libxext", type=("link", "run")) + depends_on("libsm", type=("link", "run")) + depends_on("libice", type=("link", "run")) def cmake_args(self): - return [self.define_from_variant('BUILD_CUDA_COMPONENTS', 'cuda'), - self.define_from_variant('BUILD_TIFF_UTILS', 'tiff')] + return [ + self.define_from_variant("BUILD_CUDA_COMPONENTS", "cuda"), + self.define_from_variant("BUILD_TIFF_UTILS", "tiff"), + ] |