It would be nice to have such support in python-r1/distutils-r1 based ebuilds
python-r1 does not export phase functions. distutils-r1 already calls epatch_user in distutils-r1_python_prepare_all. What more do you want? :)
(In reply to comment #1) > distutils-r1 already calls epatch_user in distutils-r1_python_prepare_all. i have missed that... >python-r1 does not export phase functions. Can this be modified or there is some kind of policy or technical/organizational limitation for this eclass to not export any functions at all?
python-r1 is generally used in ebuilds which define phase functions already. I don't think exporting src_prepare just to call epatch_user would be very useful since it is likely to be overridden anyway. From a policy standpoint, I don't think an eclass that is primarily composed of helper functions should export random phase functions. If you really don't want to define src_prepare yourself, it would be better to utilize base.eclass.
(In reply to comment #3) > python-r1 is generally used in ebuilds which define phase functions already. > I don't think exporting src_prepare just to call epatch_user would be very > useful since it is likely to be overridden anyway. Ok, reasonable
Well, python-r1 is mostly designed to work with build system eclasses like autotools-utils or cmake-utils. Those usually utilize epatch_user on their own.