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

Bug 298934

Summary: app-portage/eix request for better printing of USE_EXPAND flags
Product: Gentoo Linux Reporter: Vlastimil Babka (Caster) (RETIRED) <caster>
Component: Current packagesAssignee: Martin Väth <martin>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: darkside, sebastian
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-12-30 02:33:18 UTC
Hope I'm using the right way for a bug report and not requesting something that's already there just not default.

Basically I would like more compact and structured way of printing USE_EXPANDed useflags.

Compare output of 'eix mozilla-firefox':
     Installed versions:  3.5.5!s(02:30:36 AM 11/09/2009)(linguas_cs linguas_en -linguas_af -linguas_ar -linguas_be -linguas_bg -linguas_bn -linguas_bn_IN -linguas_ca -linguas_cy -linguas_da -linguas_de -linguas_el -linguas_en_GB -linguas_en_US -linguas_eo -linguas_es -linguas_es_AR -linguas_es_ES -linguas_et -linguas_eu -linguas_fa -linguas_fi -linguas_fr -linguas_fy -linguas_fy_NL -linguas_ga -linguas_ga_IE -linguas_gl -linguas_gu -linguas_gu_IN -linguas_he -linguas_hi -linguas_hi_IN -linguas_hu -linguas_id -linguas_is -linguas_it -linguas_ja -linguas_ka -linguas_kk -linguas_kn -linguas_ko -linguas_ku -linguas_lt -linguas_lv -linguas_mk -linguas_mr -linguas_nb -linguas_nb_NO -linguas_nl -linguas_nn -linguas_nn_NO -linguas_oc -linguas_pa -linguas_pa_IN -linguas_pl -linguas_pt -linguas_pt_BR -linguas_pt_PT -linguas_ro -linguas_ru -linguas_si -linguas_sk -linguas_sl -linguas_sq -linguas_sr -linguas_sv -linguas_sv_SE -linguas_ta -linguas_te -linguas_th -linguas_uk -linguas_vi -linguas_zh -linguas_zh_CN -linguas_zh_TW -restrict-javascript)

emerge -pv mozilla-firefox:
[ebuild   R   ] www-client/mozilla-firefox-3.5.5  USE="alsa custom-optimization dbus java mozdevelop sqlite startup-notification -bindist -gnome -iceweasel -restrict-javascript" LINGUAS="cs en -af -ar -as -be -bg -bn -bn_BD -bn_IN -ca -cy -da -de -el -en_GB -en_US -eo -es -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy -fy_NL -ga -ga_IE -gl -gu -gu_IN -he -hi -hi_IN -hr -hu -id -is -it -ja -ka -kk -kn -ko -ku -lt -lv -mk -ml -mn -mr -nb -nb_NO -nl -nn -nn_NO -oc -or -pa -pa_IN -pl -pt -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW" 45,939 kB

And you should get the idea :)
Thanks.
Comment 1 Martin Väth 2009-12-30 10:29:15 UTC
It is somewhat intentional that eix does practically not treat useflags at all:
The useflag handling (USE_EXPAND is one part of it which BTW could again be
overridden/extended by local settings) is such a complex thing and, moreover,
changes so often, that I have decided that I will not spend time to implement
(and maintain!) it.
So except for the (sorted) output of the IUSE variable in the ebuild and of
the files /var/db/pkg/category/package-version/{,I}USE no other treatment is
planned.
Comment 2 Martin Väth 2010-03-24 21:03:17 UTC
*** Bug 309827 has been marked as a duplicate of this bug. ***