Ignore:
Timestamp:
Dec 30, 2014, 6:45:57 PM (4 years ago)
Author:
larryv@…
Message:

coccinelle: Provide only Python 2.7 and 3.4 variants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/coccinelle/Portfile

    r119020 r130440  
    66name                coccinelle
    77version             1.0.0-rc21
     8revision            1
    89license             GPL-2
    910maintainers         g5pw openmaintainer
     
    4647# build.target        opt-only
    4748                   
    48 variant python26 conflicts python33 python32 python31 python27 description {Build with python 2.6 support} {
    49     set mypydir ${frameworks_dir}/Python.framework/Versions/2.6
    50     configure.args-delete   --disable-python
    51     configure.args-append   --enable-python \
    52                             --with-python=${mypydir}/bin/python
     49# TODO: Remove after 2015-12-26.
     50variant python26 requires python27 description {Legacy variant} {}
     51variant python31 requires python34 description {Legacy variant} {}
     52variant python32 requires python34 description {Legacy variant} {}
     53variant python33 requires python34 description {Legacy variant} {}
    5354
    54     configure.env-append \
    55                         PKG_CONFIG_PATH=${mypydir}/lib/pkgconfig
    56     depends_lib-append      port:python26
    57 }
    58 
    59 variant python27 conflicts python33 python32 python31 python26 description {Build with python 2.7 support} {
     55variant python27 conflicts python34 description {Build with python 2.7 support} {
    6056    set mypydir ${frameworks_dir}/Python.framework/Versions/2.7
    6157    configure.args-delete   --disable-python
     
    6763}
    6864
    69 variant python31 conflicts python33 python32 python27 python26 description {Build with python 3.1 support} {
    70     set mypydir ${frameworks_dir}/Python.framework/Versions/3.1
     65variant python34 conflicts python27 description {Build with python 3.4 support} {
     66    set mypydir ${frameworks_dir}/Python.framework/Versions/3.4
    7167    configure.args-delete   --disable-python
    7268    configure.args-append   --enable-python \
     
    7470    configure.env-append \
    7571                        PKG_CONFIG_PATH=${mypydir}/lib/pkgconfig
    76     depends_lib-append      port:python31
    77 }
    78 
    79 variant python32 conflicts python33 python31 python27 python26 description {Build with python 3.2 support} {
    80     set mypydir ${frameworks_dir}/Python.framework/Versions/3.2
    81     configure.args-delete   --disable-python
    82     configure.args-append   --enable-python \
    83                             --with-python=${mypydir}/bin/python3
    84     configure.env-append \
    85                         PKG_CONFIG_PATH=${mypydir}/lib/pkgconfig
    86     depends_lib-append      port:python32
    87 }
    88 
    89 variant python33 conflicts python32 python31 python27 python26 description {Build with python 3.3 support} {
    90     set mypydir ${frameworks_dir}/Python.framework/Versions/3.3
    91     configure.args-delete   --disable-python
    92     configure.args-append   --enable-python \
    93                             --with-python=${mypydir}/bin/python3
    94     configure.env-append \
    95                         PKG_CONFIG_PATH=${mypydir}/lib/pkgconfig
    96     depends_lib-append      port:python33
     72    depends_lib-append      port:python34
    9773}
    9874
Note: See TracChangeset for help on using the changeset viewer.