Hello community,
here is the log from the commit of package python3-matplotlib for
openSUSE:Factory checked in at 2014-07-18 06:40:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-matplotlib (Old)
and /work/SRC/openSUSE:Factory/.python3-matplotlib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-matplotlib"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-matplotlib/python3-matplotlib.changes
2013-10-24 14:12:33.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python3-matplotlib.new/python3-matplotlib.changes
2014-07-18 06:41:18.000000000 +0200
@@ -1,0 +2,20 @@
+Wed Jul 16 18:52:44 UTC 2014 - [email protected]
+
+- license update: SUSE-Matplotlib
+ JD Hunter license is Matplotlib
+
+-------------------------------------------------------------------
+Wed Jul 16 14:42:54 UTC 2014 - [email protected]
+
+- Set dummy XDG_RUNTIME_DIR to fix building on openSUSE:Factory
+
+-------------------------------------------------------------------
+Thu Nov 14 14:52:44 UTC 2013 - [email protected]
+
+- Enable all supported backends
+- Split most backends into separate packages
+- Update dependencies
+- Add many optional dependencies
+- Make %setup.py quiet
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-matplotlib.spec ++++++
--- /var/tmp/diff_new_pack.ieeSG4/_old 2014-07-18 06:41:20.000000000 +0200
+++ /var/tmp/diff_new_pack.ieeSG4/_new 2014-07-18 06:41:20.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python3-matplotlib
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,34 +20,65 @@
Version: 1.3.1
Release: 0
Summary: Plotting Library for Python
-License: Python-2.0
+License: SUSE-Matplotlib
Group: Development/Libraries/Python
Url: http://sourceforge.net/projects/matplotlib
Source: matplotlib-%{version}.tar.gz
Source1: matplotlib-setup.cfg
-#BuildRequires: fltk-devel
+BuildRequires: agg-devel
BuildRequires: fdupes
+BuildRequires: fltk-devel
+BuildRequires: freetype2-devel
BuildRequires: gcc-c++
+BuildRequires: ghostscript
+BuildRequires: gtk2-devel
+BuildRequires: libgnome-devel
BuildRequires: libpng-devel
-#BuildRequires: python3-2to3
+BuildRequires: libxml2-tools
+BuildRequires: poppler-tools
+BuildRequires: python3-cairo
+BuildRequires: python3-cairo-devel
+BuildRequires: python3-dateutil
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
BuildRequires: python3-CXX
-BuildRequires: python3-dateutil
+BuildRequires: python3-gobject
+BuildRequires: python3-gobject-cairo
+BuildRequires: python3-gobject-devel
+BuildRequires: python3-gobject2
+BuildRequires: python3-gobject2-devel
BuildRequires: python3-numpy-devel >= 1.2.1
+BuildRequires: python3-qt4-devel
BuildRequires: python3-pyparsing
+# BuildRequires: python3-pyside
+BuildRequires: python3-setuptools
BuildRequires: python3-tk
+BuildRequires: python3-tornado
BuildRequires: python3-tz
-BuildRequires: agg-devel
-#BuildRequires: tcl
-#BuildRequires: tcl-devel
-#BuildRequires: tk
+# BuildRequires: python3-wxWidgets
+BuildRequires: tcl
+BuildRequires: tcl-devel
+BuildRequires: texlive-latex
+%if 0%{?suse_version} > 1220
+BuildRequires: texlive-dvipng
+BuildRequires: texlive-sfmath
+BuildRequires: texlive-tex
+%endif
+BuildRequires: tk
BuildRequires: tk-devel
-#BuildRequires: python3-qt4
+# needed for testing
+BuildRequires: python3-nose
Requires: python3-dateutil
Requires: python3-numpy >= 1.2.1
Requires: python3-pyparsing
-Requires: python3-tz
+Requires: python3-pytz
+Recommends: ghostscript
+Recommends: inkscape
+Recommends: libxml2-tools
+Recommends: poppler-tools
+Recommends: texlive-dvipng
+Recommends: texlive-latex
+Recommends: texlive-sfmath
+Recommends: texlive-tex
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -57,14 +88,87 @@
scripts, the python and ipython shell (ala matlab or mathematica), web
application servers, and six graphical user interface toolkits.
+%package gtk2
+Summary: GTK2 backends for %{name}
+License: BSD-2-Clause
+Group: Development/Libraries/Python
+Requires: %{name} = %{version}
+Requires: python3-gobject2
+
+%description gtk2
+This package includes the GTK2-based gdk, gtk, gtkagg, and
+gtkcairo backends for the %{name} plotting package
+
+%package gtk3
+Summary: GTK3 backends for %{name}
+License: BSD-2-Clause
+Group: Development/Libraries/Python
+Requires: %{name} = %{version}
+Requires: python3-cairo
+Requires: python3-gobject
+Requires: python3-gobject-cairo
+
+%description gtk3
+This package includes the GTK3-based gtk3, gtk3agg, and
+gtk3cairo backends for the %{name} plotting package
+
+%package qt4
+Summary: Qt4 backends for %{name}
+License: BSD-2-Clause
+Group: Development/Libraries/Python
+Requires: %{name} = %{version}
+# Requires: python3-pyside
+Requires: python3-qt4
+
+%description qt4
+This package includes the Qt4-based pyqt4 and pyside backends
+for the %{name} plotting package
+
+%package designer
+Summary: Qt Designer plugin for %{name}
+License: MIT
+Group: Development/Libraries/Python
+Requires: %{name}-qt4 = %{version}
+Requires: qt-creator
+
+%description designer
+This is a plugin and widget to let you use %{name}
+plots as widget in PyQt4 GUIs using Qt Designer
+
+This plugin comes from Python(x,y)
+
%package tk
-Summary: Tk backend for python-matplotlib
+Summary: Tk backend for %{name}
+License: BSD-2-Clause
Group: Development/Libraries/Python
Requires: %{name} = %{version}
Requires: python3-tk
%description tk
-Tk backend for python-matplotlib plotting package
+This package includes the Tk-based tkagg backend
+for the %{name} plotting package
+
+%package web
+Summary: Web backend for %{name}
+License: BSD-2-Clause
+Group: Development/Libraries/Python
+Requires: %{name} = %{version}
+Requires: python3-tornado
+
+%description web
+This package includes the browser-based webagg backend
+for the %{name} plotting package
+
+%package wx
+Summary: WxWidgets backend for %{name}
+License: BSD-2-Clause
+Group: Development/Libraries/Python
+Requires: %{name} = %{version}
+Requires: python3-wxWidgets
+
+%description wx
+This package includes the wxWidgets-based wxagg backend
+for %{name} plotting package
%prep
%setup -q -n matplotlib-%{version}
@@ -72,12 +176,20 @@
%build
cp %{SOURCE1} ./setup.cfg
+%if 0%{?suse_version} > 1310
+export XDG_RUNTIME_DIR=/tmp
+%endif
python3 setup.py build
%install
+%if 0%{?suse_version} > 1310
+export XDG_RUNTIME_DIR=/tmp
+%endif
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix}
%fdupes %{buildroot}%{python3_sitearch}
+%fdupes %{buildroot}%{py_sitedir}/matplotlib/tests/baseline_images/
+
%files
%defattr(-,root,root,-)
%doc README.rst CHANGELOG TODO CXX examples
@@ -87,16 +199,71 @@
%{python3_sitearch}/mpl_toolkits/
%{python3_sitearch}/pylab.py*
%{python3_sitearch}/__pycache__/pylab.cpython-*.pyc
+%exclude %{python3_sitearch}/matplotlib/backends/backend_cairo.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_macosx.*
+%exclude %{python3_sitearch}/matplotlib/backends/windowing.*
+# %exclude %{python3_sitearch}/matplotlib/backends/_backend_gdk.so
+# %exclude %{python3_sitearch}/matplotlib/backends/_gtkagg.so
+# %exclude %{python3_sitearch}/matplotlib/backends/_tkagg.so
+%exclude %{python3_sitearch}/matplotlib/backends/backend_cocoaagg.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_gdk.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_gtk.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_gtkagg.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_gtkcairo.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_gtk3.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_gtk3agg.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_gtk3cairo.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_qt4.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_qt4agg.*
%exclude %{python3_sitearch}/matplotlib/backends/backend_tkagg.*
-%exclude
%{python3_sitearch}/matplotlib/backends/__pycache__/backend_tkagg.cpython-*.pyc
+%exclude %{python3_sitearch}/matplotlib/backends/backend_webagg.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_wx.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_wxagg.*
+%exclude %{python3_sitearch}/matplotlib/backends/qt4_compat.*
+%exclude %{python3_sitearch}/matplotlib/backends/qt4_editor/
%exclude %{python3_sitearch}/matplotlib/backends/tkagg.*
-%exclude
%{python3_sitearch}/matplotlib/backends/__pycache__/tkagg.cpython-*.pyc
+%exclude %{python3_sitearch}/matplotlib/backends/web_backend/
+%exclude %{python3_sitearch}/mpl_toolkits/gtktools.py*
+
+%files gtk2
+%defattr(-,root,root,-)
+# %{python3_sitearch}/matplotlib/backends/_backend_gdk.so
+# %{python3_sitearch}/matplotlib/backends/_gtkagg.so
+%{python3_sitearch}/matplotlib/backends/backend_cairo.*
+%{python3_sitearch}/matplotlib/backends/backend_gdk.*
+%{python3_sitearch}/matplotlib/backends/backend_gtk.*
+%{python3_sitearch}/matplotlib/backends/backend_gtkagg.*
+%{python3_sitearch}/matplotlib/backends/backend_gtkcairo.*
+%{python3_sitearch}/mpl_toolkits/gtktools.py*
+
+%files gtk3
+%defattr(-,root,root,-)
+%{python3_sitearch}/matplotlib/backends/backend_gtk3.*
+%{python3_sitearch}/matplotlib/backends/backend_gtk3agg.*
+%{python3_sitearch}/matplotlib/backends/backend_gtk3cairo.*
+
+%files qt4
+%defattr(-,root,root,-)
+%{python3_sitearch}/matplotlib/backends/backend_qt4.*
+%{python3_sitearch}/matplotlib/backends/backend_qt4agg.*
+%{python3_sitearch}/matplotlib/backends/qt4_compat.*
+%{python3_sitearch}/matplotlib/backends/qt4_editor/
%files tk
%defattr(-,root,root,-)
%{python3_sitearch}/matplotlib/backends/backend_tkagg.*
-%{python3_sitearch}/matplotlib/backends/__pycache__/backend_tkagg.cpython-*.pyc
%{python3_sitearch}/matplotlib/backends/tkagg.*
-%{python3_sitearch}/matplotlib/backends/__pycache__/tkagg.cpython-*.pyc
+# %{python3_sitearch}/matplotlib/backends/_tkagg.so
+
+%files web
+%defattr(-,root,root,-)
+%{python3_sitearch}/matplotlib/backends/backend_webagg.*
+%{python3_sitearch}/matplotlib/backends/web_backend/
+
+# %files wx
+# %defattr(-,root,root,-)
+# %{python3_sitearch}/matplotlib/backends/backend_wx.*
+# %{python3_sitearch}/matplotlib/backends/backend_wxagg.*
+
%changelog
++++++ matplotlib-setup.cfg ++++++
--- /var/tmp/diff_new_pack.ieeSG4/_old 2014-07-18 06:41:20.000000000 +0200
+++ /var/tmp/diff_new_pack.ieeSG4/_new 2014-07-18 06:41:20.000000000 +0200
@@ -4,13 +4,24 @@
[egg_info]
tag_svn_revision = 1
+[directories]
+# Uncomment to override the default basedir in setupext.py.
+# This can be a single directory or a comma-delimited list of directories.
+#basedirlist = /usr
+
[status]
# To suppress display of the dependencies and their versions
# at the top of the build log, uncomment the following line:
-#suppress = True
-#
-# Uncomment to insert lots of diagnostic prints in extension code
-#verbose = True
+#suppress = False
+
+[packages]
+# There are a number of subpackages of matplotlib that are considered
+# optional. They are all installed by default, but they may be turned
+# off here.
+#
+tests = True
+sample_data = True
+toolkits = True
[provide_packages]
# By default, matplotlib checks for a few dependencies and
@@ -25,7 +36,6 @@
pytz = False
dateutil = False
-
[gui_support]
# Matplotlib supports multiple GUI toolkits, including Cocoa,
# GTK, Fltk, MacOSX, Qt, Qt4, Tk, and WX. Support for many of
@@ -33,29 +43,43 @@
# which is provided by matplotlib and built by default.
#
# Some backends are written in pure Python, and others require
-# extension code to be compiled. By default, matplotlib checks
-# for these GUI toolkits during installation and, if present,
-# compiles the required extensions to support the toolkit. GTK
-# support requires the GTK runtime environment and PyGTK. Wx
-# support requires wxWidgets and wxPython. Tk support requires
-# Tk and Tkinter. The other GUI toolkits do not require any
-# extension code, and can be used as long as the libraries are
-# installed on your system.
-#
-# You can uncomment any the following lines if you know you do
-# not want to use the GUI toolkit. Acceptible values are:
-# True: build the extension. Exits with a warning if the
-# required dependencies are not available
-# False: do not build the extension
-# auto: build if the required dependencies are available,
-# otherwise skip silently. This is the default
-# behavior
-#
-gtk = False
-gtkagg = False
+# extension code to be compiled. By default, matplotlib checks for
+# these GUI toolkits during installation and, if present, compiles the
+# required extensions to support the toolkit.
+#
+# - GTK 2.x support of any kind requires the GTK runtime environment
+# headers and PyGTK.
+# - Tk support requires Tk development headers and Tkinter.
+# - Mac OSX backend requires the Cocoa headers included with XCode.
+# - Windowing is MS-Windows specific, and requires the "windows.h"
+# header.
+#
+# The other GUI toolkits do not require any extension code, and can be
+# used as long as the libraries are installed on your system --
+# therefore they are installed unconditionally.
+#
+# You can uncomment any the following lines to change this
+# behavior. Acceptible values are:
+#
+# True: build the extension. Exits with a warning if the
+# required dependencies are not available
+# False: do not build the extension
+# auto: build if the required dependencies are available,
+# otherwise skip silently. This is the default
+# behavior
+#
+agg = True
+cairo = True
+gtk = Auto
+gtk3agg = Auto
+gtk3cairo = Auto
+gtkagg = Auto
+pyside = Auto
+qt4agg = Auto
tkagg = True
-wxagg = False
-#macosx = True
+wxagg = Auto
+macosx = False
+windowing = False
[rc_options]
# User-configurable options
@@ -64,16 +88,9 @@
# FltkAgg, MacOSX, Pdf, Ps, QtAgg, Qt4Agg, SVG, TkAgg, WX, WXAgg.
#
# The Agg, Ps, Pdf and SVG backends do not require external
-# dependencies. Do not choose GTK, GTKAgg, GTKCairo, MacOSX, TkAgg or WXAgg
-# if you have disabled the relevent extension modules. Agg will be used
+# dependencies. Do not choose GTK, GTKAgg, GTKCairo, MacOSX, or TkAgg
+# if you have disabled the relevent extension modules. Agg will be used
# by default.
#
-backend = TkAgg
+backend = Agg
#
-# The numerix module was historically used to provide
-# compatibility between the Numeric, numarray, and NumPy array
-# packages. Now that NumPy has emerge as the universal array
-# package for python, numerix is not really necessary and is
-# maintained to provide backward compatibility. Do not change
-# this unless you have a compelling reason to do so.
-#numerix = numpy
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]