Hello community, here is the log from the commit of package python-matplotlib for openSUSE:Factory checked in at Thu Aug 18 00:05:47 CEST 2011. -------- --- python-matplotlib/python-matplotlib.changes 2011-02-07 22:24:10.000000000 +0100 +++ python-matplotlib/python-matplotlib.changes 2011-08-15 02:01:00.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Aug 15 02:00:37 CEST 2011 - ro@suse.de + +- fix build for platform == linux3 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- matplotlib-1.0.1-plot_directive.patch matplotlib-linux3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-matplotlib.spec ++++++ --- /var/tmp/diff_new_pack.2W5qS0/_old 2011-08-18 00:04:50.000000000 +0200 +++ /var/tmp/diff_new_pack.2W5qS0/_new 2011-08-18 00:04:50.000000000 +0200 @@ -19,7 +19,7 @@ Name: python-matplotlib Version: 1.0.1 -Release: 1 +Release: 8 License: BSD Group: Development/Libraries/Python @@ -27,7 +27,9 @@ Url: http://sourceforge.net/projects/matplotlib Source: matplotlib-%{version}.tar.bz2 Source1: matplotlib-setup.cfg - +# This patch taken from upstream SVN and will not be needed for releases later than 1.0.1 +Patch0: matplotlib-1.0.1-plot_directive.patch +Patch1: matplotlib-linux3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fltk-devel @@ -105,6 +107,8 @@ %prep %setup -n matplotlib-%{version} +%patch0 -p1 +%patch1 chmod -x lib/matplotlib/mpl-data/images/*.svg %build ++++++ matplotlib-1.0.1-plot_directive.patch ++++++ diff -uNr matplotlib-1.0.1.orig/lib/matplotlib/sphinxext/plot_directive.py matplotlib-1.0.1/lib/matplotlib/sphinxext/plot_directive.py --- matplotlib-1.0.1.orig/lib/matplotlib/sphinxext/plot_directive.py 2011-01-23 05:42:08.000000000 +0900 +++ matplotlib-1.0.1/lib/matplotlib/sphinxext/plot_directive.py 2011-01-23 05:44:48.000000000 +0900 @@ -346,7 +346,7 @@ del options['nofigs'] formats = setup.config.plot_formats - if type(formats) == str: + if type(formats) == str or type(formats) == unicode: formats = eval(formats) fname = os.path.basename(plot_path) ++++++ matplotlib-linux3.patch ++++++ --- doc/mpl_examples/api/font_file.py +++ doc/mpl_examples/api/font_file.py @@ -17,7 +17,7 @@ if sys.platform == 'win32': fpath = 'C:\\Windows\\Fonts\\Tahoma.ttf' -elif sys.platform == 'linux2': +elif sys.platform == 'linux2' or sys.platform == 'linux3': fonts = ['/usr/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf', '/usr/share/fonts/truetype/ttf-liberation/LiberationSans-BoldItalic.ttf', '/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf', --- examples/api/font_file.py +++ examples/api/font_file.py @@ -17,7 +17,7 @@ if sys.platform == 'win32': fpath = 'C:\\Windows\\Fonts\\Tahoma.ttf' -elif sys.platform == 'linux2': +elif sys.platform == 'linux2' or sys.platform == 'linux3': fonts = ['/usr/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf', '/usr/share/fonts/truetype/ttf-liberation/LiberationSans-BoldItalic.ttf', '/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf', --- lib/mpl_examples/api/font_file.py +++ lib/mpl_examples/api/font_file.py @@ -17,7 +17,7 @@ if sys.platform == 'win32': fpath = 'C:\\Windows\\Fonts\\Tahoma.ttf' -elif sys.platform == 'linux2': +elif sys.platform == 'linux2' or sys.platform == 'linux3': fonts = ['/usr/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf', '/usr/share/fonts/truetype/ttf-liberation/LiberationSans-BoldItalic.ttf', '/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf', --- setupext.py +++ setupext.py @@ -53,6 +53,7 @@ 'linux2-hppa' : ['/usr/local', '/usr'], 'linux2-mips' : ['/usr/local', '/usr'], 'linux2-sparc' : ['/usr/local', '/usr'], + 'linux3' : ['/usr/local', '/usr'], 'linux2' : ['/usr/local', '/usr'], 'linux' : ['/usr/local', '/usr',], 'cygwin' : ['/usr/local', '/usr',], ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org