diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/stat/package.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/stat/package.py b/var/spack/repos/builtin/packages/stat/package.py index 1e68f58809..8afcd84bcc 100644 --- a/var/spack/repos/builtin/packages/stat/package.py +++ b/var/spack/repos/builtin/packages/stat/package.py @@ -15,6 +15,8 @@ class Stat(AutotoolsPackage): maintainers = ['lee218llnl'] version('develop', branch='develop') + version('4.1.0', sha256='1d5b00afd563cf3bd9dd40818c44a03d7d4b13356216881513c058566c3b0080', + url='https://github.com/LLNL/STAT/files/6193568/stat-4.1.0.tar.gz') version('4.0.2', sha256='9ece10dde8e1579c9db469ac8d2391b26e59498c0947dbb271c2d01d7ef0a65d', url='https://github.com/LLNL/STAT/releases/download/v4.0.2/stat-4.0.2.tar.gz') version('4.0.1', sha256='ae3fbd6946003fb16233d82d40285780a9a802da5fe30d09adb8a8b2a2cc4ad6', @@ -33,6 +35,7 @@ class Stat(AutotoolsPackage): variant('dysect', default=False, description="enable DySectAPI") variant('examples', default=False, description="enable examples") variant('fgfs', default=True, description="enable file broadcasting") + variant('gui', default=True, description="enable GUI") depends_on('autoconf', type='build') depends_on('automake', type='build') @@ -48,10 +51,11 @@ class Stat(AutotoolsPackage): # we depend on mpa@master for bug fixes since launchmon 1.0.2 depends_on('launchmon@master') depends_on('mrnet') + depends_on('python') depends_on('python@:2.8', when='@:4.0.0') depends_on('py-pygtk', type=('build', 'run'), when='@:4.0.0') depends_on('py-enum34', type=('run'), when='@:4.0.0') - depends_on('py-xdot@1.0', when='@4.0.1:') + depends_on('py-xdot@1.0', when='@4.0.1: +gui') depends_on('swig') depends_on('mpi', when='+examples') depends_on('boost') @@ -73,6 +77,8 @@ class Stat(AutotoolsPackage): % spec['fast-global-file-status'].prefix) if '+dysect' in spec: args.append('--enable-dysectapi') + if '~gui' in spec: + args.append('--disable-gui') if '~examples' in spec: args.append('--disable-examples') return args |