]> pd.if.org Git - zpackage/blob - doc/zpm-pkgdeps.8
remove stray debug fprintf
[zpackage] / doc / zpm-pkgdeps.8
1 .TH zpm-pkgdeps 8 2019-02-26 "ZPM 0.3"
2 .SH NAME
3 zpm-pkgdeps \- run pkgdeps
4 .SH SYNOPSIS
5 .B zpm pkgdeps
6 [
7 .BI \-f " pkgfile"
8 ]
9 [
10 .B \-qcL
11 ]
12 [
13 .BI \-s " dep"
14 ]
15 [
16 .BI \-a " dep"
17 ]
18 [
19 .BI \-r " dep"
20 ]
21 .RI [ package ...]
22 .SH DESCRIPTION
23 \fBzpm-pkgdeps\fR
24 manipulates and prints the set of package dependencies of a package.
25 The non-argument \fIpackage\fR is a full or partial package id,
26 and will be looked as if by zpm-findpkg.  A package dependency
27 is a full or partial package id, which is taken as a minimum package
28 version.  After any updates are made, the (new) set of dependencies
29 is printed to stdout on one line.
30 .PP
31 Actions to set, add, or remove dependencies are done in the order
32 of clearing the set, adding dependencies, and then removing dependencies.
33 It is not an error if a dependency to remove is not present.
34 .PP
35 Dependencies are package ids, and thus can't have whitespace or illegal
36 characters.  Illegal characters are not checked for, and whitespace
37 will be interpreted as separating dependencies.
38 .PP
39 In addition to printing package dependencies, library soname dependencies
40 will be printed unless the \-L option is given.
41 .SH OPTIONS
42 .TP
43 .BI \-f package
44 specify the package file to find packages in
45 .TP
46 .B \-q
47 Suppress printing the set of package deps.
48 .TP
49 .B \-c
50 Clear the set of dependencies.
51 .TP
52 .BI \-s " dep"
53 Add a dependency to the set of dependencies to set.  Implies \-c.
54 .TP
55 .BI \-a " dep"
56 Add a dependency to the package.
57 .TP
58 .BI \-r " dep"
59 Remove a dependency from the package.
60 .SH EXAMPLES
61 .TP
62 .B zpm pkgdeps vim
63 List dependencies of the vim package.
64 .SH EXIT STATUS
65 0 on success non zero on failure
66 .SH FILES
67 /var/lib/zpm/local.db
68 .SH ENVIRONMENT
69 ZPMDB
70 .SH AUTHOR
71 Nathan Wagner
72 .SH SEE ALSO
73 .BR zpm (8)
74 .BR zpm-findpkg (8)