rpms/seekwatcher/devel seekwatcher-0.12-new-matplotlib.patch, NONE, 1.1 seekwatcher.spec, 1.5, 1.6
Eric Sandeen
sandeen at fedoraproject.org
Tue Jun 30 15:49:27 UTC 2009
Author: sandeen
Update of /cvs/pkgs/rpms/seekwatcher/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9619
Modified Files:
seekwatcher.spec
Added Files:
seekwatcher-0.12-new-matplotlib.patch
Log Message:
* Tue Jun 30 2009 Eric Sandeen <sandeen at redhat.com> - 0.12-3
- Updates for new matplotlib
seekwatcher-0.12-new-matplotlib.patch:
--- NEW FILE seekwatcher-0.12-new-matplotlib.patch ---
On Rawhide I'm getting these errors:
DeprecationWarning: Use 'handletextpad' instead of 'handletextsep'.
DeprecationWarning: Use 'borderpad' instead of 'pad'.
DeprecationWarning: Use 'labelspacing' instead of 'labelsep'.
due to this in matplotlib:
# Take care the deprecated keywords
deprecated_kwds = {"pad":"borderpad",
"labelsep":"labelspacing",
"handlelen":"handlelength",
"handletextsep":"handletextpad",
"axespad":"borderaxespad"}
and the below seems to fix it right up (and make the graphs
look right again...) I don't know what implications this
has (if any) for older matplotlib...
Signed-off-by: Eric Sandeen <sandeen at redhat.com>
---
-- seekwatcher.orig 2009-03-19 15:21:53.993371450 -0500
+++ seekwatcher 2009-03-19 15:23:33.511500429 -0500
@@ -956,9 +956,9 @@
# the bottom graph gets xticks, set it here
a.set_xlabel('Time (seconds)')
if options.label:
- a.legend(loc=(1.01, 0.5), shadow=True, pad=0.5, numpoints=2,
- handletextsep = 0.005,
- labelsep = 0.01,
+ a.legend(loc=(1.01, 0.5), shadow=True, borderpad=0.5, numpoints=2,
+ handletextpad = 0.005,
+ labelspacing = 0.01,
prop=FontProperties(size='x-small') )
# next is the seek count graph
@@ -980,9 +980,9 @@
a.set_ylabel('Seeks / sec')
if options.label:
- a.legend(loc=(1.01, 0.5), shadow=True, pad=0.5, numpoints=2,
- handletextsep = 0.005,
- labelsep = 0.01,
+ a.legend(loc=(1.01, 0.5), shadow=True, borderpad=0.5, numpoints=2,
+ handletextpad = 0.005,
+ labelspacing = 0.01,
prop=FontProperties(size='x-small') )
# and the optional IO graph
@@ -1008,9 +1008,9 @@
ticks.append(yzoommax)
a.set_yticks(ticks)
a.set_yticklabels( [ str(int(x/2048)) for x in ticks ] )
- a.legend(loc=(1.01, 0.5), shadow=True, pad=0.3, numpoints=1,
- handletextsep = 0.005,
- labelsep = 0.01,
+ a.legend(loc=(1.01, 0.5), shadow=True, borderpad=0.3, numpoints=1,
+ handletextpad = 0.005,
+ labelspacing = 0.01,
markerscale = 1.1,
prop=FontProperties(size='x-small') )
a.set_ylim(yzoommin, yzoommax)
Index: seekwatcher.spec
===================================================================
RCS file: /cvs/pkgs/rpms/seekwatcher/devel/seekwatcher.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- seekwatcher.spec 26 Feb 2009 00:25:09 -0000 1.5
+++ seekwatcher.spec 30 Jun 2009 15:48:57 -0000 1.6
@@ -1,7 +1,7 @@
Summary: Utility for visualizing block layer IO patterns and performance
Name: seekwatcher
Version: 0.12
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2
BuildArch: noarch
Group: Development/System
@@ -12,6 +12,8 @@ BuildRequires: python
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0: seekwatcher-0.12-new-matplotlib.patch
+
%description
Seekwatcher generates graphs from blktrace runs to help visualize IO patterns
and performance. It can plot multiple blktrace runs together, making it easy
@@ -22,6 +24,7 @@ information about IO patterns.
%prep
%setup -q
+%patch0 -p1
%install
rm -rf %{buildroot}
@@ -40,6 +43,9 @@ rm -rf %{buildroot}
/usr/bin/*
%changelog
+* Tue Jun 30 2009 Eric Sandeen <sandeen at redhat.com> - 0.12-3
+- Updates for new matplotlib
+
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list