Date: Monday, February 6, 2023 @ 16:51:16
  Author: dvzrv
Revision: 1394724

upgpkg: mayavi 4.8.1-4: Rebuild to fix issue with tests requirement during 
runtime (https://bugs.archlinux.org/task/77385).

Modified:
  mayavi/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-06 16:49:32 UTC (rev 1394723)
+++ PKGBUILD    2023-02-06 16:51:16 UTC (rev 1394724)
@@ -3,7 +3,7 @@
 
 pkgname=mayavi
 pkgver=4.8.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A 3-dimensional visualizer of scientific data"
 arch=('x86_64')
 url="https://github.com/enthought/mayavi";
@@ -73,6 +73,8 @@
   sed -e '/vtk/d; /numpy/d' -i pyproject.toml
   # remove unresolvable runtime requirements
   sed -e '/vtk/d' -i $pkgname/__init__.py
+  # remove requirement for tests during runtime: 
https://github.com/enthought/mayavi/issues/1208
+  sed '/m2_tests/d' -i $pkgname/api.py
 
   # skip vtk 9.1.0 classes which cause segfaults
   patch -Np1 -i ../disable-openvdb-and-openvr.patch

Reply via email to