diff -u objgraph-1.2/debian/control objgraph-1.2/debian/control --- objgraph-1.2/debian/control +++ objgraph-1.2/debian/control @@ -3,8 +3,8 @@ Priority: optional Maintainer: Debian Python Modules Team Uploaders: Stefano Rivera -Build-Depends: python-setuptools, quilt (>= 0.46-7), debhelper (>= 7), python-support (>= 0.8) -Standards-Version: 3.8.3 +Build-Depends: python-setuptools, quilt (>= 0.46-7), debhelper (>= 7.0.50~), python-support (>= 0.8), graphviz +Standards-Version: 3.8.4 Homepage: http://mg.pov.lt/objgraph/ Vcs-Svn: svn://svn.debian.org/python-modules/packages/objgraph/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/objgraph/trunk/ @@ -19,4 +19,5 @@ memory. + . It can be used for counting and statistics, finding root references - responsible for large object trees and export the object reference graphs in + responsible for large object trees and export the object reference graphs in graphviz format. diff -u objgraph-1.2/debian/changelog objgraph-1.2/debian/changelog --- objgraph-1.2/debian/changelog +++ objgraph-1.2/debian/changelog @@ -1,11 +1,11 @@ -objgraph (1.2-1~ppa+3~jaunty) jaunty; urgency=low +objgraph (1.2-1~ppa+4~jaunty) jaunty; urgency=low * Build for jaunty - -- Stefano Rivera Tue, 26 Jan 2010 04:10:30 +0200 + -- Stefano Rivera Fri, 29 Jan 2010 22:50:13 +0200 -objgraph (1.2-1) UNRELEASED; urgency=low +objgraph (1.2-1) unstable; urgency=low * Initial release (Closes: #566798) - -- Stefano Rivera Mon, 25 Jan 2010 04:02:00 +0200 + -- Stefano Rivera Thu, 28 Jan 2010 13:00:22 +0200 diff -u objgraph-1.2/debian/docs objgraph-1.2/debian/docs --- objgraph-1.2/debian/docs +++ objgraph-1.2/debian/docs @@ -1,0 +2 @@ +debian/README.Debian diff -u objgraph-1.2/debian/copyright objgraph-1.2/debian/copyright --- objgraph-1.2/debian/copyright +++ objgraph-1.2/debian/copyright @@ -4,8 +4,8 @@ Source: http://pypi.python.org/pypi/objgraph/ Files: * -Copyright: 2008 Marius Gedminas -License: MIT-1 +Copyright: 2008, Marius Gedminas +License: MIT Released under the MIT licence. . Permission is hereby granted, free of charge, to any person obtaining a copy of diff -u objgraph-1.2/debian/rules objgraph-1.2/debian/rules --- objgraph-1.2/debian/rules +++ objgraph-1.2/debian/rules @@ -4,0 +5,4 @@ + +override_dh_auto_build: + dh_auto_build + python setup.py --build-images diff -u objgraph-1.2/debian/patches/series objgraph-1.2/debian/patches/series --- objgraph-1.2/debian/patches/series +++ objgraph-1.2/debian/patches/series @@ -1 +1,2 @@ +dont-call-xdot.patch excise-setuptools.diff only in patch2: unchanged: --- objgraph-1.2.orig/debian/README.Debian +++ objgraph-1.2/debian/README.Debian @@ -0,0 +1,11 @@ +objgraph for Debian +------------------- + +The version of objgraph in Debian has been modified to never call xdot (as it +isn't available on Debian). + +Module-authors using this should be aware that certain functions (show_graph, +show_refs, show_backrefs) will create files called objects.dot and objects.png +in the current directory. Use these functions with caution. + + -- Stefano Rivera Fri, 29 Jan 2010 19:45:10 +0200 only in patch2: unchanged: --- objgraph-1.2.orig/debian/examples +++ objgraph-1.2/debian/examples @@ -0,0 +1 @@ +sample*-graph.png only in patch2: unchanged: --- objgraph-1.2.orig/debian/patches/dont-call-xdot.patch +++ objgraph-1.2/debian/patches/dont-call-xdot.patch @@ -0,0 +1,33 @@ +Description: xdot isn't packaged for Debian, so don't try to call it. +Author: Stefano Rivera +Forwarded: not-needed +Last-Update: 2010-01-29 + +--- a/objgraph.py ++++ b/objgraph.py +@@ -35,7 +35,7 @@ + + Object boxes are less crammed with useless information (such as IDs). + +-Spawns xdot if it is available. ++Spawns xdot if it is available [Disabled on Debian]. + """ + # Permission is hereby granted, free of charge, to any person obtaining a + # copy of this software and associated documentation files (the "Software"), +@@ -207,6 +207,7 @@ + + Produces a Graphviz .dot file and spawns a viewer (xdot) if one is + installed, otherwise converts the graph to a .png image. ++ The xdot functionality is disabled on Debian. + + Use ``max_depth`` and ``too_many`` to limit the depth and breadth of the + graph. +@@ -333,7 +334,7 @@ + print >> f, "}" + f.close() + print "Graph written to objects.dot (%d nodes)" % nodes +- if os.system('which xdot >/dev/null') == 0: ++ if False: # Disabled on Debian: os.system('which xdot >/dev/null') == 0: + print "Spawning graph viewer (xdot)" + os.system("xdot objects.dot &") + else: