# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 136745 2015-05-25 20:07:19Z larryv@macports.org $ PortSystem 1.0 PortGroup select 1.0 name python2_select version 0.0 revision 1 categories sysutils platforms darwin supported_archs noarch license BSD maintainers nomaintainer description Common files for selecting default Python 2 version long_description This port installs files that allow 'port select' \ to create links to the preferred default version \ of Python 2. homepage http://www.macports.org distfiles use_configure no build {} destroot {} # Documentation for Python 2 ports: # PortGroup select 1.0 # set pythonNoDot python[string map {. {}} $branch] # select.entries [list python2 python2-$pythonNoDot $pythonNoDot] # install all files select.entries {python2 base} \ {python2 none} platform darwin 8 { select.entries-append {python2 python23-apple} } platform darwin 9 { select.entries-append {python2 python25-apple} } platform darwin 10 { select.entries-append {python2 python25-apple} \ {python2 python26-apple} } platform darwin 11 { select.entries-append {python2 python25-apple} \ {python2 python26-apple} \ {python2 python27-apple} } platform darwin 12 { select.entries-append {python2 python25-apple.mtln python25-apple} \ {python2 python26-apple.mtln python26-apple} \ {python2 python27-apple.mtln python27-apple} } platform darwin 13 { select.entries-append {python2 python25-apple.mtln python25-apple} \ {python2 python26-apple.mtln python26-apple} \ {python2 python27-apple.mtln python27-apple} } platform darwin 14 { select.entries-append {python2 python26-apple.mtln python26-apple} \ {python2 python27-apple.mtln python27-apple} } livecheck.type none