diff options
author | Elizabeth F <rpf2116@columbia.edu> | 2016-03-13 00:29:40 -0500 |
---|---|---|
committer | Elizabeth F <rpf2116@columbia.edu> | 2016-03-13 00:29:40 -0500 |
commit | c1a8574d8f67d6b4fdce109ecf4dd3a1cbe18488 (patch) | |
tree | ebe395c3f44282b2dd91eb121cf0f63b25ae995b /var | |
parent | 42361578237e4e96ae497107a47e277a1eeb69e9 (diff) | |
download | spack-c1a8574d8f67d6b4fdce109ecf4dd3a1cbe18488.tar.gz spack-c1a8574d8f67d6b4fdce109ecf4dd3a1cbe18488.tar.bz2 spack-c1a8574d8f67d6b4fdce109ecf4dd3a1cbe18488.tar.xz spack-c1a8574d8f67d6b4fdce109ecf4dd3a1cbe18488.zip |
Fixed for Python 2.6
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/ibmisc/package.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/ibmisc/package.py b/var/spack/repos/builtin/packages/ibmisc/package.py index 9fadee7239..a3bd680655 100644 --- a/var/spack/repos/builtin/packages/ibmisc/package.py +++ b/var/spack/repos/builtin/packages/ibmisc/package.py @@ -1,4 +1,5 @@ from spack import * +import llnl.util.tty as tty class Ibmisc(CMakePackage): """Misc. reusable utilities used by IceBin.""" @@ -15,7 +16,7 @@ class Ibmisc(CMakePackage): variant('boost', default=True, description='Compile utilities for Boost library') variant('udunits2', default=True, description='Compile utilities for UDUNITS2 library') variant('googletest', default=True, description='Compile utilities for Google Test library') - variant('python', default=True, description='Compile utilities for use with Python/Cython') + variant('python', default=True, description='Compile utilities fro use with Python/Cython') extends('python') @@ -26,16 +27,18 @@ class Ibmisc(CMakePackage): depends_on('netcdf-cxx4', when='+netcdf') depends_on('udunits2', when='+udunits2') depends_on('googletest', when='+googletest') +# depends_on('python', when='+python') depends_on('py-cython', when='+python') depends_on('py-numpy', when='+python') depends_on('boost', when='+boost') + + # Build dependencies depends_on('cmake') depends_on('doxygen') - def configure_args(self): - spec = self.spec + def config_args(self, spec, prefix): return [ '-DUSE_EVERYTRACE=%s' % ('YES' if '+everytrace' in spec else 'NO'), '-DUSE_PROJ4=%s' % ('YES' if '+proj' in spec else 'NO'), |