Group deprecations by package and source file