diff options
author | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2016-12-28 21:37:02 +0100 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-12-28 12:37:02 -0800 |
commit | 17b13b161b3ddcd691ea7ed90165cfab6dec3950 (patch) | |
tree | b0e9360f878e8d007ab63ede06aa80df89ac4a17 /.travis.yml | |
parent | 857dac88c8c041f1384f9ffd555d8f4abc03e163 (diff) | |
download | spack-17b13b161b3ddcd691ea7ed90165cfab6dec3950.tar.gz spack-17b13b161b3ddcd691ea7ed90165cfab6dec3950.tar.bz2 spack-17b13b161b3ddcd691ea7ed90165cfab6dec3950.tar.xz spack-17b13b161b3ddcd691ea7ed90165cfab6dec3950.zip |
Directive inheritance: laziness for the win (#2623)
* inheritance of directives: using meta-classes to inject attributes coming from directives into packages + lazy directives
* _dep_types -> dependency_types
* using a meta-class to inject directives into packages
* directives are lazy
fixes #2466
* directives.py: allows for multiple inheritance. Added blank lines as suggested by @tgamblin
* directives.py: added a test for simple inheritance of directives
* Minor improvement requested by @tgamblin
CMakePackage: importing names from spack.directives
directives: wrap __new__ to respect pep8
* Refactoring requested by @tgamblin
directives: removed global variables in favor of class variables. Simplified the interface for directives (they return a callable on a package or a list of them).
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions