Hello community,

here is the log from the commit of package python-veusz for openSUSE:Factory 
checked in at 2013-11-20 11:28:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-veusz (Old)
 and      /work/SRC/openSUSE:Factory/.python-veusz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-veusz"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-veusz/python-veusz.changes        
2013-07-09 21:11:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-veusz.new/python-veusz.changes   
2013-11-20 11:28:04.000000000 +0100
@@ -1,0 +2,37 @@
+Mon Nov 18 00:44:42 UTC 2013 - badshah...@gmail.com
+
+- Update to version 1.19:
+  + Make code compatible with python3
+  + Separation of python module and resources in source package
+    (packagers may need to consult INSTALL)
+  + Move to v2 of PyQt API
+  + Remove deprecated numpy API from helpers module
+  + Allow FITS dataset names to be blank if prefix/suffix are not
+  + New ast-based code security checker
+  + Picker uses 1-based index for consistency
+  + Allow non-text datasets to be used for labels
+  + Add number->text conversion dataset plugin
+  + Add binning dataset plugin
+  + Add notes properties to document, pages and graphs
+  + Allow more significant figures in float values
+  + Intelligent choice of significant figures when interactively
+    changing axis range
+  + Decrease minimum range of axis
+  + Add notes setting to document, pages and graphs
+  + Bug fixes:
+    - Fix crash if other linked axis not initialized
+    - Fix crash if trying to edit non-editable datasets
+    - Make ignore exception work in error reporting dialog
+    - Renaming datasets, widgets and editing data now allow
+      original text to be edited, rather than being cleared
+    - Fix line positions on broken axes
+  + Packaging changes:
+    - Implement %check section for self tests (requires
+      xorg-x11-server) as recommended by upstream
+    - Use symlinks for resources (icons, etc.) wherever possible
+      instead of editing source-code to modify resource directory
+    - Also install COPYING file in package's resource directory
+      (otherwise the About dialog of the application fails to
+      display the license).
+
+-------------------------------------------------------------------

Old:
----
  veusz-1.18.tar.gz

New:
----
  veusz-1.19.tar.gz

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

Other differences:
------------------
++++++ python-veusz.spec ++++++
--- /var/tmp/diff_new_pack.ZHuVd3/_old  2013-11-20 11:28:05.000000000 +0100
+++ /var/tmp/diff_new_pack.ZHuVd3/_new  2013-11-20 11:28:05.000000000 +0100
@@ -16,13 +16,10 @@
 #
 
 
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-
 %define pyname veusz
 
 Name:           python-veusz
-Version:        1.18
+Version:        1.19
 Release:        0
 # The entire source code is GPL-2.0+ except helpers/src/_nc_cntr.c which is 
Python-2.0
 Summary:        GUI scientific plotting package
@@ -43,6 +40,8 @@
 BuildRequires:  python-setuptools
 BuildRequires:  python-sip
 BuildRequires:  update-desktop-files
+BuildRequires:  xorg-x11-server
+%define         X_display         ":98"
 %{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}}
 Requires:       python-numpy
 Requires:       python-qt4
@@ -64,16 +63,6 @@
 %setup -q -n %{pyname}-%{version}
 find -name \*~ | xargs rm -f
 
-# change path of where to lookup bitmaps
-# this is so we can move the icons out of the python directory
-# and into /usr/share/pixmaps/veusz
-sed -i "/imagedir =/c\\imagedir = '%{_datadir}/pixmaps/veusz'" \
-        ${RPM_BUILD_DIR}/veusz-%{version}/utils/action.py
-
-# change path of where to look for COPYING - should be docdir
-sed -i "/f =/s+utils.veuszDirectory+'%{_docdir}/%{name}'+" \
-        ${RPM_BUILD_DIR}/veusz-%{version}/dialogs/aboutdialog.py
-
 %build
 CFLAGS="%{optflags}"
 python setup.py build
@@ -91,10 +80,14 @@
 
 # move icon files to /usr/share/pixmaps/veusz
 mkdir -p %{buildroot}%{_datadir}/pixmaps/%{pyname}
-mv %{buildroot}%{python_sitearch}/%{pyname}/windows/icons/*.png \
+mv %{buildroot}%{python_sitearch}/%{pyname}/icons/*.png \
         %{buildroot}%{_datadir}/pixmaps/%{pyname}
-mv %{buildroot}%{python_sitearch}/%{pyname}/windows/icons/*.svg \
+mv %{buildroot}%{python_sitearch}/%{pyname}/icons/*.svg \
         %{buildroot}%{_datadir}/pixmaps/%{pyname}
+for i in `ls %{buildroot}%{_datadir}/pixmaps/%{pyname}/`; do
+ln -s  %{_datadir}/pixmaps/%{pyname}/$i \
+          %{buildroot}%{python_sitearch}/%{pyname}/icons/$i ;
+done
 # symlink main veusz icon also into hicolor-icon-theme dir (for desktop file)
 install -m 0644 %{S:3} %{buildroot}%{_datadir}/pixmaps/%{pyname}/veusz_256.png
 for size in 16 32 48 64 128 256; do
@@ -118,6 +111,18 @@
 install -p Documents/veusz.1 Documents/veusz_listen.1 -m 0644 \
         %{buildroot}%{_mandir}/man1
 
+install -m0644 COPYING %{buildroot}%{python_sitearch}/%{pyname}/
+
+%check
+# Problems connectiong to xserver for openSUSE 12.2 and below
+%if 0%{?suse_version} > 1220
+export DISPLAY=%{X_display}
+Xvfb %{X_display} >& Xvfb.log &
+sleep 5
+PYTHONPATH=%{buildroot}%{python_sitearch} \
+           python tests/runselftest.py
+%endif
+
 %fdupes -s %{buildroot}%{py_sitedir}
 %fdupes %{buildroot}%{_datadir}/pixmaps/%{pyname}/
 
@@ -142,7 +147,6 @@
 %files
 %defattr(-,root,root)
 %doc README AUTHORS COPYING ChangeLog
-%doc examples/
 %doc Documents/manual.html
 %doc Documents/manimages/
 %{_bindir}/veusz

++++++ veusz-1.18.tar.gz -> veusz-1.19.tar.gz ++++++
++++ 158405 lines of diff (skipped)


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to