pack_name – print names of all declared installable packages, provided by a current one.

Description

The method prints names of binary installable packages, provided by current package P, including version, each on new line. These are the names for location of their binary files. Names are taken from combination of BPN and BPV, or from single BP variable, if it is set.

With hello-world-1.0 package and declared BPN like that:

    BPN="helloworld helloworld-docs helloworld-extra"
the output of method will be:
helloworld-1.0
helloworld-docs-1.0
helloworld-extra-1.0

The same BPN, but BPV changed to 2.0:

helloworld-2.0
helloworld-docs-2.0
helloworld-extra-2.0

With hello-world-1.0 and BP:

    BP="hello-1.0.0 extrahello-0.3"
the output of method will be:
hello-1.0.0
extrahello-0.3

Writing

The method does not write to any directories.

Variables

The method uses any-api(7) variables:
P
BP
BPN
BPV

See also

any(1), any-map(7), any-api(7)