As discussed on gentoo-dev currently repoman consider INVALID the useflags set in IUSE for use-expanded variables like linguas_*, video_cards_* and so on, requiring them to be documented either in use.local.desc or use.desc. Unfortunately this way we risk to clutter those two files with lot of useflags because things like LINGUAS has a lot of different values. An alternative solution is to let repoman check into some file called something like linguas.desc for those variables.
Created attachment 78944 [details, diff] portage-2.1_pre4-repoman-extrafiles.patch Don't say I just bitch about that... here is the patch that does just what I was talking about.
This patch worksforme... my only concern would be the potential for an absurd amount of .desc files in profiles/, would a desc profile subdir make sense?
I thought the same atually, probably a desc subdirectory would help.
If we're creating a new directory, perhaps it should be somewhere outside of profiles/, such as metadata/desc. Note that Brian has proposed to move some other files into metadata/. http://thread.gmane.org/gmane.linux.gentoo.portage.devel/906
TBH I don't care where the stuff is going, I just want to be able to make use of that without people going to run toward me.
(In reply to comment #4) > If we're creating a new directory, perhaps it should be somewhere outside of > profiles/, such as metadata/desc. Note that Brian has proposed to move some > other files into metadata/. Ahhh, much better. So skimming over that thread I didn't see any major obstacles to doing this. So the list for now would be: > arch.list > categories > use.desc > use.local.desc > package.mask > updates > thirdpartymirrors plus any use-expand desc files.
Ping?
your patch was commited as is, if it needs to be desc/<files> instead please state so and I will modify it.
(In reply to comment #8) > your patch was commited as is, if it needs to be desc/<files> instead please > state so and I will modify it. > OK I lied, better judgement leaves files in desc/, so the commit was modified for that kind of structure. USE_EXPAND description files in $PORTDIR/profiles/desc/
This is in svn r3057 and released in 2.1_pre8.