[MacPorts] #26132: py26-mayavi - build failure

MacPorts noreply at macports.org
Tue Aug 9 08:18:52 PDT 2011


#26132: py26-mayavi - build failure
--------------------------------+-------------------------------------------
 Reporter:  rkcrockett@…        |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.9.1                                
 Keywords:                      |        Port:  py26-mayavi                          
--------------------------------+-------------------------------------------

Comment(by jjstickel@…):

 Maybe something like this would work (inside pre-configure):
 {{{
     if {![file exists
 ${prefix}/Python.framework/Versions/2.6/lib/python2.6/site-
 packages/VTK-5.6.1-py2.6.egg-info/PKG-INFO]} {
         ui_error "vtk must be installed with the +python26 variant"
         error "vtk must be installed with the +python26 variant"
     }

 }}}
 but +python25 and +python27 are also permitted, and so testing for any one
 of the three should be done.  Can you suggest a straightforward way to do
 that?  Or do you think a simple ui_msg would be sufficient?

-- 
Ticket URL: <https://trac.macports.org/ticket/26132#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list