public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: "Nikolaj Sjujskij" <sterkrig@myopera.com>
Cc: gentoo-python@lists.gentoo.org, python@gentoo.org
Subject: Re: [gentoo-python] [PATCH python-r1 2/2] Introduce PYTHON_COMPAT_OVERRIDE to make testing easier.
Date: Thu, 21 Mar 2013 11:27:42 +0100	[thread overview]
Message-ID: <20130321112742.6913a594@pomiocik> (raw)
In-Reply-To: <op.wuaa1zvgh7emz2@verkdatorn.npdb>

[-- Attachment #1: Type: text/plain, Size: 1632 bytes --]

On Thu, 21 Mar 2013 10:59:49 +0400
"Nikolaj Sjujskij" <sterkrig@myopera.com> wrote:

> Den 2013-03-20 23:03:43 skrev Michał Górny <mgorny@gentoo.org>:
> 
> > On Wed, 20 Mar 2013 15:10:18 +0400
> > "Nikolaj Sjujskij" <sterkrig@myopera.com> wrote:
> >
> >> Den 2013-03-18 02:33:50 skrev Michał Górny <mgorny@gentoo.org>:
> >>
> >> > The PYTHON_COMPAT_OVERRIDE can be set in the environment to enforce
> >> > a different set of Python implementations than one being intersection
> >> > of PYTHON_COMPAT and PYTHON_TARGETS.
> >> >
> >> > Due to technical limitations, the variable influences only the list
> >> > of implementations actually used. USE flags, dependencies and other
> >> > metadata variables are not modified.
> >> Push it to tree, please, I'd like to test it :)
> >
> > Pushed :).
>   Yup, works fine: https://bugs.gentoo.org/show_bug.cgi?id=462566
> One minor thing. I have PYTHON_TARGETS="python2_7 python3_3" in make.conf,  
> pylint ebuild has PYTHON_COMPAT=( python2_{5,6,7} python{3_1,3_2} ). I  
> expected `PYTHON_COMPAT_OVERRIDE="python3_3" emerge -1 pylint` to install  
> pylint for both 2.7 and 3.3. Of course, it's "OVERRIDE", not "UPDATE", but  
> still.
>   A minor thing, really, and I won't insist on changing this behaviour.
> Thanks in any case :)

I've decided to go this way since you can't change the IUSE. Therefore,
you can't really control the enabled implementations via USE flags. If
it worked like you suggested, some of the implementations would respect
USE flags and some other wouldn't -- that would be confusing.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]

  reply	other threads:[~2013-03-21 10:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-17 22:33 [gentoo-python] [PATCH python-r1 2/2] Introduce PYTHON_COMPAT_OVERRIDE to make testing easier Michał Górny
2013-03-17 23:37 ` [gentoo-python] " Mike Gilbert
2013-03-20 11:10 ` [gentoo-python] " Nikolaj Sjujskij
2013-03-20 19:03   ` Michał Górny
2013-03-21  6:59     ` Nikolaj Sjujskij
2013-03-21 10:27       ` Michał Górny [this message]
2013-03-21 11:30         ` Nikolaj Sjujskij
2013-03-21 11:55           ` Michał Górny
2013-03-21 12:12             ` Nikolaj Sjujskij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130321112742.6913a594@pomiocik \
    --to=mgorny@gentoo.org \
    --cc=gentoo-python@lists.gentoo.org \
    --cc=python@gentoo.org \
    --cc=sterkrig@myopera.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox