diff --git a/dports/science/grib_api/Portfile b/dports/science/grib_api/Portfile
index ac959c3..a70b520 100644
a
|
b
|
PortGroup compilers 1.0 |
6 | 6 | |
7 | 7 | name grib_api |
8 | 8 | version 1.12.3 |
| 9 | revision 1 |
9 | 10 | platforms darwin |
10 | 11 | maintainers takeshi |
11 | 12 | license Apache-2 |
… |
… |
if {[fortran_variant_isset]} { |
86 | 87 | } |
87 | 88 | } |
88 | 89 | |
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. |
| 91 | variant python25 requires python27 description {Legacy variant} {} |
| 92 | variant python26 requires python27 description {Legacy variant} {} |
104 | 93 | |
105 | | variant python27 conflicts python25 python26 description {Add support for python27} { |
| 94 | variant python27 description {Add support for python27} { |
106 | 95 | depends_lib-append port:py27-numpy |
107 | 96 | configure.args-delete --disable-python |
108 | 97 | configure.args-append --enable-python |