On 22/11/2022 18.40, Diane Trout wrote:
On Tue, 2022-11-22 at 18:24 +0100, Andreas Beckmann wrote:

There needs to be either a
   Depends: emacs-el (>= 1:28)
or an equivaent
   Breaks: (emacs-el (<< 1:28)
or the installation must be skipped if emacs is too old.

So it looks like elpa-snakemake depends on the transient package which
is currently elpa-transient and in included in emacs 28.

So what do you think of this instead?

Depends: emacs-el (>= 1:28) | elpa-transient,

Good question. Hmm, well, I know nothing about emacs or its packaging. ;-)

But if emacs-el (or -common?) bundles extensions (or however you call them), especially ones that were previously packaged separately, it should probably have versioned Provides (and maybe versioned Breaks, too) for them. (Cf. perl, perl-base which does the same.)
Not sure whether these should be in -el or -common ...

If these Provides were available, elpa-snakemake wouldn't need to know about the packaging details of other packages and could just use
  Depends: elpa-transient


Andreas

Reply via email to