
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).
14 lines
441 B
Python
14 lines
441 B
Python
from spack import *
|
|
|
|
class PyPexpect(Package):
|
|
"""Pexpect allows easy control of interactive console applications."""
|
|
homepage = "https://pypi.python.org/pypi/pexpect"
|
|
url = "https://pypi.python.org/packages/source/p/pexpect/pexpect-3.3.tar.gz"
|
|
|
|
version('3.3', '0de72541d3f1374b795472fed841dce8')
|
|
|
|
extends('python')
|
|
|
|
def install(self, spec, prefix):
|
|
python('setup.py', 'install', '--prefix=%s' % prefix)
|