src_unpack() { unpack ${P}.tar.gz find "${DISTDIR}/" -name "*traineddata-${LANGPACKV}" \ -execdir sh -c 'cp -- "$0" "${S}/tessdata/${0%-*}"' '{}' ';' || die } This can really catch random downloaded files from DISTDIR. I see that it has been fixed in 4.00.00_alpha but it's pmasked.
Yes, my plan was to make most changes in 4.00.00_alpha so it'd get some testing, but 4.00.00 final will not be there for some time (upstream has opened a 3.05 branch with probably another point release soon) I will look into backporting at least this glob change in 3.05*
OK, all current ebuilds in tree updated to use the fixed code from 4.00.00_alpha (I thought the other linguas changes would be needed, but they were not)