Added feature: package extensions

- packages can be "extended" by others
- allows extension to be symlinked into extendee's prefix.
- used for python modules.
  - first module: py-setuptools
This commit is contained in:
Todd Gamblin
2015-01-07 11:48:21 -08:00
parent 7215aee224
commit 9977543478
7 changed files with 261 additions and 19 deletions

View File

@@ -1,10 +1,13 @@
from spack import *
class Python(Package):
"""The Python programming language."""
homepage = "http://www.python.org"
url = "http://www.python.org/ftp/python/2.7.8/Python-2.7.8.tar.xz"
extendable = True
version('2.7.8', 'd235bdfa75b8396942e360a70487ee00')
depends_on("openssl")