Commits
Marcus Calhoun-Lopez authored and David B. Evans committed b0ac4893c82
44 44 | |
45 45 | # one each of python2 python3 allowed |
46 46 | |
47 47 | variant python27 description {Build Python2 bindings using Python 2.7} { |
48 48 | depends_lib-append port:py27-gobject3 |
49 49 | configure.env-append PYTHON2_PATH=${prefix}/bin/python2.7 |
50 50 | } |
51 51 | |
52 52 | default_variants +python27 |
53 53 | |
54 - | variant python35 conflicts python36 description {Build Python3 bindings using Python 3.5} { |
54 + | variant python35 conflicts python36 python37 description {Build Python3 bindings using Python 3.5} { |
55 55 | depends_lib-append port:py35-gobject3 |
56 56 | configure.env-append PYTHON3_PATH=${prefix}/bin/python3.5 |
57 57 | } |
58 58 | |
59 - | variant python36 conflicts python35 description {Build Python3 bindings using Python 3.6} { |
59 + | variant python36 conflicts python35 python37 description {Build Python3 bindings using Python 3.6} { |
60 60 | depends_lib-append port:py36-gobject3 |
61 61 | configure.env-append PYTHON3_PATH=${prefix}/bin/python3.6 |
62 62 | } |
63 63 | |
64 - | if {![variant_isset python35]} { |
64 + | variant python37 conflicts python35 python36 description {Build Python3 bindings using Python 3.7} { |
65 + | depends_lib-append port:py37-gobject3 |
66 + | configure.env-append PYTHON3_PATH=${prefix}/bin/python3.7 |
67 + | } |
68 + | |
69 + | if {![variant_isset python35] && ![variant_isset python37]} { |
65 70 | default_variants +python36 |
66 71 | } |
67 72 | |
68 73 | livecheck.type gnome |