| 134 | variant python26 conflicts python27 description {Enable Python support (Python 2.6)} { |
| 135 | configure.args-delete --without-python |
| 136 | configure.args-append --enable-pyextension |
| 137 | configure.args-append --with-python=${prefix}/bin/python2.6 |
| 138 | configure.args-append --with-python-headers=${frameworks_dir}/Python.framework/Versions/2.6/include/python2.6 |
| 139 | destroot.args-append PYTHON=${prefix}/bin/python2.6 PYTHONPREFIX=${frameworks_dir}/Python.framework/Versions/2.6 |
| 140 | depends_lib-append port:python26 |
| 141 | } |
| 142 | |
| 143 | variant python27 conflicts python26 description {Enable Python support (Python 2.7)} { |
| 144 | configure.args-delete --without-python |
| 145 | configure.args-append --enable-pyextension |
| 146 | configure.args-append --with-python=${prefix}/bin/python2.7 |
| 147 | configure.args-append --with-python-headers=${frameworks_dir}/Python.framework/Versions/2.7/include/python2.7 |
| 148 | destroot.args-append PYTHON=${prefix}/bin/python2.7 PYTHONPREFIX=${frameworks_dir}/Python.framework/Versions/2.7 |
| 149 | depends_lib-append port:python27 |
| 150 | } |
| 151 | |