summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/maintainers-3
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2023-01-27 07:51:24 +0100
committerGitHub <noreply@github.com>2023-01-27 07:51:24 +0100
commitcc2ae9f270befa554ba8b09c68e89bb8248ea650 (patch)
tree8509081910fa0e01efbadf55a6b92e863b560f5c /var/spack/repos/builtin.mock/packages/maintainers-3
parent75f1077b4beaffffaaac8b18ef98585f76a983d8 (diff)
downloadspack-cc2ae9f270befa554ba8b09c68e89bb8248ea650.tar.gz
spack-cc2ae9f270befa554ba8b09c68e89bb8248ea650.tar.bz2
spack-cc2ae9f270befa554ba8b09c68e89bb8248ea650.tar.xz
spack-cc2ae9f270befa554ba8b09c68e89bb8248ea650.zip
Add a `maintainers` directive (#35083)
fixes #34879 This commit adds a new maintainer directive, which by default extend the list of maintainers for a given package. The directive is backward compatible with the current practice of having a "maintainers" list declared at the class level.
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/maintainers-3')
-rw-r--r--var/spack/repos/builtin.mock/packages/maintainers-3/package.py17
1 files changed, 17 insertions, 0 deletions
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")