[Python-modules-commits] r3395 - in /packages/pycallgraph/trunk/debian: changelog patches/01_hashbang_add_to_script.py patches/add_hashbang_to_script.patch pycallgraph-dot.1 rules

jmalonzo-guest at users.alioth.debian.org jmalonzo-guest at users.alioth.debian.org
Fri Oct 5 15:31:57 UTC 2007


Author: jmalonzo-guest
Date: Fri Oct  5 15:31:57 2007
New Revision: 3395

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3395
Log:
packages/pycallgraph: updated patch, fix man page and installation

Added:
    packages/pycallgraph/trunk/debian/patches/add_hashbang_to_script.patch
Removed:
    packages/pycallgraph/trunk/debian/patches/01_hashbang_add_to_script.py
Modified:
    packages/pycallgraph/trunk/debian/changelog
    packages/pycallgraph/trunk/debian/pycallgraph-dot.1
    packages/pycallgraph/trunk/debian/rules

Modified: packages/pycallgraph/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pycallgraph/trunk/debian/changelog?rev=3395&op=diff
==============================================================================
--- packages/pycallgraph/trunk/debian/changelog (original)
+++ packages/pycallgraph/trunk/debian/changelog Fri Oct  5 15:31:57 2007
@@ -4,7 +4,8 @@
   * Change permission to 644 of examples/*.py on install
   * Rename scripts/pycallgraph-dot.py to pycallgraph-dot on install
   * Vcs-Svn, Vcs-Browser, Homepage fields added (Piotr Ożarowski <piotr at debian.org>)
-  * Manual page added
+  * Manual page added; added install directive in rules
+  * Updated patch to add hashbang into scripts/pycallgraph-dot.py
 
  -- Jan Alonzo <jmalonzo at unpluggable.com>  Sat, 6 Oct 2007 01:00:00 +1000
 

Added: packages/pycallgraph/trunk/debian/patches/add_hashbang_to_script.patch
URL: http://svn.debian.org/wsvn/python-modules/packages/pycallgraph/trunk/debian/patches/add_hashbang_to_script.patch?rev=3395&op=file
==============================================================================
--- packages/pycallgraph/trunk/debian/patches/add_hashbang_to_script.patch (added)
+++ packages/pycallgraph/trunk/debian/patches/add_hashbang_to_script.patch Fri Oct  5 15:31:57 2007
@@ -1,0 +1,9 @@
+diff -Nur pycallgraph-0.4.0/scripts/pycallgraph-dot.py pycallgraph-0.4.0.new/scripts/pycallgraph-dot.py
+--- pycallgraph-0.4.0/scripts/pycallgraph-dot.py	2007-10-06 01:19:26.000000000 +1000
++++ pycallgraph-0.4.0.new/scripts/pycallgraph-dot.py	2007-10-06 01:23:50.000000000 +1000
+@@ -1,3 +1,5 @@
++#!/usr/bin/python
++
+ """
+ pycallgraph
+ This script is the command line interface to the pycallgraph make_dot_graph

Modified: packages/pycallgraph/trunk/debian/pycallgraph-dot.1
URL: http://svn.debian.org/wsvn/python-modules/packages/pycallgraph/trunk/debian/pycallgraph-dot.1?rev=3395&op=diff
==============================================================================
--- packages/pycallgraph/trunk/debian/pycallgraph-dot.1 (original)
+++ packages/pycallgraph/trunk/debian/pycallgraph-dot.1 Fri Oct  5 15:31:57 2007
@@ -1,5 +1,5 @@
 .\"                                      Hey, EMACS: -*- nroff -*-
-.TH PYCALLGRAPH-DOT 1 "2007-10-06"
+.TH PYCALLGRAPH-DOT 1 "2007-10-06" "pycallgraph version 0.4.0" "User Commands"
 .\" Some roff macros, for reference:
 .\" .nh        disable hyphenation
 .\" .hy        enable hyphenation
@@ -14,16 +14,16 @@
 pycallgraph-dot \- command-line interface to pycallgraph
 .SH SYNOPSIS
 .B pycallgraph-dot
-[\fIOPTION\fR]... \fBpythonfile \fBimagefile
+[\fIOPTION\fR]... \fIpythonfile \fIimagefile
 .SH DESCRIPTION
 This manual page documents briefly \fBpycallgraph-dot\fP.
 This manual page was written for the Debian distribution
 because the original program does not have a manual page.
 .PP
-\fBpycallgraph\fP is a program that creates callgraphs for python
-programs. \fBpycallgraph-dot is the command line interface to \fBpycallgraph's
-make_dot_graph method, which generates the callgraph and puts it in the given
-imagefile parameter.
+\fIpycallgraph\fP is a program that creates callgraphs for python programs.
+\fBpycallgraph-dot\fP is the command line interface to \fIpycallgraph\fP's
+\fImake_dot_graph\fP method, which generates the callgraph and stores it as an
+image in the specified imagefile.
 .HP
 \fB\-f\fR, \fB\-\-image-format
 .IP
@@ -31,7 +31,7 @@
 .HP
 \fB\-t\fR, \fB\-\-tool
 .IP
-the tool from \fBGraphviz to use. Default: dot
+the tool from \fIGraphviz\fP to use. Default: dot
 .HP
 \fB\-s\fR, \fB\-\-stdlib
 .IP

Modified: packages/pycallgraph/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pycallgraph/trunk/debian/rules?rev=3395&op=diff
==============================================================================
--- packages/pycallgraph/trunk/debian/rules (original)
+++ packages/pycallgraph/trunk/debian/rules Fri Oct  5 15:31:57 2007
@@ -2,13 +2,14 @@
 # -*- makefile -*-
 
 DEB_PYTHON_SYSTEM=pysupport
-DEB_INSTALL_MANPAGES_pycallgraph-dot := debian/pycallgraph-dot.1
 
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/rules/buildcore.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
 
+DEB_INSTALL_MANPAGES_python-pycallgraph := debian/pycallgraph-dot.1
+
 binary-install/python-pycallgraph::
 	mv debian/python-pycallgraph/usr/bin/pycallgraph-dot.py \
 	   debian/python-pycallgraph/usr/bin/pycallgraph-dot




More information about the Python-modules-commits mailing list