
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
394 B
Python
14 lines
394 B
Python
from spack import *
|
|
|
|
class PySphinx(Package):
|
|
"""Sphinx Documentation Generator."""
|
|
homepage = "http://sphinx-doc.org"
|
|
url = "https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.3.1.tar.gz"
|
|
|
|
version('1.3.1', '8786a194acf9673464c5455b11fd4332')
|
|
|
|
extends('python')
|
|
|
|
def install(self, spec, prefix):
|
|
python('setup.py', 'install', '--prefix=%s' % prefix)
|