
- remove the old LGPL license headers from all files in Spack - add SPDX headers to all files - core and most packages are (Apache-2.0 OR MIT) - a very small number of remaining packages are LGPL-2.1-only
25 lines
856 B
Python
25 lines
856 B
Python
# Copyright 2013-2018 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 import *
|
|
|
|
|
|
class Python(Package):
|
|
"""Dummy Python package to demonstrate preferred versions."""
|
|
homepage = "http://www.python.org"
|
|
url = "http://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz"
|
|
|
|
extendable = True
|
|
|
|
version('3.5.1', 'be78e48cdfc1a7ad90efff146dce6cfe')
|
|
version('3.5.0', 'a56c0c0b45d75a0ec9c6dee933c41c36')
|
|
version('2.7.11', '6b6076ec9e93f05dd63e47eb9c15728b', preferred=True)
|
|
version('2.7.10', 'd7547558fd673bd9d38e2108c6b42521')
|
|
version('2.7.9', '5eebcaa0030dc4061156d3429657fb83')
|
|
version('2.7.8', 'd4bca0159acb0b44a781292b5231936f')
|
|
|
|
def install(self, spec, prefix):
|
|
pass
|