[arch-commits] Commit in vtk/trunk (PKGBUILD)

Evgeniy Alekseev arcanis at archlinux.org
Wed Nov 15 15:28:32 UTC 2017


    Date: Wednesday, November 15, 2017 @ 15:28:31
  Author: arcanis
Revision: 266879

upgpkg: vtk 8.0.1-2

Rollback to python2, because upgrade to python3 (see FS#48113) is currently
blocked by mayavi.

Modified:
  vtk/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-15 14:56:10 UTC (rev 266878)
+++ PKGBUILD	2017-11-15 15:28:31 UTC (rev 266879)
@@ -7,7 +7,7 @@
 pkgname=vtk
 pkgver=8.0.1
 _majorver=8.0
-pkgrel=1
+pkgrel=2
 pkgdesc='A software system for 3D computer graphics, image processing, and visualization'
 arch=('x86_64')
 url='http://www.vtk.org/'
@@ -15,18 +15,18 @@
 depends=('gcc-libs')
 makedepends=('boost' 'cmake' 'doxygen' 'ffmpeg' 'gdal' 'glew' 'gnuplot'
              'hdf5' 'java-environment' 'jsoncpp' 'libharu'
-             'mariadb' 'openmpi' 'proj' 'python-autobahn' 'python-matplotlib'
-             'python-mpi4py' 'python-twisted' 'qt5-base' 'qt5-tools'
+             'mariadb' 'openmpi' 'proj' 'python2-autobahn' 'python2-matplotlib'
+             'python2-mpi4py' 'python2-twisted' 'qt5-base' 'qt5-tools'
              'qt5-webkit' 'qt5-x11extras' 'tk' 'unixodbc' 'wget')
-optdepends=('python: python bindings'
+optdepends=('python2: python bindings'
             'java-runtime: java bindings'
             'tk: tcl bindings'
             'gnuplot: plotting tools'
             'graphviz: drawing tools'
-            'python-matplotlib: for Matplotlib rendering'
-            'python-twisted: for vtkWeb'
-            'python-autobahn: for vtkWeb'
-            'python-mpi4py: OpenMPI python support'
+            'python2-matplotlib: for Matplotlib rendering'
+            'python2-twisted: for vtkWeb'
+            'python2-autobahn: for vtkWeb'
+            'python2-mpi4py: OpenMPI python support'
             'openmpi: OpenMPI support'
             'qt5-x11extras'
             'qt5-webkit: WebKit support'
@@ -89,7 +89,7 @@
     -DVTK_WRAP_PYTHON:BOOL=ON \
     -DVTK_WRAP_TCL:BOOL=ON \
     -DCMAKE_CXX_FLAGS="-D__STDC_CONSTANT_MACROS" \
-    -DVTK_PYTHON_VERSION="3" \
+    -DVTK_PYTHON_VERSION="2" \
     -DVTK_CUSTOM_LIBRARY_SUFFIX="" \
     -DVTK_INSTALL_INCLUDE_DIR:PATH=include/vtk \
     -DVTK_INSTALL_TCL_DIR=/usr/lib/tcl${_tkver}/vtk/ \
@@ -105,7 +105,7 @@
 
   make DESTDIR="${pkgdir}" install
   # remove generated python files
-  rm -rf "${pkgdir}/usr/lib/python3.6/site-packages/"{constantly,incremental}
+  rm -rf "${pkgdir}/usr/lib/python2.7/site-packages/"{constantly,incremental}
   # remove xdmf cmake config file
   rm -rf "${pkgdir}/usr/XdmfConfig.cmake"
 



More information about the arch-commits mailing list