diff -u python2.6-2.6.7/debian/rules python2.6-2.6.7/debian/rules --- python2.6-2.6.7/debian/rules +++ python2.6-2.6.7/debian/rules @@ -607,6 +607,7 @@ rm -f $(d)/usr/bin/python-config mv $(d)/usr/bin/2to3 $(d)/usr/bin/2to3-$(VER) + cp debian/2to3-$(VER).1 $(d)/usr/share/man/man1/2to3-$(VER).1 # : # remove the bsddb stuff # rm -rf $(d)/$(scriptdir)/bsddb diff -u python2.6-2.6.7/debian/changelog python2.6-2.6.7/debian/changelog --- python2.6-2.6.7/debian/changelog +++ python2.6-2.6.7/debian/changelog @@ -1,3 +1,9 @@ +python2.6 (2.6.7-4.1) unstable; urgency=low + + * Add man of 2to3. Copy from python2.7 package. + + -- Nobuhiro Iwamatsu Thu, 25 Aug 2011 16:34:27 +0900 + python2.6 (2.6.7-4) unstable; urgency=low * Fix build on s390x. Closes: #636032. only in patch2: unchanged: --- python2.6-2.6.7.orig/debian/2to3-2.6.1 +++ python2.6-2.6.7/debian/2to3-2.6.1 @@ -0,0 +1,41 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.39.4. +.TH 2TO3-2.6 "1" "May 2011" "2to3-2.6 2.6" "User Commands" +.SH NAME +2to3-2.6 \- manual page for 2to3-2.6 2.6 +.SH SYNOPSIS +.B 2to3 +[\fIoptions\fR] \fIfile|dir \fR... +.SH OPTIONS +.TP +\fB\-h\fR, \fB\-\-help\fR +show this help message and exit +.TP +\fB\-d\fR, \fB\-\-doctests_only\fR +Fix up doctests only +.TP +\fB\-f\fR FIX, \fB\-\-fix\fR=\fIFIX\fR +Each FIX specifies a transformation; default: all +.TP +\fB\-j\fR PROCESSES, \fB\-\-processes\fR=\fIPROCESSES\fR +Run 2to3 concurrently +.TP +\fB\-x\fR NOFIX, \fB\-\-nofix\fR=\fINOFIX\fR +Prevent a transformation from being run +.TP +\fB\-l\fR, \fB\-\-list\-fixes\fR +List available transformations +.TP +\fB\-p\fR, \fB\-\-print\-function\fR +Modify the grammar so that print() is a function +.TP +\fB\-v\fR, \fB\-\-verbose\fR +More verbose logging +.TP +\fB\-\-no\-diffs\fR +Don't show diffs of the refactoring +.TP +\fB\-w\fR, \fB\-\-write\fR +Write back modified files +.TP +\fB\-n\fR, \fB\-\-nobackups\fR +Don't write backups for modified files