Hi Philippe

I assume that you've already seen the --recommends-section=SECTION and --suggests-section=SECTION options for dh_python3?

I don't think filling pyproject.toml with hints would be a nice path forwards - upstreams don't really want to fill their file with Debian-specific hints like this, and so few would do so that having a separate mechanism would be needed in any case.

If setting these options via an override in d/rules is not wanted (for declarative packaging), either a separate file in debian/ or an environment variable set in d/rules is the normal approach.

An alternative option for this case could be to make substvars for each section that can be put into the Recommends or Suggests, something like ${python3:optional-dependencies:dev} ${python3:optional-dependencies:foo} etc.

cheers
Stuart


--
Stuart Prescott   http://www.nanonanonano.net/ [email protected]
Debian Developer  http://www.debian.org/       [email protected]
GPG fingerprint   90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7

Reply via email to