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 12CE5138010 for ; Thu, 6 Sep 2012 06:01:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13F09E07F5; Thu, 6 Sep 2012 06:01:33 +0000 (UTC) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 1B5FFE0566 for ; Thu, 6 Sep 2012 06:00:50 +0000 (UTC) Received: by weyt57 with SMTP id t57so910363wey.40 for ; Wed, 05 Sep 2012 23:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; bh=valNHG//bmm4aS9PYfAUEeATCX5Y5HZsC/gGkBIKkDI=; b=Ta0fixgRTPKmycCgDECPIcCuFMnDrTWsS0nrUK7Q7Dh1trfq/UwA2A1XPFXkw+lI2C AMsqhoZ8DGXcJCAqH3OTgm40SHUaN3pypIkxV55gTpR27A3mbtAUk0EelkZNyj82MP+2 soXTxu3mbkZN//6hTD50Qi1YXteiscxduioRSLK8ptr8+iirxkE6BqRxNBrp3FxfAhhK cJsG/xtUM9M7kbWptbKyN1ZXzfCfGrty0Qf9+aGWgZ4PKFABEDj7RRGnw02ArLxoPqXz RXsx73io0nm0kUBhooXJIB4lWFA4grk9aK7zhFcs+HawKcRgabOWS5nzwWH4QYg48RdU ni6w== Received: by 10.216.198.137 with SMTP id v9mr597638wen.116.1346911250026; Wed, 05 Sep 2012 23:00:50 -0700 (PDT) Received: from localhost (cpc13-broo7-2-0-cust130.14-2.cable.virginmedia.com. [82.9.16.131]) by mx.google.com with ESMTPS id o2sm3336558wiz.11.2012.09.05.23.00.48 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 05 Sep 2012 23:00:49 -0700 (PDT) Date: Thu, 6 Sep 2012 06:58:51 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] HDEPEND (host dependencies for cross-compilation) for EAPI 5? Message-ID: <20120906065851.4d20e750@googlemail.com> In-Reply-To: <20120905181543.5394051e@pomiocik.lan> References: <50411874.4060204@gentoo.org> <20120831214611.088b3f50@googlemail.com> <50469795.2070901@gentoo.org> <20120905181543.5394051e@pomiocik.lan> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.11; x86_64-pc-linux-gnu) 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; micalg=PGP-SHA1; boundary="Sig_/jzzRi8Vh+5uyJLrjxsexnDl"; protocol="application/pgp-signature" X-Archives-Salt: e682bc93-bb42-4ef4-b1cf-d802c1d0e1ac X-Archives-Hash: 40f19080064bc0cf4c3a217880f71bad --Sig_/jzzRi8Vh+5uyJLrjxsexnDl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 5 Sep 2012 18:15:43 +0200 Micha=C5=82 G=C3=B3rny wrote: > If we really want to go this route, then please at least require > explicit label at start of DEPENDENCIES. And the same when appending > to DEPENDENCIES -- just so 'unlikely' mistakes will leave us with > hours of debugging. We should take the exheres-0 rules for labels and eclasses, which limit labels' scopes to blocks, and which introduce an extra ( ) block around the outside when doing eclass variable merging. > Not that appending dependencies in eclasses is really that good idea. Dependencies aren't appended over eclasses, they're merged. (And I have a sneaking recollection of PMS not documenting this properly...) > Remember that this requirement will actually cause migration to EAPI 5 > to be even harder than to any previous EAPIs. Migrating a single > ebuild will require rewriting the dependencies, and migrating an > eclass will require adding a lot of dirty code. Migrating to EAPI 5 requires rewriting dependencies anyway if we're adding in HDEPEND. Also, earlier EAPIs have introduced new phase functions, which is a far ickier change for ebuilds than this. > Especially if it is python.eclass. You know what the solution there is... > And we will have to convert them back to old-style dependencies > anyway. For the sake of compatibility with external tools. No, external tools are required to be EAPI aware. If they're not, then the external tools need fixing. --=20 Ciaran McCreesh --Sig_/jzzRi8Vh+5uyJLrjxsexnDl Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlBIO58ACgkQ96zL6DUtXhGIGACg2uHDEsyT4XMDh88UBgfrQh8u tSIAoK0+OLwrwVTctHss4qT9Ic4OGvll =JXw6 -----END PGP SIGNATURE----- --Sig_/jzzRi8Vh+5uyJLrjxsexnDl--