On Sat, 29 Mar 2014 11:45:46 +0100
Helmut Jarausch <[email protected]> wrote:
> Unfortunately, this doesn't solve my problem.
>
> If I remove python2_7 from PYTHON_TARGET emerge -auvDN @world
> --backtrack=9001
> fails for those packages which don't support Python3.
>
> But if I keep python2_7 in PYTHON_TARGET then all packages which
> support Python2_7 and Python3_3 are installed twice, once in
> /usr/lib64/python2.7
> and then in /usr/lib64/python3.3
>
> But I'm looking for a means to install packages which do support
> Python3.3
> only for Python3.3 and which installs packages which don't support
> Python3.3
> nevertheless under /usr/lib64/python2.7
It is similar to what I suggested in the first mail, without "single_":
Set these in /etc/portage/package.use like so:
dev-util/eric python_target_python2_7
(Yes, PYTHON_TARGET expands to USE flags.)
The tricky thing about this, per previous mail, that you need to keep
into account that once you set a target on a Python based package, that
it also needs to be set on its Python based dependencies; which means
that if a certain Python based package is 2.x-only, you'll need to
build its dependencies with 2.x too for it to be able to function.
--
With kind regards,
Tom Wijsman (TomWij)
Gentoo Developer
E-mail address : [email protected]
GPG Public Key : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D