spack/var/spack/repos/builtin.mock/packages
Todd Gamblin e3101808ae Make multimethods work with inheritance. (#3411)
Previously, this would fail with a NoSuchMethodError:

    class Package(object):
        # this is the default implementation
        def some_method(self):
            ...

    class Foo(Package):
        @when('platform=cray')
        def some_method(self):
            ...

        @when('platform=linux')
        def some_method(self):
            ...

This fixes the implementation of `@when` so that the superclass method
will be invoked when no subclass method matches.

Adds tests to ensure this works, as well.
2017-03-11 05:48:36 -08:00
..
a Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
b Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
c Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
callpath fix: don't call setup_environment when not needed (#3060) 2017-02-10 16:09:43 -08:00
cmake Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
cmake-client build systems: simpler, clearer decorators: run_after, run_before (#2860) 2017-01-25 08:57:01 -07:00
develop-test add a unit test for conretization with develop version (#2064) 2016-10-26 01:49:52 -07:00
direct-mpich Standardize package names: lower-case, not Mixed_CASE (#2475) 2017-01-04 18:24:07 -08:00
dt-diamond Concretize preserves deptypes (#2681) 2016-12-29 14:43:59 -08:00
dt-diamond-bottom Concretize preserves deptypes (#2681) 2016-12-29 14:43:59 -08:00
dt-diamond-left Concretize preserves deptypes (#2681) 2016-12-29 14:43:59 -08:00
dt-diamond-right Concretize preserves deptypes (#2681) 2016-12-29 14:43:59 -08:00
dtbuild1 Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dtbuild2 Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dtbuild3 Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dtlink1 Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dtlink2 Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dtlink3 Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dtlink4 Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dtlink5 Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dtrun1 Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dtrun2 Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dtrun3 Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dttop Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dtuse Ensure that every file in Spack has a license (#2659) 2016-12-27 00:17:12 -08:00
dyninst Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
e Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
extendee Spec.satisfies accesses Spec.concrete as property (#2928) 2017-01-25 21:43:12 -07:00
extension1 Spec.satisfies accesses Spec.concrete as property (#2928) 2017-01-25 21:43:12 -07:00
extension2 Spec.satisfies accesses Spec.concrete as property (#2928) 2017-01-25 21:43:12 -07:00
externalmodule Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
externalprereq Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
externaltest Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
externaltool Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
externalvirtual Extend concretization test to excercise bug in concretize's provider sorting 2016-10-21 11:57:57 -07:00
failing-build Fix Python issue with build failures; Add test case for build failures. (#2687) 2016-12-30 11:37:50 -08:00
fake Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
git-test Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
hg-test Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
hypre Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
indirect-mpich Standardize package names: lower-case, not Mixed_CASE (#2475) 2017-01-04 18:24:07 -08:00
libdwarf Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
libelf Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
mpich Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
mpich2 Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
mpileaks New interface for passing build information among specs (#1875) 2017-03-02 10:01:29 -08:00
multi-provider-mpi Fix issues when a package provides the same vdep twice. (#2710) 2017-01-02 18:40:57 -08:00
multimethod Make multimethods work with inheritance. (#3411) 2017-03-11 05:48:36 -08:00
multimethod-base Make multimethods work with inheritance. (#3411) 2017-03-11 05:48:36 -08:00
netlib-blas Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
netlib-lapack Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
openblas Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
openblas-with-lapack Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
optional-dep-test Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
optional-dep-test-2 Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
optional-dep-test-3 Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
othervirtual Extend concretization test to excercise bug in concretize's provider sorting 2016-10-21 11:57:57 -07:00
python Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
simple-inheritance Standardize package names: lower-case, not Mixed_CASE (#2475) 2017-01-04 18:24:07 -08:00
svn-test Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00
trivial-install-test-package Standardize package names: lower-case, not Mixed_CASE (#2475) 2017-01-04 18:24:07 -08:00
zmpi Spack packages now PEP8 compliant. 2016-08-10 16:33:39 -07:00