From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-python+bounces-581-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 222EF1381F3
	for <garchives@archives.gentoo.org>; Sat, 19 Oct 2013 08:49:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E3778E0A96;
	Sat, 19 Oct 2013 08:48:59 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D4B23E0A96
	for <gentoo-python@lists.gentoo.org>; Sat, 19 Oct 2013 08:48:58 +0000 (UTC)
Received: from localhost (77-255-21-180.adsl.inetia.pl [77.255.21.180])
	(using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: mgorny)
	by smtp.gentoo.org (Postfix) with ESMTPSA id C262733F05A;
	Sat, 19 Oct 2013 08:48:56 +0000 (UTC)
Date: Sat, 19 Oct 2013 10:48:57 +0200
From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= <mgorny@gentoo.org>
To: gentoo-python@lists.gentoo.org
Cc: python@gentoo.org
Subject: [gentoo-python] Providing a common replacement for python_export_best &
 python*_pkg_setup
Message-ID: <20131019104857.6cd953d0@gentoo.org>
Organization: Gentoo
X-Mailer: Claws Mail 3.9.2-dirty (GTK+ 2.24.22; x86_64-pc-linux-gnu)
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
Content-Type: multipart/signed; micalg=PGP-SHA512;
 boundary="Sig_/AGda7IDe.xMC=C+gB+_T_RY"; protocol="application/pgp-signature"
X-Archives-Salt: 06e8ade4-7852-4dd4-bc28-b37ba0f6f24d
X-Archives-Hash: dc83278004b4694368ef063d9147ca8a

--Sig_/AGda7IDe.xMC=C+gB+_T_RY
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello,

As a result of late doc writing and adding MERGE_TYPE check to
python-any-r1_pkg_setup, I'm thinking about adding a new function.

The function would, depending on the eclass in use:

1. for python-any-r1, be the 'original' version of
python-any-r1_pkg_setup, that is finding and setting up the Python
version without the MERGE_TYPE check,

2. for python-single-r1, be equivalent to python-single-r1_pkg_setup,

3. for python-r1, call python_export_best + python_wrapper_setup.

So in any of the eclasses, the function would result in Python being
set up properly for use in global scope.

The question is: how to name the function? We need a name that would be
easy to remember and not confusing at the same time. Especially, I'd
like to avoid wrongly suggesting that python-r1 needs it -- since it
usually doesn't :).

--=20
Best regards,
Micha=C5=82 G=C3=B3rny

--Sig_/AGda7IDe.xMC=C+gB+_T_RY
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQJ8BAEBCgBmBQJSYkd+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOZesP/1GbD6lJEn84Kxj3gRNCYYxa
sDrt1UKZ8xxr3xbkaj11NaFYlquE5JaXYOvcyXvATcDTFRf8qkFhHgVur1hshKPr
SUKj5M0WHaA2ozDShW9w0hqi6TpujTYN1xSLuIUGwxnIxbUYlBdY0TM/r7g+4XrI
PsyAe5XW8a6X29PbCj7PDkvTeIEE9XGiPM7W/9Q8oNhCHeu2oEugeJOAFTdLL5LA
7n6I3jK0BASATLs9FzQUfnQuSjJ40JKl7VHZkKir9QF5/deA5CLOkn9h41RhdTRM
GuKStGSG2bVkzLsLGTPDDM4LV6cSqGzan1XGTXSq+r0qyXmDFP/G/khMKnWQyrk2
fMw80mZqx+tYA4oH/quz+USfaG11vihsSdAt+vPqwPgrfmWaZJ5ef3W1Y6bKbfMe
JcHvPJoyeUPDnlSuNHcQTM6l5pyFdy84nC1BXB97RIhLPg/Tz/AS3gIq46T3DXeK
2pB5Zpcuq6eXpVtn63eRAbnVFi7zL32MhTl7dTxKsl8+a8joSs4KHRf7MgrHfZTh
ld2k9ptytXWVxoDiSNARgnHInd/FcW0+uJ6P5ECK1N4Qenb3K8XyC8Y8V352x71N
6lLdA43ZbdmUb70GJdJJ0Rns57b5sud/YJKkC2Sg7lsXgv4c9BOyfVsTltoYCtlX
xQP4cXbVlxpAAQ1Ji/91
=vPxy
-----END PGP SIGNATURE-----

--Sig_/AGda7IDe.xMC=C+gB+_T_RY--