Document test and patch dependencies.

Closes: https://trac.macports.org/ticket/69848
(cherry picked from commit ebe342ac69)
This commit is contained in:
Joshua Root
2025-08-23 07:29:53 +10:00
parent 6dcb3d766e
commit faf5f4166d
2 changed files with 17 additions and 9 deletions
+9 -4
View File
@@ -25,18 +25,18 @@ port-deps, port-rdeps \- Display a dependency listing for the given port(s)
.sp
.nf
\fBport\fR [\fB\-D\fR \fIportdir\fR] \fBdeps\fR
[\-\-index] [\-\-no\-build]
[\-\-index] [\-\-no\-build] [\-\-no\-test]
[[\fIportname\fR | \fIpseudo\-portname\fR | \fIport\-expressions\fR | \fIport\-url\fR]]
.fi
.sp
.nf
\fBport\fR [\fB\-D\fR \fIportdir\fR] \fBrdeps\fR
[\-\-full] [\-\-index] [\-\-no\-build]
[\-\-full] [\-\-index] [\-\-no\-build] [\-\-no\-test]
[[\fIportname\fR | \fIpseudo\-portname\fR | \fIport\-expressions\fR | \fIport\-url\fR]]
.fi
.SH "DESCRIPTION"
.sp
\fBport deps\fR lists all dependencies of the given port(s), i\&.e\&., the ports that need to be installed to build or use a port\&.
\fBport deps\fR lists all dependencies of the given port(s), i\&.e\&., the ports that need to be installed to build or use a port, or to run its test suite\&.
.sp
\fBport rdeps\fR recursively descends into the dependencies and displays a tree of dependencies for a given port\&.
.SH "OPTIONS"
@@ -54,7 +54,12 @@ Do not read Portfiles, but instead rely solely on the PortIndex information\&. N
.PP
\fB\-\-no\-build\fR
.RS 4
Exclude dependencies only required at build time, i\&.e\&., fetch, extract, and build dependencies\&.
Exclude dependencies only required at build time, i\&.e\&., fetch, extract, patch, and build dependencies\&.
.RE
.PP
\fB\-\-no\-test\fR
.RS 4
Exclude test dependencies\&.
.RE
.SH "GLOBAL OPTIONS"
.sp
+8 -5
View File
@@ -10,18 +10,18 @@ SYNOPSIS
--------
[cmdsynopsis]
*port* [*-D* 'portdir'] *deps*
[--index] [--no-build]
[--index] [--no-build] [--no-test]
[['portname' | 'pseudo-portname' | 'port-expressions' | 'port-url']]
[cmdsynopsis]
*port* [*-D* 'portdir'] *rdeps*
[--full] [--index] [--no-build]
[--full] [--index] [--no-build] [--no-test]
[['portname' | 'pseudo-portname' | 'port-expressions' | 'port-url']]
DESCRIPTION
-----------
*port deps* lists all dependencies of the given port(s), i.e., the ports that
need to be installed to build or use a port.
need to be installed to build or use a port, or to run its test suite.
*port rdeps* recursively descends into the dependencies and displays a tree of
dependencies for a given port.
@@ -38,8 +38,11 @@ OPTIONS
the effects of any variants specified.
*--no-build*::
Exclude dependencies only required at build time, i.e., fetch, extract, and
build dependencies.
Exclude dependencies only required at build time, i.e., fetch, extract,
patch, and build dependencies.
*--no-test*::
Exclude test dependencies.
include::global-flags.txt[]