diff options
| author | Mike McQuaid | 2014-01-04 13:10:39 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:35:43 +0000 |
| commit | 1e898237a308ae4a9ac3ebe6c69bd87ea15f1c69 (patch) | |
| tree | 92c55c082d7642549c6ef5d0d3b3fe33ded0d50e /Library/Formula/mapnik.rb | |
| parent | 47b85165c3737634e66cebb2b0edd75cbc480814 (diff) | |
| download | homebrew-1e898237a308ae4a9ac3ebe6c69bd87ea15f1c69.tar.bz2 | |
mapnik: cleanup python usage.
Diffstat (limited to 'Library/Formula/mapnik.rb')
| -rw-r--r-- | Library/Formula/mapnik.rb | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Library/Formula/mapnik.rb b/Library/Formula/mapnik.rb index 9a8d554eb..17d6b04dc 100644 --- a/Library/Formula/mapnik.rb +++ b/Library/Formula/mapnik.rb @@ -13,7 +13,6 @@ class Mapnik < Formula head 'https://github.com/mapnik/mapnik.git' depends_on 'pkg-config' => :build - depends_on :python depends_on 'freetype' depends_on 'libpng' depends_on 'libtiff' @@ -69,14 +68,8 @@ class Mapnik < Formula args << "GDAL_CONFIG=#{Formula.factory('gdal').opt_prefix}/bin/gdal-config" if build.with? 'gdal' args << "PG_CONFIG=#{Formula.factory('postgresql').opt_prefix}/bin/pg_config" if build.with? 'postgresql' - python do - system python, "scons/scons.py", "configure", *args - system python, "scons/scons.py", "install" - end - end - - def caveats - python.standard_caveats if python + system "python", "scons/scons.py", "configure", *args + system "python", "scons/scons.py", "install" end end |
