-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 25/10/12 12:41 PM, hasufell wrote:
> 6. How can I make the python dependencies optional, e.g. that 
> python:3.2 is only pulled in when gtk useflag for this package is
> set?

that's not so much an optional dependency as an enforcement of a
PYHTON_TARGETS, isn't it?  or is it the other way around, ie,
PYTHON_COMPAT="python3.2" is not possible unless USE="+gtk" ?


Afaik the way python-r1 and distutils-r1 is meant to work is that
it'll build for whatever is supplied in PYTHON_TARGETS , in accordance
with whatever is in PYTHON_COMPAT.  It's supposed to be a complete
set, though.  So if python-3.2 is in both TARGETS and COMPAT then it's
built for that, otherwise it isn't.  For your USE=gtk issue , either
you would need to complain via either

REQUIRED_USE="gtk? ( python_targets_python3_2 )"

or

REQUIRED_USE="python_targets_python3_2? ( gtk )"

..depending on which situation applies.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iF4EAREIAAYFAlCJcoUACgkQ2ugaI38ACPA1lgD+KuSlC92KqsnHcePQJhtJCGY2
iXGhvboB2h1qlHoPAEUA/jP/XcWmjaRSjIxtEJMUqq76qqqMCaBwphrMBkbReGVT
=euK2
-----END PGP SIGNATURE-----

Reply via email to