Ticket #48807: py27.patch

File py27.patch, 1.8 KB (added by eborisch (Eric A. Borisch), 8 years ago)

Patch against r148368; reverts to libedit but leaves notes (install py27-readline suggestion) intact.

  • Portfile

     
    88epoch               2
    99# Remember to keep py27-tkinter and py27-gdbm's versions sync'd with this
    1010version             2.7.11
    11 revision            2
     11revision            3
    1212
    1313set major           [lindex [split $version .] 0]
    1414set branch          [join [lrange [split ${version} .] 0 1] .]
     
    3737                    patch-Lib-cgi.py.diff \
    3838                    patch-Lib-ctypes-macholib-dyld.py.diff \
    3939                    patch-configure.diff \
     40                    patch-libedit.diff \
    4041                    patch-Include-pyport.h.diff \
    4142                    omit-local-site-packages.patch
    4243
     
    4748                    port:db48 \
    4849                    port:ncurses \
    4950                    port:bzip2 \
    50                     port:libedit \
    51                     port:readline
     51                    port:libedit
    5252depends_run         port:python_select \
    5353                    port:python2_select
    5454
     
    141141}
    142142
    143143variant readline description {Use readline instead of libedit} {
    144 # Building with readline by default for now. See:
    145 # https://trac.macports.org/ticket/48807
    146 #    patchfiles-delete       patch-libedit.diff
    147 #    depends_lib-append      port:readline
     144    patchfiles-delete       patch-libedit.diff
     145    depends_lib-append      port:readline
    148146    depends_lib-delete      port:libedit
    149147}
    150148
    151 variant libedit description {Use libedit instead of readline} {
    152     patchfiles-append       patch-libedit.diff
    153     depends_lib-delete      port:readline
    154 }
    155 
    156149variant universal {
    157150    # This patch will need updating when 2.7.6 is released, as ARCH_RUN_32BIT
    158151    # will once again be used for something. See ticket #39270.