diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/prism/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/prism/package.py | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/var/spack/repos/builtin/packages/prism/package.py b/var/spack/repos/builtin/packages/prism/package.py index 71c73acd92..c9a65ec702 100644 --- a/var/spack/repos/builtin/packages/prism/package.py +++ b/var/spack/repos/builtin/packages/prism/package.py @@ -8,37 +8,37 @@ from spack.package import * class Prism(MakefilePackage): """PRISM is a probabilistic model checker, a tool for formal modelling and - analysis of systems that exhibit random or probabilistic behaviour.""" + analysis of systems that exhibit random or probabilistic behaviour.""" homepage = "https://www.prismmodelchecker.org/" - url = "https://github.com/prismmodelchecker/prism/archive/v4.5.tar.gz" + url = "https://github.com/prismmodelchecker/prism/archive/v4.5.tar.gz" - version('4.5', sha256='1cb7a77538b5c997d98a8c209030c46f9e8f021f7a8332e5eb2fd3b4a23936fd') + version("4.5", sha256="1cb7a77538b5c997d98a8c209030c46f9e8f021f7a8332e5eb2fd3b4a23936fd") - build_directory = 'prism' + build_directory = "prism" - depends_on('java', type=('build', 'run')) + depends_on("java", type=("build", "run")) - patch('Makefile.patch', when='target=aarch64:') + patch("Makefile.patch", when="target=aarch64:") def setup_run_environment(self, env): - env.set('PRISM_DIR', self.prefix) + env.set("PRISM_DIR", self.prefix) def install(self, spec, prefix): with working_dir(self.build_directory): # after building, remove PRISM_DIR lines from startup scripts, # as they point to the stage and not the prefix - for f in ['prism', 'xprism']: - filter_file('^PRISM_DIR.*', '', 'bin/{0}'.format(f)) + for f in ["prism", "xprism"]: + filter_file("^PRISM_DIR.*", "", "bin/{0}".format(f)) dirs = [ - 'bin', - 'classes', - 'dtds', - 'etc', - 'include', - 'images', - 'lib', + "bin", + "classes", + "dtds", + "etc", + "include", + "images", + "lib", ] for d in dirs: |