diff options
| author | Dane Springmeyer | 2012-08-23 16:29:23 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-24 10:44:41 -0700 |
| commit | 0d115ce857e8990c25dcb15d0cf647500faa8b2c (patch) | |
| tree | 9e5b0a2ae867716bbcaa3cb4760cbc7370f755fd /Library/Formula/mapnik.rb | |
| parent | 6c498e1f5612a67ac8a90e944fa2a99a527eb53f (diff) | |
| download | homebrew-0d115ce857e8990c25dcb15d0cf647500faa8b2c.tar.bz2 | |
mapnik 2.1.0
Closes #14439.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mapnik.rb')
| -rw-r--r-- | Library/Formula/mapnik.rb | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/Library/Formula/mapnik.rb b/Library/Formula/mapnik.rb index 0b467bc78..17d7bf3ee 100644 --- a/Library/Formula/mapnik.rb +++ b/Library/Formula/mapnik.rb @@ -1,9 +1,10 @@ require 'formula' class Mapnik < Formula - url 'https://github.com/downloads/mapnik/mapnik/mapnik-v2.0.1.tar.bz2' - md5 'e3dd09991340e2568b99f46bac34b0a8' homepage 'http://www.mapnik.org/' + url 'https://github.com/downloads/mapnik/mapnik/mapnik-v2.1.0.tar.bz2' + sha1 'b1c6a138e65a5e20f0f312a559e2ae7185adf5b6' + head 'https://github.com/mapnik/mapnik.git' depends_on 'pkg-config' => :build @@ -15,12 +16,6 @@ class Mapnik < Formula depends_on 'cairomm' => :optional depends_on :x11 - # Reported upstream: https://github.com/mapnik/mapnik/issues/1171 - # Fix is in head. Remove at 2.0.2. - def patches - DATA unless ARGV.build_head? - end - def install icu = Formula.factory("icu4c") # mapnik compiles can take ~1.5 GB per job for some .cpp files @@ -55,19 +50,3 @@ class Mapnik < Formula "python" + `python -c 'import sys;print(sys.version[:3])'`.strip end end - -__END__ ---- a/bindings/python/build.py -+++ b/bindings/python/build.py -@@ -143,10 +143,7 @@ paths += "__all__ = [mapniklibpath,inputpluginspath,fontscollectionpath]\n" - if not os.path.exists('mapnik'): - os.mkdir('mapnik') - --if hasattr(os.path,'relpath'): # python 2.6 and above -- file('mapnik/paths.py','w').write(paths % (os.path.relpath(env['MAPNIK_LIB_DIR'],target_path))) --else: -- file('mapnik/paths.py','w').write(paths % (env['MAPNIK_LIB_DIR'])) -+file('mapnik/paths.py','w').write(paths % (env['MAPNIK_LIB_DIR'])) - - # force open perms temporarily so that `sudo scons install` - # does not later break simple non-install non-sudo rebuild |
