Package: python2.7
Version: 2.7.3-6
Severity: minor
Tags: patch
Dear Maintainer,
From "groff -b -ww -mandoc -z":
<groff: dh_python2.1>:7: warning: macro `INDENT' not defined
<groff: dh_python2.1>:10: warning: macro `UNINDENT' not defined
Input file is /usr/share/man/man1/dh_python2.1.gz
Macros "INDENT" and "UNINDENT" removed
Full stop at end of a abbreviation protected with '\&'
Word 'depedency' changed to 'dependency'
A comma added before the word 'and'
Start (End) of an ellipsis (and full stop) protected with '\&', if it
starts or ends a 'word'
No line adjustment (.na), if the line gets two many word spaces
Patch:
--- dh_python2.1 2013-10-12 22:54:52.000000000 +0000
+++ dh_python2.1.new 2013-10-13 01:07:15.000000000 +0000
@@ -4,16 +4,9 @@ dh_python2 \- calculates Python dependen
.\" Man page generated from reStructeredText.
.
.SH SYNOPSIS
-.INDENT 0.0
-.INDENT 3.5
dh_python2 \-p PACKAGE [\-V [X.Y][\-][A.B]] DIR_OR_FILE [\-X REGEXPR]
-.UNINDENT
-.UNINDENT
.SH DESCRIPTION
.SS QUICK GUIDE FOR MAINTAINERS
-.INDENT 0.0
-.INDENT 3.5
-.INDENT 0.0
.IP \(bu 2
if necessary, describe supported Python versions via X\-Python\-Version field
in debian/control,
@@ -35,9 +28,6 @@ depend on \fIcdbs (>= 0.4.90)\fP, or:
call \fBdh_python2\fP in the \fIbinary\-*\fP target,
.IP \(bu 2
add \fI${python:Depends}\fP to Depends
-.UNINDENT
-.UNINDENT
-.UNINDENT
.SS NOTES
.sp
In order to support more than one Python version in the same binary package,
@@ -51,11 +41,11 @@ competitors, though.
dh_python2 tries to translate Python dependencies from requires.txt file to
Debian dependencies. Use debian/pydist\-overrides or \-\-no\-guessing\-deps
option
to override it if the guess is incorrect. If you want dh_python2 to generate
-more strict dependencies (f.e. to avoid ABI problems) create
+more strict dependencies (f.e.\& to avoid ABI problems) create
debian/python\-foo.pydist file. See /usr/share/doc/python\-doc/README.PyDist
(provided by python\-doc package) for more information. If the pydist file
contains PEP386 flag or set of (uscan like) rules, dh_python2 will make the
-depedency versioned (version requirements are ignored by default).
+dependency versioned (version requirements are ignored by default).
.SS namespace feature
.sp
dh_python2 parses Egg\(aqs namespace_packages.txt files (in addition to
@@ -66,12 +56,12 @@ packages). It\(aqs still a good idea to
binary packages (even if all other packages use this feature).
.SS private dirs
.sp
-\fI/usr/share/foo\fP, \fI/usr/share/games/foo\fP, \fI/usr/lib/foo\fP and
+\fI/usr/share/foo\fP, \fI/usr/share/games/foo\fP, \fI/usr/lib/foo\fP, and
\fI/usr/lib/games/foo\fP private directories are scanned for Python files
by default (where \fIfoo\fP is binary package name). If your package is
shipping
Python files in some other directory, add another dh_python2 call in
debian/rules with directory name as an argument \- you can use different set of
-options in this call. If you need to change options (f.e. a list of supported
+options in this call. If you need to change options (f.e.\& a list of supported
Python versions) for a private directory that is checked by default, invoke
dh_python2 with \-\-skip\-private option and add another call with a path to
this
directory and new options.
@@ -85,56 +75,47 @@ Use \-\-no\-dbg\-cleaning option to disa
.sp
Files listed in debian/pkg.pyinstall file will be installed as public modules
for all requested Python versions (dh_install doesn\(aqt know about
python\(aqs site\-
-vs. dist\-packages issue).
+vs.\& dist\-packages issue).
.sp
Syntax: \fBpath/to/file [VERSION_RANGE] [NAMESPACE]\fP
.sp
debian directory is automatically removed from the path, so you can place your
files in debian/ directory and install them from this location (if you want to
install them in "debian" namespace, set NAMESPACE to debian). If NAMESPACE is
-set, all listed files will be installed in .../dist\-packages/NAMESPACE/
+set, all listed files will be installed in \&.../dist\-packages/NAMESPACE/
directory.
-.INDENT 0.0
.TP
.B Examples:
-.INDENT 7.0
.IP \(bu 2
-\fBfoo.py\fP installs .../dist\-packages/foo.py for all supported Python
versions
+\fBfoo.py\fP installs \&.../dist\-packages/foo.py for all supported Python
versions
.IP \(bu 2
-\fBfoo/bar.py 2.6\-\fP installs .../dist\-packages/foo/bar.py for versions >=
2.6
+\fBfoo/bar.py 2.6\-\fP installs \&.../dist\-packages/foo/bar.py for versions
>= 2.6
.IP \(bu 2
-\fBfoo/bar.py spam\fP installs .../dist\-packages/spam/bar.py
+\fBfoo/bar.py spam\fP installs \&.../dist\-packages/spam/bar.py
.IP \(bu 2
-\fBdebian/*.py spam.egg 2.5\fP installs
.../python2.5/site\-packages/spam/egg/*.py
+\fBdebian/*.py spam.egg 2.5\fP installs
\&.../python2.5/site\-packages/spam/egg/*.py
files
-.UNINDENT
-.UNINDENT
.SS pyremove files
.sp
If you want to remove some files installed by build system (from all supported
Python versions or only from a subset of these versions), add them to
debian/pkg.pyremove file.
-.INDENT 0.0
.TP
.B Examples:
-.INDENT 7.0
.IP \(bu 2
-\fB*.pth\fP removes .pth files from .../dist\-packages/
+\fB*.pth\fP removes \&.pth files from \&.../dist\-packages/
.IP \(bu 2
-\fBbar/baz.py 2.5\fP removes .../python2.5/site\-packages/bar/baz.py
-.UNINDENT
-.UNINDENT
+\fBbar/baz.py 2.5\fP removes \&.../python2.5/site\-packages/bar/baz.py
.SS overriding supported / default Python versions
.sp
If you want to override system\(aqs list of supported Python versions or the
-default one (f.e. to build a package that includes symlinks for older version
-of Python or compile .py files only for given interpreter version), you can do
-that via \fIDEBPYTHON_SUPPORTED\fP and/or \fIDEBPYTHON_DEFAULT\fP env.
variables.
+default one (f.e.\& to build a package that includes symlinks for older version
+of Python or compile \&.py files only for given interpreter version), you can
do
+that via \fIDEBPYTHON_SUPPORTED\fP and/or \fIDEBPYTHON_DEFAULT\fP env.\&
variables.
.sp
Example: \fB2.5,2.7\fP limits the list of supported Python versions to Python
2.5
and Python 2.7.
.SH OPTIONS
-.INDENT 0.0
.TP
.B \-\-version
show program\(aqs version number and exit
@@ -185,7 +166,7 @@ use this option multiple times to build
.TP
.B \-\-compile\-all
compile all files from given private directory in postinst/rtupdate
-not just the ones provided by the package (i.e. do not pass the \-\-package
+not just the ones provided by the package (i.e.\& do not pass the \-\-package
parameter to pycompile/pyclean)
.TP
.BI \-\-depends\fB= DEPENDS
@@ -219,9 +200,7 @@ use given command as shebang in scripts
.TP
.B \-\-ignore\-shebangs
do not translate shebangs into Debian dependencies
-.UNINDENT
.SH SEE ALSO
-.INDENT 0.0
.IP \(bu 2
/usr/share/doc/python/python\-policy.txt.gz
.IP \(bu 2
@@ -231,9 +210,9 @@ pycompile(1), pyclean(1)
.IP \(bu 2
dh_python3(1), py3compile(1), py3clean(1)
.IP \(bu 2
+.na
Wiki page about converting package to dh_python2:
\fI\%http://wiki.debian.org/Python/TransitionToDHPython2\fP
-.UNINDENT
.\" Generated by docutils manpage writer.
-.\"
+.\"
.
-- System Information:
Debian Release: 7.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
'stable')
Architecture: i386 (i586)
Kernel: Linux 3.2.46-1-rt67-1
Locale: LANG=is_IS, LC_CTYPE=is_IS (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages python2.7 depends on:
ii libbz2-1.0 1.0.6-4
ii libc6 2.13-38
ii libdb5.1 5.1.29-5
ii libexpat1 2.1.0-1
ii libgcc1 1:4.7.2-5
ii libncursesw5 5.9-10
ii libreadline6 6.2+dfsg-0.1
ii libsqlite3-0 3.7.13-1+deb7u1
ii libssl1.0.0 1.0.1e-2
ii libtinfo5 5.9-10
ii mime-support 3.52-1
ii python2.7-minimal 2.7.3-6
python2.7 recommends no packages.
Versions of packages python2.7 suggests:
ii binutils 2.22-8
pn python2.7-doc <none>
-- no debconf information
--
Bjarni I. Gislason
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]