Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o
Subject: [gentoo-dev] Further changes to multibuild.eclass
Date: Sat, 02 Mar 2013 21:41:54
Message-Id: 1362260530-26141-1-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [RFC] multibuild.eclass -- a generic pluggable framework to handle multi-variant builds by "Michał Górny"
1 Four more patches so far:
2
3 1) print only 'public' part of command-line
4
5 That is, shift over all the arguments starting with an underscore
6 for einfo.
7
8 multibuild_foreach_variant _python_multibuild_wrapper foo
9
10 will be printed as:
11
12 pythonX.Y: foo
13
14
15 2) add a function to run the command for the 'best' (default, preferred)
16 variant.
17
18
19 3) use it to implement multilib_for_best_abi().
20
21 A few ebuilds will happily use it instead of the current hacks.
22
23
24 4) use it to run *_all() phases in distutils-r1.
25
26 This fixes bug 460016 (python_configure_all() doesn't have best-impl if
27 there's no python_configure()).

Replies