
Package repositories now look like this: top-level-dir/ repo.yaml packages/ libelf/ package.py mpich/ package.py ... This leaves room at the top level for additional metadata, source, per-repo configs, indexes, etc., and it makes it easy to see that something is a spack repo (just look for repo.yaml and packages).
13 lines
286 B
Python
13 lines
286 B
Python
from spack import *
|
|
|
|
class C(Package):
|
|
"""Simple package with no dependencies"""
|
|
|
|
homepage = "http://www.example.com"
|
|
url = "http://www.example.com/c-1.0.tar.gz"
|
|
|
|
version('1.0', '0123456789abcdef0123456789abcdef')
|
|
|
|
def install(self, spec, prefix):
|
|
pass
|