On Mon, Dec 16, 2019 at 2:07 PM Rich Freeman <ri...@gentoo.org> wrote:
>
> On Mon, Dec 16, 2019 at 2:00 PM Helmut Jarausch <jarau...@skynet.be> wrote:
> >
> > Today's updating involves some package which causes rebuilding
> > a package which needs Python2.7 and another one which needs
> > python_single_target_python3_8
> > required by that mysterious @__auto_slot_operator_replace_installed__
> >
> > To emerge the Python2.7 package (Scribus) I do need to set
> > PYTHON_SINGLE_TARGET="python2_7"
> > in /etc/portage/make.conf
> > which makes the whole update fail since the other packages needs
> > PYTHON_SINGLE_TARGET="python3_8"
> >
> > So, what can I brave Gentoo user do?
> >
>
> Set PYTHON_SINGLE_TARGET in package.env and not make.conf.  That is
> definitely a setting that can't be set globally.

Alternatively, you can set it in package.use:

app-office/scribus PYTHON_SINGLE_TARGET: python2_7

If the package supports several python versions, "-*" might come in handy.

app-editors/vim PYTHON_SINGLE_TARGET: -* python3_7

Reply via email to