diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin.mock/packages/deprecated-versions/package.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/var/spack/repos/builtin.mock/packages/deprecated-versions/package.py b/var/spack/repos/builtin.mock/packages/deprecated-versions/package.py new file mode 100644 index 0000000000..6dfdfbc49c --- /dev/null +++ b/var/spack/repos/builtin.mock/packages/deprecated-versions/package.py @@ -0,0 +1,12 @@ +# 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 DeprecatedVersions(Package): + """Package with the most recent version deprecated""" + + homepage = "http://www.example.com" + url = "http://www.example.com/c-1.0.tar.gz" + + version('1.1.0', '0123456789abcdef0123456789abcdef', deprecated=True) + version('1.0.0', '0123456789abcdef0123456789abcdef') |