vtk: use current tab API
parent
0f0f70e259
commit
fd3ecdc6f8
|
@ -101,7 +101,7 @@ class Vtk < Formula
|
||||||
def caveats
|
def caveats
|
||||||
s = ''
|
s = ''
|
||||||
vtk = Tab.for_formula 'vtk'
|
vtk = Tab.for_formula 'vtk'
|
||||||
if build.include? 'python' or vtk.installed_with? 'python'
|
if build.include? 'python' or vtk.include? 'python'
|
||||||
s += <<-EOS.undent
|
s += <<-EOS.undent
|
||||||
For non-homebrew Python, you need to amend your PYTHONPATH like so:
|
For non-homebrew Python, you need to amend your PYTHONPATH like so:
|
||||||
export PYTHONPATH=#{HOMEBREW_PREFIX}/lib/#{which_python}/site-packages:$PYTHONPATH
|
export PYTHONPATH=#{HOMEBREW_PREFIX}/lib/#{which_python}/site-packages:$PYTHONPATH
|
||||||
|
@ -113,7 +113,7 @@ class Vtk < Formula
|
||||||
|
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
if build.include? 'examples' or vtk.installed_with? '--examples'
|
if build.include? 'examples' or vtk.include? 'examples'
|
||||||
s += <<-EOS.undent
|
s += <<-EOS.undent
|
||||||
|
|
||||||
The scripting examples are stored in #{HOMEBREW_PREFIX}/share/vtk
|
The scripting examples are stored in #{HOMEBREW_PREFIX}/share/vtk
|
||||||
|
|
Loading…
Reference in New Issue