Allow limiting accepted implementations in python_setup. This allows
ebuilds to explicitly specify which implementations can be used to
perform specific tasks (e.g. doc build) rather than implicitly relying
on specific implementation preference order.
Example use case:
IUSE="doc"
RDEPEND="doc
Add a DISTUTILS_ALL_SUBPHASE_IMPLS variable that can be used to restrict
implementations for the *_all() sub-phases.
Example use:
IUSE="doc"
RDEPEND="doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )"
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
pkg_setup()
---
eclass/python-r1.eclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 0f73e3c..1ff521b 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -799,6 +799,9 @@ python_setup() {
python_export_best() {
debug-
The attached list notes all of the packages that were added or removed
from the tree, for the week ending 2014-12-14 23:59 UTC.
Removals:
app-emulation/virtinst 2014-12-10 00:01:18 tamiko
games-engines/sarien2014-12-12 23:21:23 mr_bones_
net-zope/zc-bui
The attached list notes all of the packages that were added or removed
from the tree, for the week ending 2014-12-21 23:59 UTC.
Removals:
media-gfx/photo 2014-12-15 13:13:29 yngwin
kde-base/oxygen-fonts 2014-12-17 13:32:07 mrueg
razorqt-base/razorq
The attached list notes all of the packages that were added or removed
from the tree, for the week ending 2014-12-07 23:59 UTC.
Removals:
net-print/foomatic-filters-ppds 2014-12-01 13:36:08 mrueg
app-leechcraft/lc-woodpecker2014-12-05 21:01:41 maksbotan
media-fonts/oxyg
The attached list notes all of the packages that were added or removed
from the tree, for the week ending 2015-01-04 23:59 UTC.
Removals:
dev-libs/libusbhp 2014-12-31 05:21:11 patrick
dev-perl/pgperl 2014-12-31 14:40:52 titanofold
app-admin/rud
The attached list notes all of the packages that were added or removed
from the tree, for the week ending 2014-12-28 23:59 UTC.
Removals:
dev-util/freecode-submit2014-12-22 23:25:35 radhermit
dev-util/freshmeat-submit 2014-12-22 23:25:35 radhermit
virtual/post