[Python-apps-commits] r7793 - in packages (17 files)
varun at users.alioth.debian.org
varun at users.alioth.debian.org
Mon Nov 14 03:30:11 UTC 2011
Date: Monday, November 14, 2011 @ 03:30:07
Author: varun
Revision: 7793
* checking in pytimechart
Added:
packages/pytimechart/
packages/pytimechart/tags/
packages/pytimechart/trunk/
packages/pytimechart/trunk/debian/
packages/pytimechart/trunk/debian/changelog
packages/pytimechart/trunk/debian/compat
packages/pytimechart/trunk/debian/control
packages/pytimechart/trunk/debian/copyright
packages/pytimechart/trunk/debian/orig-tar.sh
packages/pytimechart/trunk/debian/patches/
packages/pytimechart/trunk/debian/patches/ETS4_api.diff
packages/pytimechart/trunk/debian/patches/series
packages/pytimechart/trunk/debian/pycompat
packages/pytimechart/trunk/debian/rules
packages/pytimechart/trunk/debian/source/
packages/pytimechart/trunk/debian/source/format
packages/pytimechart/trunk/debian/watch
Added: packages/pytimechart/trunk/debian/changelog
===================================================================
--- packages/pytimechart/trunk/debian/changelog (rev 0)
+++ packages/pytimechart/trunk/debian/changelog 2011-11-14 03:30:07 UTC (rev 7793)
@@ -0,0 +1,6 @@
+pytimechart (1.0.0~rc1-1) unstable; urgency=low
+
+ * Initial upload
+ * Add patches/ETS4_api.diff to use ETS4.0 API
+
+ -- Varun Hiremath <varun at debian.org> Sun, 13 Nov 2011 18:14:30 -0500
Added: packages/pytimechart/trunk/debian/compat
===================================================================
--- packages/pytimechart/trunk/debian/compat (rev 0)
+++ packages/pytimechart/trunk/debian/compat 2011-11-14 03:30:07 UTC (rev 7793)
@@ -0,0 +1 @@
+7
Added: packages/pytimechart/trunk/debian/control
===================================================================
--- packages/pytimechart/trunk/debian/control (rev 0)
+++ packages/pytimechart/trunk/debian/control 2011-11-14 03:30:07 UTC (rev 7793)
@@ -0,0 +1,24 @@
+Source: pytimechart
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varun at debian.org>
+Build-Depends: debhelper(>= 7.0.50~), python-all, python-setuptools
+Standards-Version: 3.9.2
+XS-Python-Version: >=2.4
+Homepage: http://gitorious.org/pytimechart
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pytimechart/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pytimechart/trunk/
+
+Package: pytimechart
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
+ python-enthoughtbase, python-chaco, python-wxgtk2.8
+XB-Python-Version: ${python:Versions}
+Description: GUI Viewer for Linux kernel traces
+ PyTimechart provides explorability and overall visualization of Linux
+ kernel traces. It is a tool that parses ftrace text traces, and
+ display them with the help of a very powerful dynamic plot framework,
+ python-chaco. The GUI makes the best it can to ease the browsing of
+ huge traces.
+
Added: packages/pytimechart/trunk/debian/copyright
===================================================================
--- packages/pytimechart/trunk/debian/copyright (rev 0)
+++ packages/pytimechart/trunk/debian/copyright 2011-11-14 03:30:07 UTC (rev 7793)
@@ -0,0 +1,47 @@
+Original source available at: http://gitorious.org/pytimechart
+
+Upstream Author: Pierre Tardy <tardyp at gmail.com>
+
+Copyright: © 2005-2011, Pierre Tardy <tardyp at gmail.com> and Contributors
+
+Files: debian/*
+Copyright: © 2011, Varun Hiremath <varun at debian.org>
+License: BSD
+ The Debian packaging information is under the BSD license
+
+Files: *
+Copyright: © Pierre Tardy <tardyp at gmail.com>
+License: BSD
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ The names of The Contributors may not be used to endorse or
+ promote products derived from this software without specific
+ prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: timechart/images/*
+License: GPL-2+
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License 2 can be found in `/usr/share/common-licenses/GPL-2'
Added: packages/pytimechart/trunk/debian/orig-tar.sh
===================================================================
--- packages/pytimechart/trunk/debian/orig-tar.sh (rev 0)
+++ packages/pytimechart/trunk/debian/orig-tar.sh 2011-11-14 03:30:07 UTC (rev 7793)
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $3 $origDir
+ echo "moved $3 to $origDir"
+fi
Property changes on: packages/pytimechart/trunk/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/pytimechart/trunk/debian/patches/ETS4_api.diff
===================================================================
--- packages/pytimechart/trunk/debian/patches/ETS4_api.diff (rev 0)
+++ packages/pytimechart/trunk/debian/patches/ETS4_api.diff 2011-11-14 03:30:07 UTC (rev 7793)
@@ -0,0 +1,243 @@
+Index: pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/actions.py
+===================================================================
+--- pytimechart-1.0.0~rc1.obsolete.0.0823635019633038.orig/timechart/actions.py 2011-09-06 06:06:35.000000000 -0400
++++ pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/actions.py 2011-11-13 18:33:10.000000000 -0500
+@@ -1,6 +1,6 @@
+-from enthought.traits.ui.menu import Action, Menu, Separator
+-from enthought.traits.ui.api import Handler
+-from enthought.pyface.image_resource import ImageResource
++from traitsui.menu import Action, Menu, Separator
++from traitsui.api import Handler
++from pyface.image_resource import ImageResource
+
+
+ actions_doc = None
+Index: pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/backends/ftrace.py
+===================================================================
+--- pytimechart-1.0.0~rc1.obsolete.0.0823635019633038.orig/timechart/backends/ftrace.py 2011-09-06 06:06:35.000000000 -0400
++++ pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/backends/ftrace.py 2011-11-13 18:33:10.000000000 -0500
+@@ -1,7 +1,7 @@
+ import re
+ import sys,os
+ from timechart.plugin import get_plugins_additional_ftrace_parsers
+-from enthought.pyface.api import ProgressDialog
++from pyface.api import ProgressDialog
+
+ # take the TP_printk from the /include/trace/events dir
+ # syntax is event_name, printk, printk_args...
+Index: pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/colors.py
+===================================================================
+--- pytimechart-1.0.0~rc1.obsolete.0.0823635019633038.orig/timechart/colors.py 2011-10-14 11:33:49.000000000 -0400
++++ pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/colors.py 2011-11-13 18:33:10.000000000 -0500
+@@ -1,6 +1,6 @@
+-from enthought.traits.api import Color
+-from enthought.enable.colors import ColorTrait
+-from enthought.kiva.agg import Rgba
++from traits.api import Color
++from enable.colors import ColorTrait
++from kiva.agg import Rgba
+ # hint: use gcolor2 to pick up colors
+ # if you omit several color, it will automatically gradiant...
+ _tc_colors_txt = """
+Index: pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/model.py
+===================================================================
+--- pytimechart-1.0.0~rc1.obsolete.0.0823635019633038.orig/timechart/model.py 2011-10-14 05:22:32.000000000 -0400
++++ pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/model.py 2011-11-13 18:33:10.000000000 -0500
+@@ -5,12 +5,12 @@
+ import numpy as np
+ import traceback
+ import re
+-from enthought.traits.api import HasTraits, Instance, Str, Float,Delegate,\
++from traits.api import HasTraits, Instance, Str, Float,Delegate,\
+ DelegatesTo, Int, Long, Enum, Color, List, Bool, CArray, Property, cached_property, String, Button, Dict
+-from enthought.traits.ui.api import Group, HGroup, Item, View, spring, Handler,VGroup,TableEditor
+-from enthought.enable.colors import ColorTrait
+-from enthought.pyface.image_resource import ImageResource
+-from enthought.pyface.api import ProgressDialog
++from traitsui.api import Group, HGroup, Item, View, spring, Handler,VGroup,TableEditor
++from enable.colors import ColorTrait
++from pyface.image_resource import ImageResource
++from pyface.api import ProgressDialog
+
+ from process_table import process_table_editor
+ import colors
+Index: pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/plot.py
+===================================================================
+--- pytimechart-1.0.0~rc1.obsolete.0.0823635019633038.orig/timechart/plot.py 2011-10-14 05:45:02.000000000 -0400
++++ pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/plot.py 2011-11-13 18:41:31.000000000 -0500
+@@ -1,15 +1,15 @@
+-from enthought.chaco.api import ArrayDataSource, DataRange1D, LinearMapper,BarPlot, LinePlot, \
++from chaco.api import ArrayDataSource, DataRange1D, LinearMapper,BarPlot, LinePlot, \
+ ScatterPlot, PlotAxis, PlotGrid,OverlayPlotContainer, VPlotContainer,add_default_axes, \
+ add_default_grids,VPlotContainer
+-from enthought.chaco.tools.api import PanTool, ZoomTool,RangeSelection,RangeSelectionOverlay
+-from enthought.chaco.api import create_line_plot
+-from enthought.traits.ui.api import View,Item,VGroup,HGroup
+-from enthought.traits.api import HasTraits,DelegatesTo,Trait
+-from enthought.traits.api import Float, Instance, Int,Bool,Str,Unicode,Enum,Button
+-from enthought.chaco.api import AbstractOverlay, BaseXYPlot
+-from enthought.chaco.label import Label
+-from enthought.kiva.traits.kiva_font_trait import KivaFont
+-from enthought.enable.api import black_color_trait, KeySpec
++from chaco.tools.api import PanTool, ZoomTool,RangeSelection,RangeSelectionOverlay
++from chaco.api import create_line_plot
++from traitsui.api import View,Item,VGroup,HGroup
++from traits.api import HasTraits,DelegatesTo,Trait
++from traits.api import Float, Instance, Int,Bool,Str,Unicode,Enum,Button
++from chaco.api import AbstractOverlay, BaseXYPlot
++from chaco.label import Label
++from kiva.trait_defs.kiva_font_trait import KivaFont
++from enable.api import black_color_trait, KeySpec
+
+ from model import tcProject
+ from colors import get_aggcolor_by_id,get_color_id
+@@ -18,9 +18,9 @@
+ from math import log
+ from numpy import array, ndarray,argmax,searchsorted,mean
+ from numpy import array, compress, column_stack, invert, isnan, transpose, zeros,ones
+-from enthought.traits.api import List
+-from enthought.enable.colors import ColorTrait
+-from enthought.pyface.timer import timer
++from traits.api import List
++from enable.colors import ColorTrait
++from pyface.timer import timer
+
+ process_colors=[0x000000,0x555555,0xffff88,0x55ffff,0xAD2D2D, 0xeeeeee,0xeeaaaa,0xaaaaee,0xee0000]
+ class TimeChartOptions(HasTraits):
+Index: pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/plugins/cpuidle.py
+===================================================================
+--- pytimechart-1.0.0~rc1.obsolete.0.0823635019633038.orig/timechart/plugins/cpuidle.py 2011-06-25 08:05:58.000000000 -0400
++++ pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/plugins/cpuidle.py 2011-11-13 18:33:10.000000000 -0500
+@@ -1,7 +1,7 @@
+ from timechart.plugin import *
+ from timechart import colors
+ from timechart.model import tcProcess, _pretty_time
+-from enthought.traits.api import Bool
++from traits.api import Bool
+
+ c_state_table = ["C0","C1","C2","C4","C6","S0i1","S0i3"]
+
+Index: pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/process_table.py
+===================================================================
+--- pytimechart-1.0.0~rc1.obsolete.0.0823635019633038.orig/timechart/process_table.py 2011-05-26 15:16:21.000000000 -0400
++++ pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/process_table.py 2011-11-13 18:33:10.000000000 -0500
+@@ -1,7 +1,7 @@
+ #import timechart.colors as colors
+ import colors
+-from enthought.traits.ui.table_column import ObjectColumn, ExpressionColumn
+-from enthought.traits.ui.api import TableEditor
++from traitsui.table_column import ObjectColumn, ExpressionColumn
++from traitsui.api import TableEditor
+
+ # we subclass ObjectColumn to be able to change the text color depending of whether the Process is shown
+ class coloredObjectColumn(ObjectColumn):
+Index: pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/py2exe_wximports.py
+===================================================================
+--- pytimechart-1.0.0~rc1.obsolete.0.0823635019633038.orig/timechart/py2exe_wximports.py 2011-05-26 15:16:21.000000000 -0400
++++ pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/py2exe_wximports.py 2011-11-13 18:33:10.000000000 -0500
+@@ -1,29 +1,29 @@
+ # for py2exe.
+ try:
+- import enthought.pyface.ui.wx.about_dialog
+- import enthought.pyface.ui.wx.application_window
+- import enthought.pyface.ui.wx.clipboard
+- import enthought.pyface.ui.wx.confirmation_dialog
+- import enthought.pyface.ui.wx.dialog
+- import enthought.pyface.ui.wx.directory_dialog
+- import enthought.pyface.ui.wx.file_dialog
+- import enthought.pyface.ui.wx.gui
+- import enthought.pyface.ui.wx.heading_text
+- import enthought.pyface.ui.wx.image_cache
+- import enthought.pyface.ui.wx.image_resource
+- import enthought.pyface.ui.wx.__init__
+- import enthought.pyface.ui.wx.init
+- import enthought.pyface.ui.wx.ipython_widget
+- import enthought.pyface.ui.wx.message_dialog
+- import enthought.pyface.ui.wx.progress_dialog
+- import enthought.pyface.ui.wx.python_editor
+- import enthought.pyface.ui.wx.python_shell
+- import enthought.pyface.ui.wx.resource_manager
+- import enthought.pyface.ui.wx.splash_screen
+- import enthought.pyface.ui.wx.split_widget
+- import enthought.pyface.ui.wx.system_metrics
+- import enthought.pyface.ui.wx.widget
+- import enthought.pyface.ui.wx.window
+- import enthought.pyface.ui.wx.window
++ import pyface.ui.wx.about_dialog
++ import pyface.ui.wx.application_window
++ import pyface.ui.wx.clipboard
++ import pyface.ui.wx.confirmation_dialog
++ import pyface.ui.wx.dialog
++ import pyface.ui.wx.directory_dialog
++ import pyface.ui.wx.file_dialog
++ import pyface.ui.wx.gui
++ import pyface.ui.wx.heading_text
++ import pyface.ui.wx.image_cache
++ import pyface.ui.wx.image_resource
++ import pyface.ui.wx.__init__
++ import pyface.ui.wx.init
++ import pyface.ui.wx.ipython_widget
++ import pyface.ui.wx.message_dialog
++ import pyface.ui.wx.progress_dialog
++ import pyface.ui.wx.python_editor
++ import pyface.ui.wx.python_shell
++ import pyface.ui.wx.resource_manager
++ import pyface.ui.wx.splash_screen
++ import pyface.ui.wx.split_widget
++ import pyface.ui.wx.system_metrics
++ import pyface.ui.wx.widget
++ import pyface.ui.wx.window
++ import pyface.ui.wx.window
+ except:
+ pass
+Index: pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/timechart.py
+===================================================================
+--- pytimechart-1.0.0~rc1.obsolete.0.0823635019633038.orig/timechart/timechart.py 2011-10-14 11:56:47.000000000 -0400
++++ pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/timechart.py 2011-11-13 18:36:56.000000000 -0500
+@@ -33,7 +33,7 @@
+ def devnull(*args):
+ pass
+ warnings.showwarning = devnull
+- from enthought.kiva.fonttools.font_manager import fontManager, FontProperties
++ from kiva.fonttools.font_manager import fontManager, FontProperties
+ try:
+ font = FontProperties()
+ font.set_name("DejaVu Sans")
+@@ -42,7 +42,7 @@
+ except: # this code will throw exception on ETS4, which has actually fixed fontmanager
+ pass
+
+-from enthought.pyface.api import GUI
++from pyface.api import GUI
+ from window import open_file
+
+
+Index: pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/tools.py
+===================================================================
+--- pytimechart-1.0.0~rc1.obsolete.0.0823635019633038.orig/timechart/tools.py 2011-05-26 15:16:21.000000000 -0400
++++ pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/tools.py 2011-11-13 18:33:10.000000000 -0500
+@@ -1,4 +1,4 @@
+-from enthought.chaco.tools.api import PanTool, ZoomTool, RangeSelection, PanTool
++from chaco.tools.api import PanTool, ZoomTool, RangeSelection, PanTool
+
+ class myZoomTool(ZoomTool):
+ """ a zoom tool which change y range only when control is pressed
+Index: pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/window.py
+===================================================================
+--- pytimechart-1.0.0~rc1.obsolete.0.0823635019633038.orig/timechart/window.py 2011-10-14 10:40:45.000000000 -0400
++++ pytimechart-1.0.0~rc1.obsolete.0.0823635019633038/timechart/window.py 2011-11-13 18:45:16.000000000 -0500
+@@ -1,10 +1,10 @@
+ import sys,os
+-from enthought.traits.api import HasTraits,Str,Button
+-from enthought.traits.ui.api import InstanceEditor,Item,View,HSplit,VSplit,Handler, StatusItem
+-from enthought.traits.ui.menu import Action, MenuBar, ToolBar, Menu, Separator
++from traits.api import HasTraits,Str,Button
++from traitsui.api import InstanceEditor,Item,View,HSplit,VSplit,Handler, StatusItem
++from traitsui.menu import Action, MenuBar, ToolBar, Menu, Separator
+ from model import tcProject
+ from plot import tcPlot, create_timechart_container
+-from enthought.enable.component_editor import ComponentEditor
++from enable.component_editor import ComponentEditor
+ from actions import _create_toolbar_actions, _create_menubar_actions
+
+ __doc__ = """http://packages.python.org/pytimechart/"""
Added: packages/pytimechart/trunk/debian/patches/series
===================================================================
--- packages/pytimechart/trunk/debian/patches/series (rev 0)
+++ packages/pytimechart/trunk/debian/patches/series 2011-11-14 03:30:07 UTC (rev 7793)
@@ -0,0 +1 @@
+ETS4_api.diff
Added: packages/pytimechart/trunk/debian/pycompat
===================================================================
--- packages/pytimechart/trunk/debian/pycompat (rev 0)
+++ packages/pytimechart/trunk/debian/pycompat 2011-11-14 03:30:07 UTC (rev 7793)
@@ -0,0 +1 @@
+2
Added: packages/pytimechart/trunk/debian/rules
===================================================================
--- packages/pytimechart/trunk/debian/rules (rev 0)
+++ packages/pytimechart/trunk/debian/rules 2011-11-14 03:30:07 UTC (rev 7793)
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+%:
+ dh --with python2 $@
+
+override_dh_install:
+ dh_install
+ find debian/pytimechart/ -iname images_license.txt | xargs rm
+
+get-orig-source:
+ -uscan --force-download --rename
Property changes on: packages/pytimechart/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/pytimechart/trunk/debian/source/format
===================================================================
--- packages/pytimechart/trunk/debian/source/format (rev 0)
+++ packages/pytimechart/trunk/debian/source/format 2011-11-14 03:30:07 UTC (rev 7793)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/pytimechart/trunk/debian/watch
===================================================================
--- packages/pytimechart/trunk/debian/watch (rev 0)
+++ packages/pytimechart/trunk/debian/watch 2011-11-14 03:30:07 UTC (rev 7793)
@@ -0,0 +1,4 @@
+version=3
+opts="uversionmangle=s/\.rc/~rc/" \
+http://pypi.python.org/packages/source/p/pytimechart/pytimechart-(.*).tar.gz debian debian/orig-tar.sh
+
More information about the Python-apps-commits
mailing list