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 1NUY44-00020j-Rz for garchives@archives.gentoo.org; Tue, 12 Jan 2010 04:09:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83EDAE0A86 for ; Tue, 12 Jan 2010 04:09:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 11D4CE07F6 for ; Tue, 12 Jan 2010 03:20:36 +0000 (UTC) Received: from [192.168.0.3] (e179000147.adsl.alicedsl.de [85.179.0.147]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id F081767F26; Tue, 12 Jan 2010 03:20:34 +0000 (UTC) Message-ID: <4B4BEA80.5070809@gentoo.org> Date: Tue, 12 Jan 2010 04:20:32 +0100 From: Sebastian Pipping User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20100103 Thunderbird/3.0 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 To: gentoo-dev@lists.gentoo.org, Robert Buchholz Subject: Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON References: <201001100930.20355.Arfrever@gentoo.org> <201001102250.45410.Arfrever@gentoo.org> <4B4AA116.9040005@gentoo.org> <201001110947.51052.Arfrever@gentoo.org> In-Reply-To: <201001110947.51052.Arfrever@gentoo.org> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 7edb6773-cfd9-4dc4-9756-236ad3398ba7 X-Archives-Hash: ff4585ebe0d644675339b38d1b64fcbb On 01/11/10 09:47, Arfrever Frehtes Taifersar Arahesis wrote: > 2010-01-11 04:55:02 Sebastian Pipping napisa=C5=82(a): >>>>> PYTHON_DEPEND=3D"2:2.5:2.6" >>>>> Dependency on Python 2.6 or 2.5. >> >> The colon (':') has two different semantics here. >=20 > The colon is only separator of components, so it has the same semantic. > Each component has strictly defined meaning. The first ':' is a slot colon while the second one is a from-to colon. I fail to see how that is the same semantic. Also, in normal dependency notation the slot is suffix-like (e.g. package:2) whereas in this syntax it's prefix-like - the opposite. Wouldn't it be more intuitive to make suffix-like use of it? Looking from another angle there is range syntax being used for kernel-check already. It looks like this: [linux >=3D2.6.16 <2.6.31] (examples on ) Maybe you could adjust that to your needs. I'm not sure where that syntax is defined but afair rbu should be a good contact on that subject (Robert?). Sebastian