Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 656488

Summary: dev-python/pyphen: bundles a lot of dictionaries, in multiple copies
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: CONFIRMED ---    
Severity: normal CC: esigra
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/13303
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 251464    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-05-25 13:21:56 UTC
./usr/lib64/python2.7/site-packages/pyphen/dictionaries/
./usr/lib64/python2.7/site-packages/pyphen/dictionaries/hyph_af.dic
./usr/lib64/python2.7/site-packages/pyphen/dictionaries/hyph_af_ZA.dic
./usr/lib64/python2.7/site-packages/pyphen/dictionaries/hyph_bg.dic
./usr/lib64/python2.7/site-packages/pyphen/dictionaries/hyph_bg_BG.dic
./usr/lib64/python2.7/site-packages/pyphen/dictionaries/hyph_ca.dic
./usr/lib64/python2.7/site-packages/pyphen/dictionaries/hyph_cs.dic
...


FWIU, it should work with system dictionaries just fine, so we should look if we can just strip them, or if we need some patching.
Comment 1 Wim Muskee 2019-11-20 21:00:35 UTC
A lot of patching is needed in upstream code to facilitate using system dictionaries without having fallback problems.

The original (linked) PR was changed to at least be able to set which of pyphen's dictionaries are included.
Comment 2 Wim Muskee 2020-01-12 07:55:38 UTC
Updated PR to remove py3.5 and add py3.8, also added test phase and put setuptools in BDEPEND.