[147355] trunk/dports/graphics/vtk/Portfile
stromnov at macports.org
stromnov at macports.org
Sat Apr 2 03:58:01 PDT 2016
Revision: 147355
https://trac.macports.org/changeset/147355
Author: stromnov at macports.org
Date: 2016-04-02 03:58:01 -0700 (Sat, 02 Apr 2016)
Log Message:
-----------
vtk: update to version 7.0.0 (#51020)
Modified Paths:
--------------
trunk/dports/graphics/vtk/Portfile
Modified: trunk/dports/graphics/vtk/Portfile
===================================================================
--- trunk/dports/graphics/vtk/Portfile 2016-04-02 10:08:14 UTC (rev 147354)
+++ trunk/dports/graphics/vtk/Portfile 2016-04-02 10:58:01 UTC (rev 147355)
@@ -5,7 +5,7 @@
PortGroup cmake 1.0
name vtk
-version 6.3.0
+version 7.0.0
revision 0
categories graphics devel
platforms darwin
@@ -26,8 +26,8 @@
distname VTK-${version}
-checksums rmd160 c14df81322961e6c4617b1b50fb9a2b1d574d3ce \
- sha256 92a493354c5fa66bea73b5fc014154af5d9f3f6cee8d20a826f4cd5d4b0e8a5e
+checksums rmd160 94b4865f9cb371203039470dcbc5c068b12ab720 \
+ sha256 78a990a15ead79cdc752e86b83cfab7dbf5b7ef51ba409db02570dbdd9ec32c3
cmake.out_of_source yes
@@ -59,7 +59,7 @@
PortGroup qt5 1.0
}
-variant python27 description {Add Python 2.7 support.} {
+variant python27 conflicts python35 description {Add Python 2.7 support.} {
depends_lib-append port:python27
configure.args-delete \
-DVTK_WRAP_PYTHON:BOOL=OFF
@@ -69,8 +69,20 @@
-DVTK_INSTALL_PYTHON_MODULE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages
}
-default_variants +python27
+variant python35 conflicts python27 description {Add Python 3.5 support.} {
+ depends_lib-append port:python35
+ configure.args-delete \
+ -DVTK_WRAP_PYTHON:BOOL=OFF
+ configure.args-append \
+ -DVTK_WRAP_PYTHON:BOOL=ON \
+ -DPYTHON_EXECUTABLE:STRING=${prefix}/bin/python3.5 \
+ -DVTK_INSTALL_PYTHON_MODULE_DIR=${frameworks_dir}/Python.framework/Versions/3.5/lib/python3.5/site-packages
+}
+if {![variant_isset python35]} {
+ default_variants +python35
+}
+
livecheck.type regex
livecheck.url http://www.vtk.org/VTK/resources/software.html
livecheck.regex {[vV][tT][kK]-(\d+(?:\.\d+)*)\.[tz]}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160402/97fef69b/attachment.html>
More information about the macports-changes
mailing list