diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/flit/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/flit/package.py | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/flit/package.py b/var/spack/repos/builtin/packages/flit/package.py index 66f4c43452..fbe1d2f342 100644 --- a/var/spack/repos/builtin/packages/flit/package.py +++ b/var/spack/repos/builtin/packages/flit/package.py @@ -14,16 +14,18 @@ class Flit(MakefilePackage): homepage = "https://pruners.github.io/flit" url = "https://github.com/PRUNERS/FLiT" - url = "https://github.com/PRUNERS/FLiT/archive/v2.0-alpha.1.tar.gz" + url = "https://github.com/PRUNERS/FLiT/archive/v2.1.0.tar.gz" - version('2.0-alpha.1', sha256='8de2bd400acf0f513d69f3dbf588e8984dfb18b8ccaaf684391811a0582f694b') + version('2.1.0', sha256='b31ffa02fda1ab0f5555acdc6edc353d93d53ae8ef85e099f83bcf1c83e70885') + + maintainers = ['mikebentley15'] # Add dependencies - depends_on('python@3:', type='run') - depends_on('py-numpy', type='run') - depends_on('py-matplotlib tk=False', type='run') - depends_on('py-toml', type='run') - - @property - def install_targets(self): - return ['install', 'PREFIX=%s' % self.prefix] + depends_on('python@3:', type='run') + depends_on('py-toml', type='run') + depends_on('py-pyelftools', type='run') + depends_on('gmake', type=('run', 'build')) + depends_on('sqlite@3:', type='run') + + def edit(self, spec, prefix): + env['PREFIX'] = prefix |