* Drew Parsons <dpars...@emerall.com> [2024-11-19 14:28]:
numpy makes it easy for packages to set the required dependency with the dh_numpy3 tool, adding to ${python3:Depends}. Should something like that be done for nanobind, or is your helpers/nanobind_provides.py already providing the means for packages to set the dependency? i.e. I couldn't tell from the source if it's handling the dependency automatically or not.
The magic happens via the auto-generated debian/python3-nanobind.pydist file, which instructs pybuild to depend on nanobind with

  python3-nanobind (>= {api-min-version}), python3-nanobind-abi{abi}

In other words, this should work for any package running dh_python3
and the ${python3:Depends} substitution.

Cheers
Timo


--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature

Reply via email to