1 |
patrick 09/04/25 17:03:36 |
2 |
|
3 |
Added: PyFoam-py26.patch |
4 |
Log: |
5 |
Initial import from sunrise. Thanks to Oliver Borm for the ebuild and the sunrise people for massaging it into shape. Small python-2.6 fix as upstream tried to use with as a variable name. |
6 |
(Portage version: 2.2_rc31/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-python/PyFoam/files/PyFoam-py26.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyFoam/files/PyFoam-py26.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/PyFoam/files/PyFoam-py26.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: PyFoam-py26.patch |
15 |
=================================================================== |
16 |
diff -Naur PyFoam-0.5.1-old/PyFoam/Basics/GnuplotTimelines.py PyFoam-0.5.1/PyFoam/Basics/GnuplotTimelines.py |
17 |
--- PyFoam-0.5.1-old/PyFoam/Basics/GnuplotTimelines.py 2009-04-25 16:42:38.000000000 +0000 |
18 |
+++ PyFoam-0.5.1/PyFoam/Basics/GnuplotTimelines.py 2009-04-25 16:59:05.000000000 +0000 |
19 |
@@ -14,7 +14,7 @@ |
20 |
timelines, |
21 |
persist=None, |
22 |
raiseit=True, |
23 |
- with="lines", |
24 |
+ style="lines", |
25 |
alternateAxis=[], |
26 |
forbidden=[], |
27 |
start=None, |
28 |
@@ -26,7 +26,7 @@ |
29 |
@type timelines: TimeLineCollection |
30 |
@param persist: Gnuplot window persistst after run |
31 |
@param raiseit: Raise the window at every plot |
32 |
- @param with: how to plot the data (lines, points, steps) |
33 |
+ @param style: how to plot the data (lines, points, steps) |
34 |
@param alternateAxis: list with names that ought to appear on the alternate y-axis |
35 |
@param forbidden: A list with strings. If one of those strings is found in a name, it is not plotted |
36 |
@param start: First time that should be plotted. If undefined everything from the start is plotted |
37 |
@@ -74,7 +74,7 @@ |
38 |
self.set_string("terminal x11"+x11addition) |
39 |
|
40 |
self.data=timelines |
41 |
- self.with=with |
42 |
+ self.style=style |
43 |
|
44 |
self.redo() |
45 |
|
46 |
@@ -97,7 +97,7 @@ |
47 |
|
48 |
self.itemlist=[] |
49 |
for n in names: |
50 |
- it=Data(times,self.data.getValues(n),title=n,with=self.with) |
51 |
+ it=Data(times,self.data.getValues(n),title=n,style=self.style) |
52 |
if n in self.alternate: |
53 |
it.set_option(axes="x1y2") |
54 |
|
55 |
diff -Naur PyFoam-0.5.1-old/PyFoam/Execution/GnuplotRunner.py PyFoam-0.5.1/PyFoam/Execution/GnuplotRunner.py |
56 |
--- PyFoam-0.5.1-old/PyFoam/Execution/GnuplotRunner.py 2009-04-25 16:42:38.000000000 +0000 |
57 |
+++ PyFoam-0.5.1/PyFoam/Execution/GnuplotRunner.py 2009-04-25 17:00:16.000000000 +0000 |
58 |
@@ -83,7 +83,7 @@ |
59 |
if plotIterations: |
60 |
self.plots["iter"]=GnuplotTimelines(self.getAnalyzer("Iterations").lines, |
61 |
persist=persist, |
62 |
- with="steps", |
63 |
+ style="steps", |
64 |
raiseit=raiseit, |
65 |
start=start, |
66 |
end=end) |
67 |
@@ -115,7 +115,7 @@ |
68 |
if plotExecution: |
69 |
self.plots["execution"]=GnuplotTimelines(self.getAnalyzer("Execution").lines, |
70 |
persist=persist, |
71 |
- with="steps", |
72 |
+ style="steps", |
73 |
raiseit=raiseit, |
74 |
start=start, |
75 |
end=end) |