pysupport-parseversion - parse python-support version information files
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
which means all versions until 2.1, and versions between 2.4 and 2.6.
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:
Show summary of options.
Also display, on a second line, the minimal and maximal python
version (even not supported) that the file describes.
Long format: prepend the versions with "python".
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
pyversions(1), dh_pysupport(1), update-python-modules(8).
Josselin Mouette .
18 Jun 2006 PYSUPPORT-PARSEVERSION(1)