summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin.mock/packages/old-external/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin.mock/packages/old-external/package.py b/var/spack/repos/builtin.mock/packages/old-external/package.py
new file mode 100644
index 0000000000..cf414195a2
--- /dev/null
+++ b/var/spack/repos/builtin.mock/packages/old-external/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2021 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)
+class OldExternal(Package):
+ """A package that has an old version declared in packages.yaml"""
+
+ homepage = "https://www.example.com"
+ url = "https://www.example.com/old-external.tar.gz"
+
+ version('1.2.0', '0123456789abcdef0123456789abcdef')
+ version('1.1.4', '0123456789abcdef0123456789abcdef')
+ version('1.1.3', '0123456789abcdef0123456789abcdef')
+ version('1.1.2', '0123456789abcdef0123456789abcdef')
+ version('1.1.1', '0123456789abcdef0123456789abcdef')
+ version('1.1.0', '0123456789abcdef0123456789abcdef')
+ version('1.0.0', '0123456789abcdef0123456789abcdef')