From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-python+bounces-162-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 4F83B138010
	for <garchives@archives.gentoo.org>; Wed, 26 Sep 2012 06:42:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CAB8821C028;
	Wed, 26 Sep 2012 06:42:44 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 2CEF621C028
	for <gentoo-python@lists.gentoo.org>; Wed, 26 Sep 2012 06:42:44 +0000 (UTC)
Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com [209.85.216.46])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: djc)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 8F33933D864
	for <gentoo-python@lists.gentoo.org>; Wed, 26 Sep 2012 06:42:43 +0000 (UTC)
Received: by qadc26 with SMTP id c26so2566439qad.19
        for <gentoo-python@lists.gentoo.org>; Tue, 25 Sep 2012 23:42:41 -0700 (PDT)
Received: by 10.224.176.144 with SMTP id be16mr45496706qab.83.1348641761438;
 Tue, 25 Sep 2012 23:42:41 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-python@lists.gentoo.org>
List-Help: <mailto:gentoo-python+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-python+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-python+subscribe@lists.gentoo.org>
List-Id: Discussions centering around the Python ecosystem in Gentoo Linux <gentoo-python.gentoo.org>
X-BeenThere: gentoo-python@gentoo.org
X-BeenThere: gentoo-python@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.49.64.98 with HTTP; Tue, 25 Sep 2012 23:42:21 -0700 (PDT)
In-Reply-To: <20120925235918.3a1c7871@pomiocik.lan>
References: <20120925235918.3a1c7871@pomiocik.lan>
From: Dirkjan Ochtman <djc@gentoo.org>
Date: Wed, 26 Sep 2012 08:42:21 +0200
Message-ID: <CAKmKYaDVEZcC08f1Fk5+-ThHwoS-fWkvuuhyv4KGji81jFN1UA@mail.gmail.com>
Subject: [gentoo-python] Re: USE flag dependencies on Python implementation
To: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= <mgorny@gentoo.org>
Cc: gentoo-python@lists.gentoo.org, python@gentoo.org, hasufell@gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 80c4b556-fd62-4854-9bac-50e9f5b27e34
X-Archives-Hash: 373e4ad0c75473388023eeb94d1ba909

On Tue, Sep 25, 2012 at 11:59 PM, Micha=C5=82 G=C3=B3rny <mgorny@gentoo.org=
> wrote:
> What are your opinions, ideas?

Let's not solve it in the eclass, let's solve it in the implementation ebui=
lds.

I.e. cpython, pypy, jython gets all the same flags. If an
implementation unconditionally includes something that's not selected
(i.e. the system has -threads for PyPy), it gets ignored. If a flag is
required that the implementation doesn't support, the ebuild dies at
some early stage (somewhat similar to check-reqs like things).

I think you're massively overthinking this stuff.

Cheers,

Dirkjan