From ebe342ac6921d4db0715f93fa8cf09f1870cf4ef Mon Sep 17 00:00:00 2001 From: Joshua Root Date: Sat, 23 Aug 2025 07:29:53 +1000 Subject: [PATCH] Document test and patch dependencies. Closes: https://trac.macports.org/ticket/69848 --- doc/port-deps.1 | 13 +++++++++---- doc/port-deps.1.txt | 13 ++++++++----- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/doc/port-deps.1 b/doc/port-deps.1 index 272e3ff93..7f5985a25 100644 --- a/doc/port-deps.1 +++ b/doc/port-deps.1 @@ -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 diff --git a/doc/port-deps.1.txt b/doc/port-deps.1.txt index d1fe2febf..f72cdba9e 100644 --- a/doc/port-deps.1.txt +++ b/doc/port-deps.1.txt @@ -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[]