aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gdal.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/gdal.rb b/Library/Formula/gdal.rb
index 34105b45b..db12c7e6a 100644
--- a/Library/Formula/gdal.rb
+++ b/Library/Formula/gdal.rb
@@ -35,6 +35,9 @@ class Gdal < Formula
depends_on "postgresql" if postgres?
depends_on "mysql" if mysql?
+ # Without Numpy, the Python bindings can't deal with raster data.
+ depends_on 'numpy' => :python unless no_python?
+
if complete?
# Raster libraries
depends_on "netcdf" # Also brings in HDF5