New, cleaner package repository structure.

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).
This commit is contained in:
Todd Gamblin
2015-11-26 14:19:27 -08:00
parent 04f032d6e3
commit 89d5127900
285 changed files with 137 additions and 64 deletions

View File

@@ -0,0 +1,18 @@
import os
from spack import *
class Lwgrp(Package):
"""Thie light-weight group library provides process group
representations using O(log N) space and time."""
homepage = "https://github.com/hpc/lwgrp"
url = "https://github.com/hpc/lwgrp/releases/download/v1.0.2/lwgrp-1.0.2.tar.gz"
version('1.0.2', 'ab7ba3bdd8534a651da5076f47f27d8a')
depends_on('mpi')
def install(self, spec, prefix):
configure("--prefix=" + prefix)
make()
make("install")