changeset 29383:95e2e0cab49b

maint: merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 21 Feb 2021 13:44:29 +0100
parents be539c9d29d1 (current diff) 2aa23c8f3ef3 (diff)
children 802ac1a16fee
files
diffstat 1 files changed, 18 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/package.txi	Sun Feb 21 02:49:00 2021 -0500
+++ b/doc/interpreter/package.txi	Sun Feb 21 13:44:29 2021 +0100
@@ -391,18 +391,30 @@
 Optional list of homepages related to the package.
 
 @item Depends
-A list of other Octave packages that this package depends on.  This can
-include dependencies on particular versions, with a format
+A list of other Octave packages that this package depends on.  This can include
+dependencies on particular versions, with the following format:
 
 @example
 Depends: package (>= 1.0.0)
 @end example
 
 @noindent
-Possible operators are @code{<}, @code{<=}, @code{==}, @code{>=} or
-@code{>}.  If the part of the dependency in @code{()} is missing, any
-version of the package is acceptable.  Multiple dependencies can be
-defined as a comma separated list.
+Possible operators are @code{<}, @code{<=}, @code{==}, @code{>=} or @code{>}.
+If the part of the dependency in @code{()} is missing, any version of the
+package is acceptable.  Multiple dependencies can be defined as a comma
+separated list.  This can be used to define a range of versions of a particular
+package:
+
+@example
+Depends: package (>= 1.0.0), package (< 1.5.0)
+@end example
+
+@noindent
+It is also possible to depend on particular versions of Octave core:
+
+@example
+Depends: octave (>= 3.8.0)
+@end example
 
 @item License
 An optional short description of the used license (e.g., GPL version 3