From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 244CB1381F3 for ; Thu, 29 Nov 2012 19:48:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF69B21C024; Thu, 29 Nov 2012 19:48:01 +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 7C0D421C024 for ; Thu, 29 Nov 2012 19:48:01 +0000 (UTC) Received: from pomiocik.lan (unknown [81.219.163.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 626CF33D7F4; Thu, 29 Nov 2012 19:47:59 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-python@lists.gentoo.org Cc: python@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-python] [PATCH 10/10 updated] Replace static EPYTHON setting with python-any-r1. Date: Thu, 29 Nov 2012 20:44:28 +0100 Message-Id: <1354218268-14064-1-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1353964837-24198-1-git-send-email-mgorny@gentoo.org> References: <1353964837-24198-1-git-send-email-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org X-Archives-Salt: 831902f8-fc89-4926-aeca-10c2ae32cf26 X-Archives-Hash: 9b4e88eb33a6eb43b9b407d432047a0b This way, the ebuild will check for the best installed Python version satisfying the dep and use it if necessary. --- gx86/dev-lang/python/python-2.7.3-r3.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gx86/dev-lang/python/python-2.7.3-r3.ebuild b/gx86/dev-lang/python/python-2.7.3-r3.ebuild index 2182837..b6349a2 100644 --- a/gx86/dev-lang/python/python-2.7.3-r3.ebuild +++ b/gx86/dev-lang/python/python-2.7.3-r3.ebuild @@ -6,7 +6,10 @@ EAPI="2" WANT_AUTOMAKE="none" WANT_LIBTOOL="none" -inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs +# Bootstrapping Python requires Python 2. +PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_8,1_9} ) + +inherit autotools eutils flag-o-matic multilib pax-utils python-any-r1 toolchain-funcs MY_P="Python-${PV}" PATCHSET_REVISION="1" @@ -50,6 +53,7 @@ RDEPEND="app-arch/bzip2 ) !!