From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NUJ7H-0000Ov-Et for garchives@archives.gentoo.org; Mon, 11 Jan 2010 12:11:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10533E0776 for ; Mon, 11 Jan 2010 12:11:27 +0000 (UTC) Received: from mail-fx0-f217.google.com (mail-fx0-f217.google.com [209.85.220.217]) by pigeon.gentoo.org (Postfix) with ESMTP id B9496E06B7 for ; Mon, 11 Jan 2010 10:14:15 +0000 (UTC) Received: by fxm9 with SMTP id 9so18489684fxm.30 for ; Mon, 11 Jan 2010 02:14:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:disposition-notification-to :mime-version:content-type:content-transfer-encoding:message-id; bh=hechE5t1W4TFa1cPbprot21E/j5SBUS6Wm1ZPwd8dXc=; b=u/SzPvuKlkFophVl6oUMQfoxALZidnJHUL6zwaszfuP8UqJZtZrCae/FePiN4x9FBw BMcPM9nMjT0R442dgNSivOeW53VxWTtmHUzewZnPRUqJHpxgFBMHc+rC1m3Znbc/K59s KBiKcj1JqFyvp6gcNdzYk98ZsdNg2Bk3ncMnY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to :disposition-notification-to:mime-version:content-type :content-transfer-encoding:message-id; b=f5SF2W+79pbUWYbWE4b+huZRBmA/lPu0KNC+Ibn5ONrEchPTCRq4bNVJTXnl14Z6YP usF7+xjoONp6da1G/0zGdtRItAw9dlVg3WfTMFWbllEPiyNzYeQjEFHLRYDh1GWxN5sO OHltMqpN//XIDCYHVbqLiKPV79Eb4gvrtqmUY= Received: by 10.223.74.144 with SMTP id u16mr8516081faj.21.1263204855120; Mon, 11 Jan 2010 02:14:15 -0800 (PST) Received: from lebrodyl.localnet (adad121.neoplus.adsl.tpnet.pl [83.11.239.121]) by mx.google.com with ESMTPS id 21sm3915569fkx.55.2010.01.11.02.14.14 (version=SSLv3 cipher=RC4-MD5); Mon, 11 Jan 2010 02:14:14 -0800 (PST) From: Maciej Mrozowski To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON Date: Mon, 11 Jan 2010 11:14:11 +0100 User-Agent: KMail/1.13.0 (Linux/2.6.31-gentoo-r6; KDE/4.3.90; x86_64; ; ) References: <201001100930.20355.Arfrever@gentoo.org> <20100110205601.GY832@gentoo.org> <201001110126.25811.Arfrever@gentoo.org> In-Reply-To: <201001110126.25811.Arfrever@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Message-Id: <201001111114.11938.reavertm@gmail.com> Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ede86f87-b5f5-4ea1-b4ea-e8da34f1137f X-Archives-Hash: ed6ea10798f091ab77faa4befee7279e On Monday 11 of January 2010 01:25:45 Arfrever Frehtes Taifersar Arahesis= =20 wrote: > 2010-01-10 21:56:01 Fabian Groffen napisa=B3(a): > > On 10-01-2010 09:29:28 +0100, Arfrever Frehtes Taifersar Arahesis wro= te: > > > I would like to suggest introduction of support for PYTHON_DEPEND > > > variable, which would be a better replacement for NEED_PYTHON > > > variable. NEED_PYTHON variable does not allow to specify that e.g. > > > only versions of Python 2 are accepted. (Eventually PYTHON_DEPEND > > > variable will have to be set only in ebuilds of packages not > > > supporting installation for multiple versions of Python.) > >=20 > > Can you explain the intended use of this variable, and why normal DEP= END > > is not sufficient? >=20 > PYTHON_DEPEND is intented to simplify specification of dependency on > Python. >=20 > PYTHON_DEPEND=3D"2:2.5" is shorter than: > DEPEND=3D"|| ( =3Ddev-lang/python-2.7* =3Ddev-lang/python-2.6* > =3Ddev-lang/python-2.5* )" Doesn't that accidentally mean that dev-lang/python is improperly slotted= and=20 all 2.x releases should be slotted with :2? So that dependency string would look like: DEPEND=3D">=3Ddev-lang/python-2.5.0:2" --=20 regards MM