mxcl/homebrew — pull request #12807 by 2bits (2012-06-13 13:02:17+00:00)
Title: vtk 5.10 & add pyqt+sip

Upgrade vtk to version 5.10.
Add deps on sip and pyqt if the user options `--qt` and `--python`
Add cmake args to enable the python sip wrapper and the location
of `-DSIP_PYQT_DIR` to be in `share`.
Change the location of the python `.so` modules so they and the Egg
get installed into `lib/which_python/'site-packages'`.
Add code so that directory is created and prepended to the users's
PYTHONPATH to stop build errors.
Remove the workaround code that was previously added to support
the python getting RPATHs.
Add code that removes three duplicate files in `site-packages`
that was causing the linking step to fail, files that already
exist either in the System directories or in HB `site-packages`
when using brewed Python.

This formula will work once the HB installer scripts are modified
so that `install_name_tool` is recursed through `site-packages`
and modifies the `.so` files there. Atm I think it only modifies
files that end in `.dylib`.