Ticket #26155: vim-python27.patch

File vim-python27.patch, 2.0 KB (added by dackze+macports@…, 14 years ago)
  • Portfile

    old new  
    133133    depends_lib-append      path:bin/perl:perl5
    134134}
    135135variant python requires python25 description {Compatibility variant, requires +python25} {}
    136 variant python25 conflicts python26 python31 description {Enable Python scripting} {
     136variant python25 conflicts python26 python27 python31 description {Enable Python scripting} {
    137137    configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.5
    138138    patchfiles-append       patch-python.diff
    139139    depends_lib-append      port:python25
     
    142142    # Overwriting autoconf.cmd above removes dependency, add it again
    143143    depends_build-append port:autoconf
    144144}
    145 variant python26 conflicts python25 python31 description {Enable Python scripting} {
     145variant python26 conflicts python25 python27 python31 description {Enable Python scripting} {
    146146    configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.6
    147147    patchfiles-append       patch-python.diff
    148148    depends_lib-append      port:python26
     
    151151    # Overwriting autoconf.cmd above removes dependency, add it again
    152152    depends_build-append port:autoconf
    153153}
    154 variant python31 conflicts python25 python26 description {Enable Python scripting} {
     154variant python27 conflicts python25 python26 python31 description {Enable Python scripting} {
     155    configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.7
     156    patchfiles-append       patch-python.diff
     157    depends_lib-append      port:python27
     158
     159    use_autoconf yes
     160    # Overwriting autoconf.cmd above removes dependency, add it again
     161    depends_build-append port:autoconf
     162}
     163variant python31 conflicts python25 python26 python27 description {Enable Python scripting} {
    155164    configure.args-append   --enable-python3interp --with-python=${prefix}/bin/python3.1
    156165    patchfiles-append       patch-python3.diff
    157166    depends_lib-append      port:python31