diff options
Diffstat (limited to 'var')
3 files changed, 19 insertions, 3 deletions
diff --git a/var/spack/repos/builtin.mock/packages/maintainers-1/package.py b/var/spack/repos/builtin.mock/packages/maintainers-1/package.py index 0b25a00016..27cda62732 100644 --- a/var/spack/repos/builtin.mock/packages/maintainers-1/package.py +++ b/var/spack/repos/builtin.mock/packages/maintainers-1/package.py @@ -12,6 +12,6 @@ class Maintainers1(Package): homepage = "http://www.example.com" url = "http://www.example.com/maintainers-1.0.tar.gz" - maintainers = ["user1", "user2"] + maintainers("user1", "user2") version("1.0", "0123456789abcdef0123456789abcdef") diff --git a/var/spack/repos/builtin.mock/packages/maintainers-3/package.py b/var/spack/repos/builtin.mock/packages/maintainers-3/package.py new file mode 100644 index 0000000000..b2b5a0897b --- /dev/null +++ b/var/spack/repos/builtin.mock/packages/maintainers-3/package.py @@ -0,0 +1,17 @@ +# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) +from spack.package import * +from spack.pkg.builtin.mock.maintainers_1 import Maintainers1 + + +class Maintainers3(Maintainers1): + """A second package with a maintainers field.""" + + homepage = "http://www.example.com" + url = "http://www.example.com/maintainers2-1.0.tar.gz" + + maintainers("user0", "user3") + + version("1.0", "0123456789abcdef0123456789abcdef") diff --git a/var/spack/repos/builtin.mock/packages/py-extension1/package.py b/var/spack/repos/builtin.mock/packages/py-extension1/package.py index 90b42f35d4..5cae67f2fb 100644 --- a/var/spack/repos/builtin.mock/packages/py-extension1/package.py +++ b/var/spack/repos/builtin.mock/packages/py-extension1/package.py @@ -13,8 +13,7 @@ class PyExtension1(PythonPackage): homepage = "http://www.example.com" url = "http://www.example.com/extension1-1.0.tar.gz" - # Override settings in base class - maintainers = [] + maintainers = ["user1", "user2"] version("1.0", "00000000000000000000000000000110") version("2.0", "00000000000000000000000000000120") |