aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mapnik.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-01-04 13:10:39 +0000
committerMike McQuaid2014-01-04 13:35:43 +0000
commit1e898237a308ae4a9ac3ebe6c69bd87ea15f1c69 (patch)
tree92c55c082d7642549c6ef5d0d3b3fe33ded0d50e /Library/Formula/mapnik.rb
parent47b85165c3737634e66cebb2b0edd75cbc480814 (diff)
downloadhomebrew-1e898237a308ae4a9ac3ebe6c69bd87ea15f1c69.tar.bz2
mapnik: cleanup python usage.
Diffstat (limited to 'Library/Formula/mapnik.rb')
-rw-r--r--Library/Formula/mapnik.rb11
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