summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/packages/petsc/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/packages/petsc/package.py b/var/spack/packages/petsc/package.py
index 43c7f8a9b6..dc4d6bb412 100644
--- a/var/spack/packages/petsc/package.py
+++ b/var/spack/packages/petsc/package.py
@@ -12,6 +12,8 @@ class Petsc(Package):
version('3.5.2', 'ad170802b3b058b5deb9cd1f968e7e13')
version('3.5.1', 'a557e029711ebf425544e117ffa44d8f')
+ depends_on("python @2.6:@2.9") # requires Python for building
+
depends_on("boost")
depends_on("blas")
depends_on("lapack")