Hello community, here is the log from the commit of package mayavi for openSUSE:Factory checked in at 2019-11-06 13:55:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mayavi (Old) and /work/SRC/openSUSE:Factory/.mayavi.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mayavi" Wed Nov 6 13:55:48 2019 rev:3 rq:744314 version:4.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/mayavi/mayavi.changes 2019-04-24 13:57:36.195980383 +0200 +++ /work/SRC/openSUSE:Factory/.mayavi.new.2990/mayavi.changes 2019-11-06 13:55:50.196138918 +0100 @@ -1,0 +2,67 @@ +Wed Oct 30 19:34:42 UTC 2019 - Todd R <toddrme2...@gmail.com> + +- Fix tvtk doc .desktop file name. +- Make mayavi man file name match executable file name. +- Clean up some spec file formatting. + +------------------------------------------------------------------- +Fri Sep 13 14:50:46 UTC 2019 - Todd R <toddrme2...@gmail.com> + +- Update to Mayavi 4.7.1 + + Fixes + * Fix old pipeline errors in image actor. + * Use the decorator for classmethod + Instead of explicitly calling it in the class definition + * Misc bug fixes + Fixes 3 issues that affect the new release due to changes in traits, pyface etc. + > Fix issue with CTF editor not showing. + > Fix issue with lut editor not launching. + > Fix issue with cut/pasting tree nodes and drag drop onto shell. +- Update to Mayavi 4.7.0 + + Enhancements + * New Jupyter notebook 'ipy' backend which is now the default and + requires that VTK's offscreen support work correctly. This backend + requires ipywidgets and ipyevents. It allows complete interactivity and + behaves almost exactly like a normal UI backend but inside a notebook. + Note that this will still require an xserver or windowing toolkit unless + VTK is compiled to be able to work without those. + * Improve offscreen window creation. + Creating a renderwindow in some configurations can actually make UI + calls. So if EGL is available we try that. Also, when we are using + offscreen rendering we only need a GenericRenderWindowInteractor. + Also add a convenient set method so one can set a different interactor if needed. + * ENH: Feature to disable automatic updates. + This can be very handy at times when the automatic updates can trigger + several changes that are not desirable. For example on certain VTK + calls, internal ModifiedEvents may be fired which will automatically + call the update_traits method which can be wired to other events + triggering problems. In these cases one can use the + `global_disable_update` function to temporarily disable updates. + + Fixes + * Test against ETS packages from source using travis cron jobs. + * Use xenial linux instead of trusty + * add fix for str conversion from bad bytes array + * Fix issue that arises in a few of the mlab sources where when we reset to a + polydata with a smaller number of points. + * FIX: Fix nose leftovers in tests. + * FIX: Escape chars in code. + * Also catch exceptions in generating documentation + * Some UI fixes for ivtk. + This fixes `#734 <https://github.com/enthought/mayavi/issues/734>`_. + * FIX: Fix set_range causing lookup table errors. + * FIX: Fix type check + * FIX: Fix for VTKNoneArray + * If OSMesa is available and user requests an offscreen window, use an + OSOpenGLRenderWindow, this will not require X and can be safely used on + a remote server. + * Fix bug related to SurfaceSource.scalars This bug manifests when the + SurfaceSource object in question does not have a scalars attribute and + many of them do not have this. + * Fix pip installs failing. + * Fix detection of color transfer function. + The original code was written for very old VTK versions but ever since + 5.x we have a get_node_value method that actually provides the values of + the nodes given an index. We now use this instead of the earlier hack. +- Remove upstream-included catch_gen_docs_errors.patch + +------------------------------------------------------------------- Old: ---- catch_gen_docs_errors.patch mayavi-4.6.2.tar.bz2 New: ---- mayavi-4.7.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mayavi.spec ++++++ --- /var/tmp/diff_new_pack.LTbVty/_old 2019-11-06 13:55:51.564140401 +0100 +++ /var/tmp/diff_new_pack.LTbVty/_new 2019-11-06 13:55:51.564140401 +0100 @@ -18,7 +18,7 @@ %define X_display ":98" Name: mayavi -Version: 4.6.2 +Version: 4.7.1 Release: 0 Summary: 3D visualization of scientific data in Python License: BSD-3-Clause AND EPL-1.0 AND LGPL-2.0-or-later AND LGPL-3.0-or-later @@ -27,7 +27,6 @@ Source0: https://files.pythonhosted.org/packages/source/m/mayavi/mayavi-%{version}.tar.bz2 Source1: mayavi.desktop Source2: tvtk_doc.desktop -Patch0: catch_gen_docs_errors.patch # PATCH-FIX-OPENSUSE no_vtk_require.patch -- VTK detection in setuptools fails due to a lack of .egg-info Patch1: no_vtk_require.patch BuildRequires: R-base-devel @@ -56,6 +55,7 @@ Requires: python3-setuptools Requires: python3-tvtk = %{version} Provides: python3-mayavi = %{version} +Recommends: %{name}-jupyter # SECTION test requirements BuildRequires: xorg-x11-server # /SECTION @@ -68,7 +68,7 @@ * A scripting interface in Python, including one-liners, or an object-oriented programming interface. Mayavi integrates with numpy and scipy for 3D plotting and can - even be used in IPython interactively, similarly to Matplotlib. + be used in IPython interactively, similarly to Matplotlib. * Use of the the VTK toolkit. Additionally, Mayavi is a reusable tool that can be embedded in @@ -100,7 +100,7 @@ It is part of the Enthought Tool Suite (ETS). %package doc -Summary: Documentation for %{name} +Summary: Documentation for mayavi Group: Documentation/HTML Requires: %{name} = %{version} @@ -115,9 +115,22 @@ %description -n python3-tvtk-doc Documentation files for the python3-tvtk package. +%package jupyter +Summary: Jupyter notebook backend for mayavi +Requires: jupyter-notebook +Requires: jupyter-ipywidgets +Requires: jupyter-ipyevents +Requires: %{name} = %{version} + +%description jupyter +Interface to allow plotting with mayavi in Jupyter +notebooks. + +This package pulls in the dependencies needed to +run mayavi in a Jupyter notebook. + %prep %setup -q -n mayavi-%{version} -%patch0 -p1 %patch1 -p1 rm -r mayavi.egg-info @@ -127,6 +140,13 @@ # spurious-executable-perm chmod -x mayavi/tests/data/cellsnd.ascii.inp +# non-executable-script +sed -i -e '/^#!\//, 1d' integrationtests/mayavi/*.py +sed -i -e '/^#!\//, 1d' mayavi/tests/*.py +sed -i -e '/^#!\//, 1d' mayavi/tests/csv_files/csv_2_py +sed -i -e '/^#!\//, 1d' mayavi/scripts/*.py +sed -i -e '/^#!\//, 1d' tvtk/setup.py + # env-script-interpreter find . -name \*.py -exec \ sed -i -e '1s@#!\s*%{_bindir}/env\s*python@#!%{_bindir}/python@' '{}' \; @@ -169,7 +189,7 @@ %endif mkdir -p %{buildroot}/%{_mandir}/man1/ -mv docs/mayavi2.man %{buildroot}/%{_mandir}/man1/%{name}.1 +mv docs/mayavi2.man %{buildroot}/%{_mandir}/man1/mayavi2.1 mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/ install -p -m 644 ./docs/source/mayavi/images/mayavi2-48x48.png \ %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/mayavi2.png @@ -200,56 +220,57 @@ %suse_update_desktop_file -i mayavi %suse_update_desktop_file -i tvtk_doc -mkdir -p %{buildroot}%{_docdir}/%{name} -mkdir -p %{buildroot}%{_docdir}/python3-tvtk -cp -r docs/build/mayavi/html %{buildroot}%{_docdir}/%{name}/ +mkdir -p %{buildroot}%{_docdir}/mayavi/ +mkdir -p %{buildroot}%{_docdir}/python3-tvtk/ +cp -r docs/build/mayavi/html %{buildroot}%{_docdir}/mayavi/ cp -r docs/build/tvtk/html %{buildroot}%{_docdir}/python3-tvtk/ -%fdupes %{buildroot}%{_docdir}/%{name}/ +%fdupes %{buildroot}%{_docdir}/mayavi/ %fdupes %{buildroot}%{_docdir}/python3-tvtk/ -%fdupes %{buildroot}%{python3_sitearch}/mayavi +%fdupes %{buildroot}%{python3_sitearch}/mayavi/ %fdupes %{buildroot}%{python3_sitearch}/mayavi-%{version}-py*.egg-info -%fdupes %{buildroot}%{python3_sitearch}/tvtk +%fdupes %{buildroot}%{python3_sitearch}/tvtk/ %fdupes %{buildroot}%{_datadir}/icons/ sed -i "s|\r||g" %{buildroot}%{_docdir}/python3-tvtk/html/objects.inv rm -r %{buildroot}%{python3_sitearch}/{tvtk,mayavi}/html/.buildinfo rm -r %{buildroot}%{_docdir}/{python3-tvtk,mayavi}/html/.buildinfo -python3 -m compileall -d %{python3_sitearch} %{buildroot}%{python3_sitearch}/mayavi -python3 -O -m compileall -d %{python3_sitearch} %{buildroot}%{python3_sitearch}/mayavi -python3 -m compileall -d %{python3_sitearch} %{buildroot}%{python3_sitearch}/tvtk -python3 -O -m compileall -d %{python3_sitearch} %{buildroot}%{python3_sitearch}/tvtk -%fdupes %{buildroot}%{python3_sitearch}/mayavi -%fdupes %{buildroot}%{python3_sitearch}/tvtk +python3 -m compileall -d %{python3_sitearch} %{buildroot}%{python3_sitearch}/mayavi/ +python3 -O -m compileall -d %{python3_sitearch} %{buildroot}%{python3_sitearch}/mayavi/ +python3 -m compileall -d %{python3_sitearch} %{buildroot}%{python3_sitearch}/tvtk/ +python3 -O -m compileall -d %{python3_sitearch} %{buildroot}%{python3_sitearch}/tvtk/ +%fdupes %{buildroot}%{python3_sitearch}/mayavi/ +%fdupes %{buildroot}%{python3_sitearch}/tvtk/ %files %doc README*.* %license LICENSE*.txt image_LICENSE*.txt %{_bindir}/mayavi2 -%{_mandir}/man1/%{name}.1%{?ext_man} +%{_mandir}/man1/mayavi2.1%{?ext_man} %{_datadir}/applications/mayavi.desktop %{python3_sitearch}/mayavi/ %{python3_sitearch}/mayavi-%{version}-py*.egg-info -%exclude %{_docdir}/%{name}/html/ +%exclude %{_docdir}/mayavi/html/ %files -n python3-tvtk %doc README*.* %license LICENSE*.txt image_LICENSE*.txt %{_bindir}/tvtk_doc %{_datadir}/applications/tvtk_doc.desktop -%{_datadir}/icons/hicolor +%{_datadir}/icons/hicolor/ %{python3_sitearch}/tvtk/ %exclude %{_docdir}/python3-tvtk/html/ %files doc -%doc README*.* %license LICENSE*.txt image_LICENSE*.txt -%{_docdir}/%{name}/html/ +%{_docdir}/mayavi/html/ %files -n python3-tvtk-doc -%doc README*.* %license LICENSE*.txt image_LICENSE*.txt %{_docdir}/python3-tvtk/html/ +%files jupyter +%license LICENSE*.txt image_LICENSE*.txt + %changelog ++++++ mayavi-4.6.2.tar.bz2 -> mayavi-4.7.1.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/mayavi/mayavi-4.6.2.tar.bz2 /work/SRC/openSUSE:Factory/.mayavi.new.2990/mayavi-4.7.1.tar.bz2 differ: char 11, line 1 ++++++ mayavi.desktop ++++++ --- /var/tmp/diff_new_pack.LTbVty/_old 2019-11-06 13:55:51.612140453 +0100 +++ /var/tmp/diff_new_pack.LTbVty/_new 2019-11-06 13:55:51.612140453 +0100 @@ -7,4 +7,4 @@ Terminal=false Type=Application Icon=mayavi2 -Categories=GNOME;Education;3DGraphics;X-Science,X-DataVisualization; +Categories=Education;Graphics;3DGraphics;Science;DataVisualization; ++++++ tvtk_doc.desktop ++++++ --- /var/tmp/diff_new_pack.LTbVty/_old 2019-11-06 13:55:51.636140479 +0100 +++ /var/tmp/diff_new_pack.LTbVty/_new 2019-11-06 13:55:51.640140483 +0100 @@ -1,5 +1,5 @@ [Desktop Entry] -Name=Mayavi +Name=TVTK Documentation Comment=TVTK Documentation GenericName=TVTK Documentation Exec=tvtk_doc %U @@ -7,4 +7,4 @@ Terminal=false Type=Application Icon=tvtk_doc -Categories=GNOME;Education;3DGraphics;X-Science,X-DataVisualization; +Categories=Education;Graphics;3DGraphics;Science;DataVisualization;