diff options
Diffstat (limited to 'var/spack/repos/builtin.mock/packages')
5 files changed, 4 insertions, 14 deletions
diff --git a/var/spack/repos/builtin.mock/packages/a/package.py b/var/spack/repos/builtin.mock/packages/a/package.py index 5b776dbf2b..52b02cbe64 100644 --- a/var/spack/repos/builtin.mock/packages/a/package.py +++ b/var/spack/repos/builtin.mock/packages/a/package.py @@ -16,9 +16,7 @@ class A(AutotoolsPackage): version("2.0", "abcdef0123456789abcdef0123456789") variant( - "foo", - description="", - values=any_combination_of("bar", "baz", "fee").with_default("bar"), + "foo", description="", values=any_combination_of("bar", "baz", "fee").with_default("bar") ) variant("foobar", values=("bar", "baz", "fee"), default="bar", description="", multi=False) diff --git a/var/spack/repos/builtin.mock/packages/attributes-foo/package.py b/var/spack/repos/builtin.mock/packages/attributes-foo/package.py index f910fde80f..5ae2c2c387 100644 --- a/var/spack/repos/builtin.mock/packages/attributes-foo/package.py +++ b/var/spack/repos/builtin.mock/packages/attributes-foo/package.py @@ -14,7 +14,6 @@ class AttributesFoo(BundlePackage): provides("baz") def install(self, spec, prefix): - lib_suffix = ".so" if sys.platform == "win32": lib_suffix = ".dll" diff --git a/var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid2/package.py b/var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid2/package.py index 7252dbdeee..660fd947cf 100644 --- a/var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid2/package.py +++ b/var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid2/package.py @@ -30,6 +30,6 @@ X Y patch( "http://example.com/urlpatch.patch", sha256="mid21234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234", - ), + ) ], ) diff --git a/var/spack/repos/builtin.mock/packages/git-url-top-level/package.py b/var/spack/repos/builtin.mock/packages/git-url-top-level/package.py index ba0457103c..fdc7407d9d 100644 --- a/var/spack/repos/builtin.mock/packages/git-url-top-level/package.py +++ b/var/spack/repos/builtin.mock/packages/git-url-top-level/package.py @@ -39,14 +39,8 @@ class GitUrlTopLevel(Package): sha256="0000000000000000000000000000000000000000000000000000000000000022", url="https://www.example.com/foo2.2.tar.gz", ) - version( - "2.1", - sha256="0000000000000000000000000000000000000000000000000000000000000021", - ) - version( - "2.0", - "0000000000000000000000000000000000000000000000000000000000000020", - ) + version("2.1", sha256="0000000000000000000000000000000000000000000000000000000000000021") + version("2.0", "0000000000000000000000000000000000000000000000000000000000000020") # These result in a FetcherConflict b/c we can't tell what to use version( diff --git a/var/spack/repos/builtin.mock/packages/simple-inheritance/package.py b/var/spack/repos/builtin.mock/packages/simple-inheritance/package.py index 3673385a8a..a1f439de6e 100644 --- a/var/spack/repos/builtin.mock/packages/simple-inheritance/package.py +++ b/var/spack/repos/builtin.mock/packages/simple-inheritance/package.py @@ -7,7 +7,6 @@ from spack.package import * class BaseWithDirectives(Package): - depends_on("cmake", type="build") depends_on("mpi") variant("openblas", description="Activates openblas", default=True) |