Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

Debian 4.0

(Etch)

pysupport-parseversions(1)


PYSUPPORT-PARSEVERSION

PYSUPPORT-PARSEVERSION

NAME
SYNOPSIS
DESCRIPTION
OUTPUT
OPTIONS
SEE ALSO
AUTHOR

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-support. 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 −−pycentral, to produce a suitable .versions file compatible with python-support.

SEE ALSO

pyversions(1), dh_pysupport(1), update-python-modules(8).

AUTHOR

Josselin Mouette <joss@debian.org>.



pysupport-parseversions(1)