Re: [gentoo-dev] [PATCHES] distutils-r1: support 'edefault' in sub-phase functions

2013-05-15 Thread Michał Górny
On Wed, 1 May 2013 22:42:05 +0200 Michał Górny wrote: > To make this more friendly, I would likely to locally introduce > 'edefault' function in the eclass (name can change). The function would > -- similarly to 'default' in regular phase functions -- call > the default code for the sub-phase. I

[gentoo-dev] [PATCHES] distutils-r1: support 'edefault' in sub-phase functions

2013-05-01 Thread Michał Górny
Hi, everyone. This one goes to gentoo-dev since it's a potentially wider idea and I'd like to get other developers opinion on. As you most likely already know, distutils-r1 allows ebuilds to define sub-phase functions like: python_compile() { # commands which will be run for each impl