vtk: rebuild for Python 3.9

This commit is contained in:
Andrew J. Hesford 2020-10-07 09:56:22 -04:00
parent 3cd46d3a56
commit 3d1b23ffe5

View file

@ -1,7 +1,7 @@
# Template file for 'vtk' # Template file for 'vtk'
pkgname=vtk pkgname=vtk
version=9.0.1 version=9.0.1
revision=2 revision=3
wrksrc=VTK-${version} wrksrc=VTK-${version}
build_style=cmake build_style=cmake
# vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON" # vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON"
@ -60,7 +60,7 @@ vtk-python3_package() {
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/bin/vtkpython vmove usr/bin/vtkpython
vmove usr/lib/python3.8 vmove "${py3_sitelib}"
vmove "usr/lib/lib*Python*.so.*" vmove "usr/lib/lib*Python*.so.*"
vmove "usr/lib/vtk/hierarchy/VTK/vtk*Python*.txt" vmove "usr/lib/vtk/hierarchy/VTK/vtk*Python*.txt"
} }