On 10/01/2018 22:44, Jon Turney wrote:
* Add depends: to version descriptions
This is a version-specific list of required packages (as opposed to
requires:, which is per-package, and contains the union of the
dependencies for all versions).
I believe that historical setup versions will either ignore, or can
handle depends: (just containing package names, without version
relations) relatively sanely (see [1] et seq. for details).
On further testing, it's not safe to expose some versions of setup to
'depends:' lines, so these will have to be called 'depends2:' or
suchlike, so they are safely ignored.
(The dependencies of the current version are always used, not the
version actually being installed, so it may install incorrect
dependencies if a non-current version is installed, potentially
resulting in a broken package.)