commit:     4342b5087bd84cbe64de318c152b5425ec7f8d7b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  2 01:23:23 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun  2 01:23:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4342b508

sci-libs/vtk: delete README from bundled vtkm for now

Avoids collision with paraview. We'll ideally try to get paraview
building with system VTK again but VTK takes a while to build so
anything to prevent collisions for users now is important while
we investigate that possibility.

Bug: https://bugs.gentoo.org/253881
Bug: https://bugs.gentoo.org/793221
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/vtk/vtk-9.0.1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sci-libs/vtk/vtk-9.0.1.ebuild b/sci-libs/vtk/vtk-9.0.1.ebuild
index 848e2fce63d..8c86ad38458 100644
--- a/sci-libs/vtk/vtk-9.0.1.ebuild
+++ b/sci-libs/vtk/vtk-9.0.1.ebuild
@@ -515,6 +515,11 @@ src_install() {
        doenvd "${T}"/40${PN}
 
        use web && webapp_src_install
+
+       # Temporary!
+       # Avoid collision with paraview.
+       # bug #793221
+       rm -rf "${ED}"/usr/share/vtkm-1.5/VTKm{LICENSE.txt,README.md} || die
 }
 
 # webapp.eclass exports these but we want it optional #534036

Reply via email to