On Sat, 28 Nov 2015 22:14:39 +0100 Ulrich Mueller <u...@gentoo.org> wrote:
> As you may know, we intend to move the functionality of > versionator.eclass to the package manager, possibly in EAPI 7. > The following is what mgorny and myself have come up with, see > bug 482170 [1], especially comments 15 and 16 there. > > Currently there are 15 functions defined in that eclass, and we > believe that it will not be feasible to implement all of them. > However, several of the functions are similar to each other and can > be combined. Two of them, namely get_version_component_range() and > replace_version_separator(), account for the vast majority of what > is used by ebuilds. > > We therefore think that the following three functions would be > sufficient to cover all ebuilds' needs: What's the point, need or advantage in moving this to all-ebuild-scope? Usually eclass refactor/api cleanup are done in a -r{n+1} while deprecating -rn. This would have the advantage that you can quickly post a complete implementation and get wider reviews.