So, I've added some options to get update-plist to work with python2/python3 (specifically MODPY_PYCACHE / MODPY_COMMENT)
It's probably the most complex part of update-plist yet. As discussed with some porters, I'd like update-plist to do a "near perfect" job most of the time. If you're still using scripts to tweak the results on a regular basis, I'd like to know about the issues so they can get fixed. Tip: remember that UPDATE_PLIST_ARGS can be used to enforce some options. And that you can set UPDATE_PLIST_OPTS on the fly to avoid issues (e.g., not checking pkglocatedb each time) As far as I know, known issues are: - update-plist WILL reorder files in alphabetical order. There's no much that can be done about that. - ghc @exec/@unexec are still guessed and not added automatically. I hope to get some @tag for that eventually. I'm not saying it doesn't ever require a few manual tweaks, but anything you're doing in a systematic way warrants analysis, and addition of smarts to update-plist proper.