On Thu, May 14, 2020 at 07:45:44AM -0600, Todd C. Miller wrote: > --- > Codespell is a source code spell checker.
> Fix common misspellings in text files. It's designed primarily for > checking misspelled words in source code, but it can be used with > other files as well. > --- > I've tried to follow some of the existing python ports with respect > to python3. Let me know if I've goofed anything up :-) Attached is my counter-proposal. It seems to be just a program that is run, not a library, so just have it be textproc/codespell. I also had to add some dependencies for it to work properly. They don't list it in setup.py or setup.cfg but it needs devel/py-chardet as a RUN_DEPENDS and devel/py-test-cov for a TEST_DEPENDS. One test also depends on it being already installed so I made it have a self-dependency. Since it's not going to be py-codespell, I switched to MODPY_DEFAULT_VERSION_3 rather than having the FLAVOR. All tests pass on amd64 and sparc64. --Kurt
codespell.tgz
Description: application/tar-gz