summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-11-04 17:55:43 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-11-04 17:55:43 -0800
commit1c4ef2996219a00e774baafa558880c83ae3d859 (patch)
tree1d214995546ae14a32b9114d4e47bcce0e4a947a
parent0d993947ee5a4c29451cf0ee40f47519e1c3c4d9 (diff)
downloadspack-1c4ef2996219a00e774baafa558880c83ae3d859.tar.gz
spack-1c4ef2996219a00e774baafa558880c83ae3d859.tar.bz2
spack-1c4ef2996219a00e774baafa558880c83ae3d859.tar.xz
spack-1c4ef2996219a00e774baafa558880c83ae3d859.zip
Add Sphinx package
-rw-r--r--var/spack/packages/py-sphinx/package.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/packages/py-sphinx/package.py b/var/spack/packages/py-sphinx/package.py
new file mode 100644
index 0000000000..ec2e89a098
--- /dev/null
+++ b/var/spack/packages/py-sphinx/package.py
@@ -0,0 +1,13 @@
+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)