community/py3-enchant: cannot use anything out of the box
FROM alpine:edge
RUN apk add py3-enchant aspell-en
RUN python3 -c 'import enchant; print(enchant.Broker().list_languages())'
by default, to use an enchant provider, user has to additionally install a respective enchant2-
subpackage
while this approach might be better in terms of disk size, it is not very intuitive, as someone not entirely familiar with how enchant2 works and unaware of the split could spend quite some time debugging why their dictionaries are not loading
this could be solved by either depending on the providers in some weird install_if
way, or just adding a post-install message to py3-enchant