I would like to have some basic static code fixing features for repoman: 1. correct date in header like echangelog does it in ChangeLog 2. sort USE flag alphabetically (3. sort DEPs might not be wanted) 4. fixing leading an trailing whitespaces Those came into my mind quickly and I think they could be implemented easily. I would do testing if some does write the code.
5. usedeps
Let's see what dev-portage team thinks about this.
Current repoman releases do: 1) fix the copyright date header It loads the use flags into a python variable, so could perform a sort and save But I'm not as sure about the whitespace, not from detecting/fixing it, but more from the possibility of messing with other intended whitespace and/or specific formatting in other variables.
repoman support has been removed per bug 835013. Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.