diff options
| author | Charlie Sharpsteen | 2011-09-11 09:17:49 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-09-11 09:44:49 -0700 |
| commit | fd910a60d9849236371f82404e4dfa32ef834fac (patch) | |
| tree | 8ad1dfc9f634536a63671a77ff86363728d16ca5 /Library | |
| parent | 9a25b0554cbb874fe250c9af266d6b088b83bbda (diff) | |
| download | homebrew-fd910a60d9849236371f82404e4dfa32ef834fac.tar.bz2 | |
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.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gdal.rb | 3 |
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 |
