* [gentoo-dev] Eclass support for installing shell completions for Click-based Python applications
@ 2024-11-21 14:32 Anna (cybertailor) Vyalkova
0 siblings, 0 replies; only message in thread
From: Anna (cybertailor) Vyalkova @ 2024-11-21 14:32 UTC (permalink / raw
To: gentoo-dev; +Cc: cyber+gentoo
dev-python/click has out-of-the-box support for generating shell
completions:
https://click.palletsprojects.com/en/stable/shell-completion/
Since it's a popular library, multiple packages can benefit from a
streamlined way to generate and install shell completions.
Three most obvious places for this functionality would be:
- A new eclass
I'm leaning towards this option: just write it and leave in ::guru
for everyone to use. I didn't want to start this discussion in the
first place but was asked by a fellow member.
And anyway I don't know how to name such eclass, would like to see
your suggestions...
- shell-completions.eclass
Its name fits the purpose, but it would be a mess to start extending
such a simple eclass.
- distutils-r1.eclass
Something like distutils_enable_sphinx but for shell completions.
I also don't want to discuss implementation details before any code is
written, it would be just empty talk right now.
So, am I right that this functionality should be implemented outside of
any existing eclasses. And if so, how should it be named?
---
(i'm subscribed to this list with '+nomail' option, so remember to cc@
me in replies)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-21 14:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-21 14:32 [gentoo-dev] Eclass support for installing shell completions for Click-based Python applications Anna (cybertailor) Vyalkova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox