Hello community,

here is the log from the commit of package python-matplotlib for 
openSUSE:Factory checked in at 2014-07-23 22:07:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-matplotlib (Old)
 and      /work/SRC/openSUSE:Factory/.python-matplotlib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-matplotlib"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-matplotlib/python-matplotlib.changes      
2014-03-30 12:25:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-matplotlib.new/python-matplotlib.changes 
2014-07-24 01:17:10.000000000 +0200
@@ -1,0 +2,15 @@
+Wed Jul 16 14:42:54 UTC 2014 - [email protected]
+
+- Set dummy XDG_RUNTIME_DIR to fix building on openSUSE:Factory
+
+-------------------------------------------------------------------
+Thu Apr 10 16:48:36 UTC 2014 - [email protected]
+
+- install LICENSE directory and fix license tag 
+
+-------------------------------------------------------------------
+Wed Apr  9 09:18:56 UTC 2014 - [email protected]
+
+- add use-setuptools.diff: build against old setuptools as well 
+
+-------------------------------------------------------------------

New:
----
  use-setuptools.diff

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

Other differences:
------------------
++++++ python-matplotlib.spec ++++++
--- /var/tmp/diff_new_pack.B3ADCL/_old  2014-07-24 01:17:12.000000000 +0200
+++ /var/tmp/diff_new_pack.B3ADCL/_new  2014-07-24 01:17:12.000000000 +0200
@@ -20,13 +20,14 @@
 Version:        1.3.1
 Release:        0
 Summary:        Plotting Library for Python
-License:        BSD-2-Clause
+License:        SUSE-Matplotlib
 Group:          Development/Libraries/Python
 Url:            http://sourceforge.net/projects/matplotlib
 Source:         matplotlib-%{version}.tar.gz
 Source1:        matplotlib-setup.cfg
 Source2:        matplotlibplugin.py
 Source3:        matplotlibwidget.py
+Patch0:         use-setuptools.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
 BuildRequires:  fltk-devel
@@ -187,13 +188,20 @@
 
 %prep
 %setup -q -n matplotlib-%{version}
+%patch0
 chmod -x lib/matplotlib/mpl-data/images/*.svg
 
 %build
 cp %{SOURCE1} ./setup.cfg
+%if 0%{?suse_version} > 1310
+export XDG_RUNTIME_DIR=/tmp
+%endif
 python setup.py build
 
 %install
+%if 0%{?suse_version} > 1310
+export XDG_RUNTIME_DIR=/tmp
+%endif
 python setup.py install --root=%{buildroot} --prefix=%{_prefix}
 
 # Install designer plugin
@@ -207,7 +215,7 @@
 
 %files
 %defattr(-,root,root,-)
-%doc README.rst CHANGELOG PKG-INFO TODO CXX examples doc/users/license.rst
+%doc README.rst LICENSE CHANGELOG PKG-INFO TODO CXX examples 
doc/users/license.rst
 %{py_sitedir}/matplotlib-%{version}_r0-py%{py_ver}.egg-info
 %{py_sitedir}/matplotlib-%{version}_r0-py%{py_ver}-nspkg.pth
 %{py_sitedir}/matplotlib/

++++++ use-setuptools.diff ++++++
--- setup.py
+++ setup.py
@@ -5,10 +5,7 @@
 
 from __future__ import print_function, absolute_import
 
-# This needs to be the very first thing to use distribute
-from distribute_setup import use_setuptools
-use_setuptools()
-
+import setuptools
 import sys
 
 # distutils is breaking our sdists for files in symlinked dirs.
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to