Hello community,

here is the log from the commit of package python-veusz for openSUSE:Factory 
checked in at 2017-12-14 10:57:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-veusz (Old)
 and      /work/SRC/openSUSE:Factory/.python-veusz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-veusz"

Thu Dec 14 10:57:12 2017 rev:38 rq:555889 version:2.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-veusz/python-veusz.changes        
2017-08-23 11:55:30.239887948 +0200
+++ /work/SRC/openSUSE:Factory/.python-veusz.new/python-veusz.changes   
2017-12-14 10:57:26.659727494 +0100
@@ -1,0 +2,23 @@
+Sun Dec 10 02:49:16 UTC 2017 - [email protected]
+
+- Update to verion 2.1.1
+  + Bug fixes:
+    - Fixes an error when exporting a plot with dotted/dashed
+      lines to EMF format.
+    - Errors when using dataset, tools or import plugins are
+      solved.
+    - Command line argument handling has been rewritten, fixing an
+      encoding issue in Windows where some filenames (e.g.
+      Chinese) would not open when double-clicked.
+    - Splash screen is now hidden after a time period, so it does
+      not obscure dialog boxes.
+    - Reintroduce code to use the deprecated sipconfig if possible
+      when building to get details of the SIP installation.
+- Build against PyQt5; adapt BuildRequires/Requires appropriately.
+- Drop manually setting exec permissions to appropriate files;
+  these are now taken care of by the installer.
+- Temporarily disable tests for x86_64: they get indefinitely
+  stuck for unknown reasons, while tests for i586 succeeds without
+  problems.
+
+-------------------------------------------------------------------

Old:
----
  veusz-1.26.1.tar.gz

New:
----
  veusz-2.1.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-veusz.spec ++++++
--- /var/tmp/diff_new_pack.lh90gq/_old  2017-12-14 10:57:27.659679221 +0100
+++ /var/tmp/diff_new_pack.lh90gq/_new  2017-12-14 10:57:27.663679029 +0100
@@ -20,7 +20,7 @@
 %bcond_without  test
 %define         X_display         ":98"
 Name:           python-veusz
-Version:        1.26.1
+Version:        2.1.1
 Release:        0
 Summary:        Scientific plotting library for Python
 # The entire source code is GPL-2.0+ except helpers/src/_nc_cntr.c which is 
Python-2.0
@@ -31,13 +31,12 @@
 Source3:        veusz_256.png
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel}
-BuildRequires:  %{python_module qt4-devel}
+BuildRequires:  %{python_module qt5-devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module sip}
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
-BuildRequires:  libqt4-devel
 BuildRequires:  python-rpm-macros
 BuildRequires:  update-desktop-files
 %if %{with test}
@@ -45,7 +44,7 @@
 BuildRequires:  xorg-x11-server
 %endif
 Requires:       python-numpy
-Requires:       python-qt4
+Requires:       python-qt5
 Recommends:     python-h5py
 %ifpython3
 Recommends:     veusz
@@ -84,6 +83,9 @@
 %setup -q -n veusz-%{version}
 find -name \*~ | xargs rm -f
 
+# Remove hashbangs from eventually non-executable scripts
+sed -E -i "/\#!\/usr\/bin\/env python/d" veusz/veusz_{listen,main}.py
+
 %build
 export CFLAGS="%{optflags}"
 %python_build
@@ -114,29 +116,18 @@
 mkdir -p $odir
 ln -s %{python3_sitearch}/veusz/icons/veusz.svg $odir/veusz.svg
 
-# Mark some scripts as executable.
-# This isn't really needed, but Veusz includes shebangs in scripts
-# so that they can be run when not installed.
-# Do this so that the scripts don't need modification.
-
 # install man pages
 mkdir -p %{buildroot}%{_mandir}/man1
-install -p Documents/veusz.1 Documents/veusz_listen.1 -m 0644 \
-        %{buildroot}%{_mandir}/man1
+install -p Documents/man-page/veusz.1 -m 0644 %{buildroot}%{_mandir}/man1
         
-%{python_expand chmod a+x %{buildroot}%{$python_sitearch}/veusz/veusz_main.py
-chmod a+x %{buildroot}%{$python_sitearch}/veusz/veusz_listen.py
-sed -i "s|#!/usr/bin/env python|#!%__$python|" 
%{buildroot}%{$python_sitearch}/veusz/veusz_main.py
-sed -i "s|#!/usr/bin/env python|#!%__$python|" 
%{buildroot}%{$python_sitearch}/veusz/veusz_listen.py
-sed -i "s|#!/usr/bin/env python|#!%__$python|" 
%{buildroot}%{$python_sitearch}/veusz/examples/embedexample.py
-# Deduplicating files can generate a RPMLINT warning for pyc mtime
-$python -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/veusz/
-$python -O -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/veusz/
-$python -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/veusz/examples/
-$python -O -m compileall -d %{$python_sitearch} 
%{buildroot}%{$python_sitearch}/veusz/examples/
-%fdupes %{buildroot}%{$python_sitearch}
-}
+# Remove an unneeded hidden file from documentation
+rm Documents/manual/html/.buildinfo
+
+%fdupes %{buildroot}%{python_sitearch}/veusz/
+%fdupes %{buildroot}%{python3_sitearch}/veusz/
 
+#FIXME: Tests seem to stall on x86_64 for unknown reasons
+%ifarch i586
 %if %{with test}
 %check
 export DISPLAY=%{X_display}
@@ -147,6 +138,7 @@
 $python -B tests/runselftest.py
 }
 %endif
+%endif
 
 %post -n veusz
 update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
@@ -161,8 +153,7 @@
 %files %{python_files}
 %defattr(-,root,root)
 %doc README AUTHORS COPYING ChangeLog
-%doc Documents/manual.html
-%doc Documents/manimages/
+%doc Documents/manual/html
 %{python_sitearch}/veusz-%{version}-py*.egg-info
 %{python_sitearch}/veusz/
 
@@ -170,13 +161,12 @@
 %defattr(-,root,root)
 %doc AUTHORS COPYING
 %{_bindir}/veusz
-%{_bindir}/veusz_listen
-%{_mandir}/man1/*
 %{_datadir}/applications/veusz.desktop
 %{_datadir}/pixmaps/veusz/
 %dir %{_datadir}/appdata
 %{_datadir}/appdata/veusz.appdata.xml
 %{_datadir}/icons/hicolor/*/apps/veusz.*
 %{_datadir}/mime/packages/veusz.xml
+%{_mandir}/man1/*
 
 %changelog

++++++ veusz-1.26.1.tar.gz -> veusz-2.1.1.tar.gz ++++++
++++ 44431 lines of diff (skipped)



Reply via email to