[arch-commits] Commit in paraview/trunk (PKGBUILD paraview-vtk-python39.patch)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 19 23:40:33 UTC 2020


    Date: Thursday, November 19, 2020 @ 23:40:32
  Author: foutrelis
Revision: 757855

upgpkg: paraview 5.8.1-3: Python 3.9 rebuild

Added:
  paraview/trunk/paraview-vtk-python39.patch
Modified:
  paraview/trunk/PKGBUILD

-----------------------------+
 PKGBUILD                    |    7 +++++--
 paraview-vtk-python39.patch |   13 +++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-19 23:30:50 UTC (rev 757854)
+++ PKGBUILD	2020-11-19 23:40:32 UTC (rev 757855)
@@ -8,7 +8,7 @@
 pkgname=${_pkg}
 #-${_mpi}
 pkgver=5.8.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Parallel Visualization application using VTK (${_mpi} version)"
 arch=(x86_64)
 url="https://www.paraview.org"
@@ -23,14 +23,17 @@
 conflicts=(vtk)
 source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver/R/-R}.tar.xz"
         paraview-cgns-4.1.patch::https://gitlab.kitware.com/paraview/paraview/-/commit/3d48a287141eb911b4888440e09c262743b4db3c.patch
+        paraview-vtk-python39.patch
         paraview-vtk-freetype-2.10.3.patch)
 sha256sums=('7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034'
             '9760a7ba33c6f46e3cb8dc8d0e2370ee1208d759b3c8c6c304e7e4b366391a13'
+            '9b8f4497050c110df0d087a1b297de738791ad0159f28666fd9f4ae937cd5e83'
             'b547a665eaf980669b929f3a95e61cc8af4892ba3a41441ef98f8487886081ce')
 
 prepare() {
     cd ParaView-v${pkgver/R/-R}
-    patch -p1 -i ../paraview-cgns-4.1.patch
+    patch -Np1 -i ../paraview-cgns-4.1.patch
+    patch -Np1 -i ../paraview-vtk-python39.patch
     # We have a patched libharu
     sed -i "s|2.4.0|2.3.0|" VTK/ThirdParty/libharu/CMakeLists.txt
     # https://bugs.archlinux.org/task/68244

Added: paraview-vtk-python39.patch
===================================================================
--- paraview-vtk-python39.patch	                        (rev 0)
+++ paraview-vtk-python39.patch	2020-11-19 23:40:32 UTC (rev 757855)
@@ -0,0 +1,13 @@
+Index: ParaView-v5.8.0/VTK/CMake/patches/99/FindPython/Support.cmake
+===================================================================
+--- ParaView-v5.8.0.orig/VTK/CMake/patches/99/FindPython/Support.cmake
++++ ParaView-v5.8.0/VTK/CMake/patches/99/FindPython/Support.cmake
+@@ -46,7 +46,7 @@ if (NOT DEFINED _${_PYTHON_PREFIX}_REQUI
+   message (FATAL_ERROR "FindPython: INTERNAL ERROR")
+ endif()
+ if (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL 3)
+-  set(_${_PYTHON_PREFIX}_VERSIONS 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
++  set(_${_PYTHON_PREFIX}_VERSIONS 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+ elseif (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL 2)
+   set(_${_PYTHON_PREFIX}_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
+ else()



More information about the arch-commits mailing list