Ticket #46404: grib_api.python.patch

File grib_api.python.patch, 1.6 KB (added by larryv (Lawrence Velázquez), 10 years ago)
  • dports/science/grib_api/Portfile

    diff --git a/dports/science/grib_api/Portfile b/dports/science/grib_api/Portfile
    index ac959c3..a70b520 100644
    a b PortGroup compilers 1.0 
    66
    77name                grib_api
    88version             1.12.3
     9revision            1
    910platforms           darwin
    1011maintainers         takeshi
    1112license             Apache-2
    if {[fortran_variant_isset]} { 
    8687    }
    8788}
    8889
    89 variant python25 conflicts python26 python27 description {Add support for python25} {
    90     depends_lib-append      port:py25-numpy
    91     configure.args-delete   --disable-python
    92     configure.args-append   --enable-python
    93     configure.env-append    PYTHON=${prefix}/bin/python2.5 \
    94                             PYTHON_CONFIG=${prefix}/bin/python2.5-config
    95 }
    96 
    97 variant python26 conflicts python25 python27 description {Add support for python26} {
    98     depends_lib-append      port:py26-numpy
    99     configure.args-delete   --disable-python
    100     configure.args-append   --enable-python
    101     configure.env-append    PYTHON=${prefix}/bin/python2.6 \
    102                             PYTHON_CONFIG=${prefix}/bin/python2.6-config
    103 }
     90# TODO: Remove after 2016-01-04.
     91variant python25 requires python27 description {Legacy variant} {}
     92variant python26 requires python27 description {Legacy variant} {}
    10493
    105 variant python27 conflicts python25 python26 description {Add support for python27} {
     94variant python27 description {Add support for python27} {
    10695    depends_lib-append      port:py27-numpy
    10796    configure.args-delete   --disable-python
    10897    configure.args-append   --enable-python