Commit graph

7 commits

Author SHA1 Message Date
nibbles 2bits
b1efcd3f38 mapnik: fix relative path in paths.py
Add patch to mapnik.rb to use an absolute path into site-packages
rather than a relative path in the file `paths.py`.  The upstream
bug report is noted in the formula comments and is where the patch
offered by the developer came from.

Fixes Homebrew/homebrew#12026.
Closes Homebrew/homebrew#12043.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-05-04 11:53:58 -07:00
Dane Springmeyer
b685a7b70f mapnik: limit concurrent make jobs
mapnik compiles can take ~1.5 GB per job for some .cpp files
so lets be cautious by limiting to CPUS/2

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-28 10:19:13 -07:00
nibbles 2bits
2c745f0622 mapnik: fix compile error with system Python
Mapnik by default tries to install to the site-packages in /System
when brewed against system Python.  This causes a build error
because that directory is not writeable.  Mapnik correctly
determines the versioned site-packages name without modification,
but for Homebrew it needs the proper prefix.

* Add the standard `which_python` function to the formula.
* Add a scons argument for `PYTHON_PREFIX`
* Add the standard caveat for `PYTHONPATH`.

Discussed upstream: https://github.com/mapnik/mapnik/issues/1155
and tested on Lion against the system Python.

Fixes Homebrew/homebrew#11389

Closes Homebrew/homebrew#11407.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-11 01:03:22 -05:00
Dane Springmeyer
ad9a1cebca mapnik 2.0.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-10 06:16:00 -07:00
Dane Springmeyer
e555869ec8 mapnik updates
- new download link for mapnik 2.0.0 - and tweaks to avoid needing
   external scons and to properly set the CC/CXX/JOBS so that the mapnik
   build scripts will pick them up

Closes Homebrew/homebrew#8177.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01 19:01:45 -06:00
Kashif Rasul
e6f886cd12 mapnik 2.0.0
Closes Homebrew/homebrew#7847.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-03 16:20:34 -05:00
Aleksandar Topuzovic
23ac8e4124 mapnik 0.7.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-22 09:55:53 -07:00