1
0

Accepting request 196017 from devel:languages:python

updated to 1.3.0 (forwarded request 195788 from HighwayStar)

OBS-URL: https://build.opensuse.org/request/show/196017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=25
This commit is contained in:
Tomáš Chvátal 2013-08-23 12:21:14 +00:00 committed by Git OBS Bridge
parent 9fef6e540e
commit 64161eb083
6 changed files with 51 additions and 110 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae57b6d256bef5e064d1463f4691d77f89e372f3187e9dfcd191402e3cdaae96
size 34998477

3
matplotlib-1.3.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e37044911245d7d881ddab0152cfec463c597b9a207c7f87021b8f40e1cbd98
size 42098180

View File

@ -1,24 +0,0 @@
--- setup.py 2012-11-08 11:24:12.000000000 +0900
+++ setup.py.patched 2012-11-12 12:57:31.920643001 +0900
@@ -297,14 +297,14 @@
# We need to skip certain files that have already been
# converted to Python 3.x
filtered = [x for x in files if should_2to3(x, self.build_lib)]
- if sys.platform.startswith('win'):
+ #if sys.platform.startswith('win'):
# doing this in parallel on windows may crash your computer
- [refactor(f) for f in filtered]
- else:
- p = multiprocessing.Pool()
- for i, x in enumerate(p.imap_unordered(refactor, filtered)):
- print("Running 2to3... %.02f%%" %
- (float(i) / len(filtered) * 100.0), end='\r')
+ [refactor(f) for f in filtered]
+ #else:
+ # p = multiprocessing.Pool()
+ # for i, x in enumerate(p.imap_unordered(refactor, filtered)):
+ # print("Running 2to3... %.02f%%" %
+ # (float(i) / len(filtered) * 100.0), end='\r')
print()
print_raw("pymods %s" % py_modules)

View File

@ -1,79 +0,0 @@
# Rename this file to setup.cfg to modify matplotlib's
# build options.
[egg_info]
tag_svn_revision = 1
[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
[provide_packages]
# By default, matplotlib checks for a few dependencies and
# installs them if missing. This feature can be turned off
# by uncommenting the following lines. Acceptible values are:
# True: install, overwrite an existing installation
# False: do not install
# auto: install only if the package is unavailable. This
# is the default behavior
#
## Date/timezone support:
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
# these toolkits requires AGG, the Anti-Grain Geometry library,
# 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
tkagg = True
wxagg = False
#macosx = True
[rc_options]
# User-configurable options
#
# Default backend, one of: Agg, Cairo, CocoaAgg, GTK, GTKAgg, GTKCairo,
# 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
# by default.
#
backend = TkAgg
#
# 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

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Wed Aug 21 05:25:57 UTC 2013 - highwaystar.ru@gmail.com
- update to 1.3.0
- New features:
* xkcd-style sketch plotting
* New eventplot plot type
* Triangular grid interpolation
* Baselines for stackplot
* Rectangular colorbar extensions
* Calling subplot() without arguments
- Drawing:
* Independent alpha values for face and edge colors
* Path effects on lines
* Easier creation of colormap and normalizer for levels with colors
* Full control of the background color
* Improved bbox_inches="tight" functionality
* Initialize a rotated rectangle
- Text:
* Anchored text support
* Better vertical text alignment and multi-line text
* Left and right side axes titles
* Improved manual contour plot label positioning
- Configuration (rcParams)
* Quickly find rcParams
* Changes to font rcParams
- Backends
* WebAgg backend
* Remember save directory
- Documentation and examples:
* Numpydoc docstrings
* Example reorganization
* Examples now use subplots()
- Infrastructure
* Housecleaning
* New setup script
* XDG base directory support
* Catch opening too many figures using pyplot
- for API changes see
http://matplotlib.org/api/api_changes.html#changes-in-1-3
- removed patches needed for python3 package
-------------------------------------------------------------------
Mon Nov 12 04:24:19 UTC 2012 - highwaystar.ru@gmail.com

View File

@ -18,14 +18,14 @@
%define modname matplotlib
Name: python-%{modname}
Version: 1.2.0
Version: 1.3.0
Release: 0
Summary: Plotting Library for Python
License: BSD-2-Clause
Group: Development/Libraries/Python
Url: http://sourceforge.net/projects/%{modname}
Source: %{modname}-%{version}.tar.bz2
Source: %{modname}-%{version}.tar.gz
Source1: %{modname}-setup.cfg
Source2: %{modname}plugin.py
Source3: %{modname}widget.py
@ -39,6 +39,7 @@ BuildRequires: libpng-devel
BuildRequires: python-gtk
BuildRequires: python-gtk-devel
BuildRequires: python-numpy-devel >= 1.2.1
BuildRequires: python-setuptools
BuildRequires: python-tk
BuildRequires: tcl
BuildRequires: tcl-devel
@ -128,9 +129,10 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README.txt CHANGELOG
%doc README.rst CHANGELOG
%doc PKG-INFO TODO CXX examples
%{py_sitedir}/%{modname}-%{version}-py%{py_ver}.egg-info
%{py_sitedir}/%{modname}-%{version}_r0-py%{py_ver}.egg-info
%{py_sitedir}/%{modname}-%{version}_r0-py%{py_ver}-nspkg.pth
%{py_sitedir}/%{modname}/
%{py_sitedir}/mpl_toolkits
%{py_sitedir}/pylab.py