From fd910a60d9849236371f82404e4dfa32ef834fac Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Sun, 11 Sep 2011 09:17:49 -0700 Subject: GDAL: Depend on Numpy for Python bindings Without Numpy, the Python bindings can't deal with Raster data very well which pretty much hoses half of the GDAL functionality. --- Library/Formula/gdal.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3