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 1NUHHC-00055f-K8 for garchives@archives.gentoo.org; Mon, 11 Jan 2010 10:13:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3AAB0E08C0 for ; Mon, 11 Jan 2010 10:13:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E004AE049A for ; Mon, 11 Jan 2010 08:56:34 +0000 (UTC) Received: from afta-gentoo.localnet (ip-85-198-235-97.broker.com.pl [85.198.235.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 4C87F1B4003 for ; Mon, 11 Jan 2010 08:56:34 +0000 (UTC) From: Arfrever Frehtes Taifersar Arahesis To: Gentoo Development Subject: Re: [gentoo-dev] PYTHON_DEPEND - Suggested replacement for NEED_PYTHON Date: Mon, 11 Jan 2010 10:00:05 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.32-tuxonice-AFTA; KDE/4.3.4; x86_64; ; ) References: <201001100930.20355.Arfrever@gentoo.org> <201001110126.25811.Arfrever@gentoo.org> <20100111075030.GA452@gentoo.org> In-Reply-To: <20100111075030.GA452@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: multipart/signed; boundary="nextPart1771972.j4GozgLuuZ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201001111000.05597.Arfrever@gentoo.org> X-Archives-Salt: 80e5bf1f-73f2-474b-8bdd-7d3acdd7d089 X-Archives-Hash: f1a5076019cc75dacbf12ba719a46084 --nextPart1771972.j4GozgLuuZ Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 2010-01-11 08:50:30 Fabian Groffen napisa=C5=82(a): > On 11-01-2010 01:25:45 +0100, Arfrever Frehtes Taifersar Arahesis wrote: > > > 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 Py= thon. > >=20 > > PYTHON_DEPEND=3D"2:2.5" is shorter than: > > DEPEND=3D"|| ( =3Ddev-lang/python-2.7* =3Ddev-lang/python-2.6* =3Ddev-l= ang/python-2.5* )" >=20 > So if there is enough space to express the dependency with the current > syntax, is it worth introducing a new shorthand for it then? Some eclasses already support some shorthands for specification of some dependencies (e.g. need_apache2() in depend.apache.eclass). As maintainer of some packages depending on Python, I express interest in possibility of brief specification of dependency on Python. I won't be enforcing using of this variable for developers, who want to directly specify dependencies in {,R}DEPEND. > Also for this example, why does 2:2.5 expand to 2.7, 2.6 and 2.5? I > would have expected 2.0 ... 2.5. The first component ('2') specifies the group of accepted versions. The second component ('2.5') specifies the minimal accepted version inside this group. ('2:2.5' is identical to '2:2.5:'.) =2D-=20 Arfrever Frehtes Taifersar Arahesis --nextPart1771972.j4GozgLuuZ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iQIcBAABAgAGBQJLSuiVAAoJEFtpjAED8H0YtDQQAIix+LKyQdoQs8ddrbrmhUAy /WQhNY7WKMGPPDmgAsrfnYUhbN4rjyGewCSbNMvBYGMVrrbjT7juNuzw0OIYLDeY rqBH9+9fiFEHm+4RsnM4gUdtlIerGsVW1YoFw3zNHeDPB+RMt/yIA+Mj7MnvWuAI SostHyNBypvZB4QsKWI/L1+tDnP4jZLrN0mIv/jA0q70Pro8M9fu2Dp/BSCcKYe1 YEKsQWCGrsK+b9LcgCbCnsdJuP7Re+02mmdFkOfvFyf3qiZ8XWDl2BA0jB/CkiVI UQYd+RHeQrEl0+bw3IhKo5iWh4djchgBeeZPPM9t2Jt6B9RTdYNL/THNuX0jMFN3 a/cI168YTuU4k/6ppWKeYFfE7lalYyeag6iF1zKn9xuba/0TdMtRveam0PChlwhQ zbIJiAi7JSRxkIef7esCeRDYZZ4aqrsT7tlOlcyg9635jCBleKuvzpC06t1EMuHq orYAMffy06aJ4HWfdmI1TXGhAQM8KwmTMT1ov41LhH0+kMere89S5XNk4DYJWf8l 5QjkesB1kdJtT2gWNZnhuTTWeQghp6bemZL35zHX2RupZLV96eYsBNasnNLK928a wJHSBHUIYRybax+YUJD0lo8hrr1k0bBcXTzI1p1vdou5Jqx0Voo2B5+wDdiLCc7A ZQms8e4sF/c6ckOKSUIg =oruL -----END PGP SIGNATURE----- --nextPart1771972.j4GozgLuuZ--