Ignore:
Timestamp:
May 25, 2015, 9:04:41 PM (4 years ago)
Author:
larryv@…
Message:

python3_select: Create python3 select group (#34326)

Allow for creation of python3, python3-config, pydoc3, idle3, etc.,
improving adherence to PEP 394 (https://www.python.org/dev/peps/pep-0394).

Location:
trunk/dports/sysutils/python3_select
Files:
7 deleted
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/python3_select/Portfile

    r136726 r136748  
    55PortGroup           select 1.0
    66
    7 name                python_select
    8 version             0.3
    9 revision            4
     7name                python3_select
     8version             0.0
    109categories          sysutils
    1110platforms           darwin
     
    1413maintainers         nomaintainer
    1514
    16 description         Common files for selecting default Python version
     15description         Common files for selecting default Python 3 version
    1716long_description    This port installs files that allow 'port select' \
    1817                    to create links to the preferred default version \
    19                     of Python.
     18                    of Python 3.
    2019homepage            http://www.macports.org
    2120
     
    2524destroot {}
    2625
    27 # Documentation for Python ports:
     26# Documentation for Python 3 ports:
    2827#   PortGroup       select 1.0
    29 #   select.group    python
    30 #   select.file     ${filespath}/python[string map {. {}} ${branch}]
     28#   set pythonNoDot python[string map {. {}} $branch]
     29#   select.entries  [list python3 python3-$pythonNoDot $pythonNoDot]
    3130
    32 # install all files
    33 select.entries              {python base} \
    34                             {python none}
    35 
    36 platform darwin 8 {
    37     select.entries-append   {python python23-apple}
    38 }
    39 
    40 platform darwin 9 {
    41     select.entries-append   {python python25-apple}
    42 }
    43 
    44 platform darwin 10 {
    45     select.entries-append   {python python25-apple} \
    46                             {python python26-apple}
    47 }
    48 
    49 platform darwin 11 {
    50     select.entries-append   {python python25-apple} \
    51                             {python python26-apple} \
    52                             {python python27-apple}
    53 }
    54 
    55 platform darwin 12 {
    56     select.entries-append   {python python25-apple.mtln python25-apple} \
    57                             {python python26-apple.mtln python26-apple} \
    58                             {python python27-apple.mtln python27-apple}
    59 }
    60 
    61 platform darwin 13 {
    62     select.entries-append   {python python25-apple.mtln python25-apple} \
    63                             {python python26-apple.mtln python26-apple} \
    64                             {python python27-apple.mtln python27-apple}
    65 }
    66 
    67 platform darwin 14 {
    68     select.entries-append   {python python26-apple.mtln python26-apple} \
    69                             {python python27-apple.mtln python27-apple}
    70 }
     31select.entries      {python3 base} \
     32                    {python3 none}
    7133
    7234livecheck.type     none
  • trunk/dports/sysutils/python3_select/files/base

    r78591 r136748  
    1 bin/python
    2 bin/pythonw
    3 bin/python-config
    4 bin/idle
    5 bin/pydoc
    6 bin/smtpd.py
    7 bin/2to3
    8 share/man/man1/python.1
    9 share/man/man1/python.1.gz
    10 ${frameworks_dir}/Python.framework/Versions/Current
    11 ${frameworks_dir}/Python.framework/Headers
    12 ${frameworks_dir}/Python.framework/Resources
    13 ${frameworks_dir}/Python.framework/Python
     1bin/python3
     2bin/python3m
     3bin/python3-32
     4bin/pythonw3
     5bin/pythonw3-32
     6bin/python3-config
     7bin/python3m-config
     8bin/idle3
     9bin/pydoc3
     10bin/2to3-3
     11bin/pyvenv
     12share/man/man1/python3.1
  • trunk/dports/sysutils/python3_select/files/none

    r78591 r136748  
    1111-
    1212-
    13 -
Note: See TracChangeset for help on using the changeset viewer.