Summary: | dev-python/pyenchant-2.0.0 with app-text/enchant-2.2.3 - src_compile(): ImportError: The 'enchant' C library was not found. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jack <ostroffjh> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/rfk/pyenchant/pull/130 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 629838 |
Description
Jack
2019-03-23 18:02:01 UTC
Turns out the patch is much simpler than I expected - just add the line yield find_library("enchant-2") right after yield find_library("enchant") in enchant/_enchant.py. The URL I added is for the PR to pyenchant, and it can be followed to the patch itself - just the one line addition. I've updated the existing versions to require enchant:0, with which it works. Once there is a pyenchant that can use enchant-2 instead, it should really check for that first, and the dep should be enchant:2 then, as we want to get rid of enchant:0 as soon as possible. I no longer use pyenchangt, but I wonder if this has been resolved with upgrades to pyenchant (currently 3.1.0) and enchant (1.6.1-r1:0 and 2.2.8:2). In the pyenchant ebuild, I see "RDEPEND="app-text/enchant:*"". I still don't use pyenchant, but tried installing recently and had no errors, so perhaps this can be closed? Fixed probably, else Unmaintained? pyenchant is now 3.2.2-r1. Thanks for pinging us. |