| 141 | variant python26 conflicts python27 description {Enable Python support (Python 2.6)} { |
| 142 | configure.args-delete --without-python |
| 143 | configure.args-append --enable-pyextension \ |
| 144 | --with-python=${prefix}/bin/python2.6 \ |
| 145 | --with-python-headers=${frameworks_dir}/Python.framework/Versions/2.6/include/python2.6 |
| 146 | destroot.args-append PYTHON=${prefix}/bin/python2.6 PYTHONPREFIX=${frameworks_dir}/Python.framework/Versions/2.6 |
| 147 | depends_lib-append port:python26 |
| 148 | } |
| 149 | |
| 150 | variant python27 conflicts python26 description {Enable Python support (Python 2.7)} { |
| 151 | configure.args-delete --without-python |
| 152 | configure.args-append --enable-pyextension \ |
| 153 | --with-python=${prefix}/bin/python2.7 \ |
| 154 | --with-python-headers=${frameworks_dir}/Python.framework/Versions/2.7/include/python2.7 |
| 155 | destroot.args-append PYTHON=${prefix}/bin/python2.7 PYTHONPREFIX=${frameworks_dir}/Python.framework/Versions/2.7 |
| 156 | depends_lib-append port:python27 |
| 157 | } |
| 158 | |