[MacPorts] #20285: python_select does not function on 10.6

MacPorts noreply at macports.org
Tue Jul 14 04:58:18 PDT 2009


#20285: python_select does not function on 10.6
------------------------------+---------------------------------------------
 Reporter:  snc@…             |       Owner:  raimue@…           
     Type:  defect            |      Status:  new                
 Priority:  Low               |   Milestone:                     
Component:  ports             |     Version:  1.8.0              
 Keywords:                    |        Port:  python_select      
------------------------------+---------------------------------------------

Comment(by snc@…):

 Replying to [comment:2 raimue@…]:
 > What is your frameworks_dir in macports.conf?
 `frameworks_dir      /opt/local/Library/Frameworks`

 Is this all that is needed for the new code block?
 {{{
 platform darwin 10 {
     post-destroot {
         xinstall -m 644 -W ${filespath} python26-apple
 ${destroot}${prefix}/etc/select/python
     }

     post-activate {
         if {[exec ${prefix}/bin/${name} -s] == "none"} {
             system "${prefix}/bin/${name} python26-apple"
         }
     }
 }
 }}}

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


More information about the macports-tickets mailing list