PYSUPPORT-PARSEVERSION(1) PYSUPPORT-PARSEVERSION(1)
NAME
pysupport-parseversion - parse python-support version information files
SYNOPSIS
pysupport-parseversion [file.pyversions]
DESCRIPTION
The pysupport-parseversion command takes exactly one argument, which
must be a file containing version information suitable for python-sup
port. Generally the file will be named debian/package.pyversions. If
there is no argument, it will read standard input.
The format of the file is a comma-separated list of python versions or
range of versions. An example is
-2.1,2.4-2.6
which means all versions until 2.1, and versions between 2.4 and 2.6.
OUTPUT
pysupport-parseversion displays the list of python versions supported
by the system that are in the described ranges. In the earlier example,
if versions 2.3 to 2.5 are supported by the system, it will return:
2.4 2.5
OPTIONS
-h, --help
Show summary of options.
--minmax
Also display, on a second line, the minimal and maximal python
version (even not supported) that the file describes.
-l, --long
Long format: prepend the versions with "python".
--pycentral
Parse a pycentral-type version strings instead.
--raw Output the raw input string. This option is useful with --pycen
tral, to produce a suitable .versions file compatible with
python-support.
SEE ALSO
pyversions(1), dh_pysupport(1), update-python-modules(8).
AUTHOR
Josselin Mouette .
18 Jun 2006 PYSUPPORT-PARSEVERSION(1)
|