On Tue, Jun 2, 2026 at 1:36 AM Stefano Rivera <[email protected]> wrote:
> >That's already quite nice... could it be improved to allow a wildcard
> >like =* to simply take all section? IIRC the syntax of these names
> >like "foo" are anyway restricted by Python (and don't allow *).
>
> Sure... but I don't think I've ever seen a request for something like
> that before. It sounds like you may be the only package that would use
> it.

I think it would be useful to kinda automatically "catch" any newly
added optional dependencies?!
If a maintainer doesn't check the upstream project for any new ones,
adding them via --suggests* /etc. might simply be overlooked.
So I figured it might be good to kinda automatically add any leftovers
as Suggests:.

> >It would of course still be better if any dependency that has been
> >explicitly given in debian/control is excluded... but even the
> >wildcard would be better than "nothing".
>
> That's not an issue. dh_genchanges merges duplicates.

Even if e.g. it's already in Recommends: or Depends: but it would get
added to suggests via a ${python3:Suggests}?
Cause I think we don't wanna have "vertical" duplicates either.

> >Also, am I doing the override correctly? Or do I need to set further
> >options to get the behavior of the "pristine" dh_python?
>
> Looks good to me.

Thanks :-)

> >PS: Why is the --with python3 still needed, if dh-python has anyway
> >"only" dh_python3?
>
> To tell debhelper to run dh_python3. This requirement goes away in
> compat 14.

Ah I see :-)

Thanks,
Philippe

Reply via email to