Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656488 - dev-python/pyphen: bundles a lot of dictionaries, in multiple copies
Summary: dev-python/pyphen: bundles a lot of dictionaries, in multiple copies
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2018-05-25 13:21 UTC by Michał Górny
Modified: 2020-08-19 19:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.