Commits

Jonathan Stickel authored and Perry E. Metzger committed eb24e0d8fbe
paraview: fix python36 conflict
No tags

science/paraview/Portfile

Modified
104 104
105 105 # other pythons?
106 106 variant python27 conflicts python36 description {Add Python 2.7 support.} {
107 107 depends_lib-append port:py27-matplotlib
108 108 configure.args-append \
109 109 -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \
110 110 -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7 \
111 111 -DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/Headers/ \
112 112 -DPYTHON_LIBRARY=${prefix}/lib/libpython2.7.dylib
113 113 }
114 -variant python36 description {Add Python 3.6 support.} {
114 +variant python36 conflicts python27 description {Add Python 3.6 support.} {
115 115 depends_lib-append port:py36-matplotlib
116 116 configure.args-append \
117 117 -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \
118 118 -DPYTHON_EXECUTABLE=${prefix}/bin/python3.6 \
119 119 -DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/3.6/Headers/ \
120 120 -DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/3.6/Python \
121 121 -DVTK_PYTHON_VERSION=3
122 122 }
123 123
124 124 if {[variant_isset python27] || [variant_isset python36]} {

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut