diff options
author | Gregory Lee <lee218@llnl.gov> | 2018-10-22 18:59:45 -0700 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2018-10-22 18:59:44 -0700 |
commit | e4a24c3fbc96245e0712557aa9f0b1dc92297b72 (patch) | |
tree | 00055d54204070181f01f6a2066c95803dea9b8d | |
parent | 79e25032e8395fd67ddef0c679844ccecf245f7c (diff) | |
download | spack-e4a24c3fbc96245e0712557aa9f0b1dc92297b72.tar.gz spack-e4a24c3fbc96245e0712557aa9f0b1dc92297b72.tar.bz2 spack-e4a24c3fbc96245e0712557aa9f0b1dc92297b72.tar.xz spack-e4a24c3fbc96245e0712557aa9f0b1dc92297b72.zip |
added stat version 4.0.1 (#9607)
* Add stat version 4.0.1
* stat 4.0.1: requires py-xdot
* stat versions at or above 4.0.0 dont require python 2 (it still
requires python but can build with 2 or 3)
* stat versions at or above 4.0.0 dont require py-pygtk and py-enum34
* Replace py-xdot version 0.9.1 with 1.0
* py-xdot: use lib directory vs. lib64 for atk dependency
-rw-r--r-- | var/spack/repos/builtin/packages/py-xdot/package.py | 6 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/stat/package.py | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/py-xdot/package.py b/var/spack/repos/builtin/packages/py-xdot/package.py index 6ab03ba54d..f840919294 100644 --- a/var/spack/repos/builtin/packages/py-xdot/package.py +++ b/var/spack/repos/builtin/packages/py-xdot/package.py @@ -15,7 +15,7 @@ class PyXdot(PythonPackage): git = "https://github.com/jrfonseca/xdot.py.git" version('master', branch="master") - version('0.9.1', commit="0fa629166989576b05d509c7ef0329c0f7655190") + version('1.0', '4e60c42d009a8802db6c1b4dab519863') version('0.9', '19c78311d73b0f9ea059a6febf42eeea') # setuptools is required at runtime to avoid: @@ -34,7 +34,7 @@ class PyXdot(PythonPackage): spec = self.spec repo_paths = '%s:%s:%s:%s' % ( join_path(spec['pango'].prefix.lib, 'girepository-1.0'), - join_path(spec['atk'].prefix.lib64, 'girepository-1.0'), + join_path(spec['atk'].prefix.lib, 'girepository-1.0'), join_path(spec['gdk-pixbuf'].prefix.lib, 'girepository-1.0'), join_path(spec['gtkplus'].prefix.lib, 'girepository-1.0')) dst = join_path(spec.prefix, spec['python'].package.site_packages_dir, @@ -52,7 +52,7 @@ class PyXdot(PythonPackage): join_path(spec['pango'].prefix.lib, 'girepository-1.0')) run_env.prepend_path('GI_TYPELIB_PATH', - join_path(spec['atk'].prefix.lib64, + join_path(spec['atk'].prefix.lib, 'girepository-1.0')) run_env.prepend_path('GI_TYPELIB_PATH', join_path(spec['gdk-pixbuf'].prefix.lib, diff --git a/var/spack/repos/builtin/packages/stat/package.py b/var/spack/repos/builtin/packages/stat/package.py index bf2cbe8466..3df3d04a61 100644 --- a/var/spack/repos/builtin/packages/stat/package.py +++ b/var/spack/repos/builtin/packages/stat/package.py @@ -14,6 +14,8 @@ class Stat(AutotoolsPackage): git = "https://github.com/llnl/stat.git" version('develop', branch='develop') + version('4.0.1', '3e21b48e7932d9a4a9efb300f0b97fa2', + url='https://github.com/LLNL/STAT/files/2489327/stat-4.0.1.tar.gz') version('4.0.0', 'b357160662ced251bc55cb1b884c3407', url='https://github.com/LLNL/STAT/releases/download/v4.0.0/stat-4.0.0.tar.gz') version('3.0.1', 'dac6f23c3639a0b21f923dc6219ba385', @@ -40,9 +42,10 @@ class Stat(AutotoolsPackage): depends_on('graphviz', type=('build', 'link', 'run')) depends_on('launchmon') depends_on('mrnet') - depends_on('python@:2.8') - depends_on('py-pygtk', type=('build', 'run')) - depends_on('py-enum34', type=('run')) + 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', when='@4.0.1:') depends_on('swig') depends_on('mpi', when='+examples') |