#17477: Integrate *_select tools into port ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: 1.7.0 Keywords: select | Port: ------------------------------+--------------------------------------------- Changes (by perry@…): * cc: perry@… (added) Comment: I've attached a patch that integrates some of the *_select tools' functionality in port. The syntax is `port select <module> <action> <options>`, with the following actions currently available: list, set {{{ perry@phoenix ~/src/macports-trunk/base/src/port $ sudo port select python list Available Versions: none python25 python25-apple perry@phoenix ~/src/macports-trunk/base/src/port $ python Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information.
^D perry@phoenix ~/src/macports-trunk/base/src/port $ sudo port select python set python25 Selecting version python25 for python perry@phoenix ~/src/macports-trunk/base/src/port $ python Python 2.5.2 (r252:60911, Dec 6 2008, 18:32:57) [GCC 4.0.1 (Apple Inc. build 5490)] on darwin Type "help", "copyright", "credits" or "license" for more information. ^D }}}
-- Ticket URL: <http://trac.macports.org/ticket/17477#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS