File: remove-vtk-requires.patch

package info (click to toggle)
mayavi2 4.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,892 kB
  • sloc: python: 49,447; javascript: 32,885; makefile: 129; fortran: 60
file content (27 lines) | stat: -rw-r--r-- 811 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Remove vtk from requirements due to missing metadata
 By default, mayavi attempts to discover its dependencies using
 pkg_resources.  Unfortunately, the Debian vtk package doesn't include the
 necessary metadata.  Thus, we remove this requirement from the package.  The
 package requirement will be enforced by the Debian packaging.
Author: Scott Talbert <swt@techie.net>
Forwarded: not-needed
--- mayavi2.orig/mayavi/__init__.py
+++ mayavi2/mayavi/__init__.py
@@ -18,7 +18,6 @@
     'traitsui>=7.0.0',
     'packaging',
     'importlib_resources; python_version<"3.11"',
-    'vtk',
     'puremagic'
 ]
 
--- mayavi2.orig/mayavi.egg-info/requires.txt
+++ mayavi2/mayavi.egg-info/requires.txt
@@ -7,7 +7,6 @@
 traits>=6.0.0
 traitsui>=7.0.0
 packaging
-vtk
 puremagic
 
 [:python_version < "3.11"]