forked from Homebrew/legacy-homebrew
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade vtk to version 5.10. Add deps on `sip` and `pyqt` if the user options `--pyqt` Add cmake args to enable SIP/PyQt if `--pyqt` Add cmake args for `-DSIP_PYQT_DIR` as `HOMEBREW_PREFIX/share/sip`. Add `skip_clean :all` to help vtkpython find the symbol `_environ` Change the location of the python `.so` modules so they and the Egg get installed into `lib/which_python/'site-packages'`. Add code so `site-packages` is created and prepended to the PYTHONPATH to stop build errors. Add `-DPYTHON_INCLUDE_DIR` so the right headers are located. Remove the workaround code that was previously added to support Python getting RPATHs, as RPATHS are fixed in Homebrew Core. Add code that removes three duplicate files in `site-packages` that cause the linking step to fail, files that already exist in HB `site-packages` when using brewed Python. Add code to `mv` the python module directory `vtk` out of the `VTK-5.10-py2.7.egg` and into `site-packages`. Without that, you can't import vtk into Python. Add code to install the `Examples` Tested on Lion using clang and llvm from XCode-4.3.3 with the CLT and without the CLT against system Python, HB framework Python, HB non-framework Python, Qt-4.8.2, sip, pyqt, pyside and shiboken. Closes Homebrew#12807. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- Loading branch information
Showing
1 changed file
with
102 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters