summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-08-19 14:20:31 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-08-19 14:20:31 -0500
commit835b8f246e40215020c0e794ed1217c224ef0b1c (patch)
treed608da84aa04bbc3f0a15522e163c8611fe2bed5
parentd7873b5319a3d28aaa7b7c12b8a39453052477ad (diff)
downloadspack-835b8f246e40215020c0e794ed1217c224ef0b1c.tar.gz
spack-835b8f246e40215020c0e794ed1217c224ef0b1c.tar.bz2
spack-835b8f246e40215020c0e794ed1217c224ef0b1c.tar.xz
spack-835b8f246e40215020c0e794ed1217c224ef0b1c.zip
py-sphinx requires py-setuptools during runtime
-rw-r--r--var/spack/repos/builtin/packages/py-sphinx/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-sphinx/package.py b/var/spack/repos/builtin/packages/py-sphinx/package.py
index 5dcb31cef8..923962a2dc 100644
--- a/var/spack/repos/builtin/packages/py-sphinx/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinx/package.py
@@ -36,7 +36,10 @@ class PySphinx(Package):
extends('python', ignore='bin/(pybabel|pygmentize)')
- depends_on('py-setuptools', type='build')
+ # Most Python packages only require py-setuptools as a build dependency.
+ # However, py-sphinx requires py-setuptools during runtime as well.
+ depends_on('py-setuptools', type=nolink)
+
depends_on('py-six@1.4:', type=nolink)
depends_on('py-jinja2@2.3:', type=nolink)
depends_on('py-pygments@2.0:', type=nolink)