| 33 | variant python26 conflicts python27 description {Configure to use Python version 2.6} {} |
| 34 | variant python27 conflicts python26 description {Configure to use Python version 2.7} {} |
| 35 | |
| 36 | if { ![variant_isset python26] } { |
| 37 | default_variants +python27 |
| 38 | } |
| 39 | if {[variant_isset python26]} { |
| 40 | set python.version 26 |
| 41 | } elseif {[variant_isset python27]} { |
| 42 | set python.version 27 |
| 43 | } |
| 44 | |
| 45 | variant tkinter description {use py-tkinter backend} { |
| 46 | depends_run-append port:py${python.version}-tkinter |
| 47 | } |
| 48 | variant pygtk description {use py-gtk backend} { |
| 49 | depends_run-append port:py${python.version}-gtk |
| 50 | } |
| 51 | |
| 52 | default_variants-append +pygtk |
| 53 | |