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 C55D21387FD for ; Sun, 8 Jun 2014 21:49:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A652EE08AA; Sun, 8 Jun 2014 21:49:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18655E085E for ; Sun, 8 Jun 2014 21:49:45 +0000 (UTC) Received: from pomiot.lan (77-253-145-159.adsl.inetia.pl [77.253.145.159]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id DF040340044; Sun, 8 Jun 2014 21:49:42 +0000 (UTC) Date: Sun, 8 Jun 2014 23:49:37 +0200 From: =?ISO-8859-2?B?TWljaGGzIEfzcm55?= To: gentoo-project@lists.gentoo.org Cc: ulm@gentoo.org Subject: Re: [gentoo-project] EAPI6 Features Message-ID: <20140608234937.223d9c75@pomiot.lan> In-Reply-To: <21396.30067.503349.626165@a1i15.kph.uni-mainz.de> References: <21396.30067.503349.626165@a1i15.kph.uni-mainz.de> Organization: Gentoo X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Project discussion list X-BeenThere: gentoo-project@lists.gentoo.org Reply-To: gentoo-project@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/5/K9L2uIJ26_vIRk3maiKRe"; protocol="application/pgp-signature" X-Archives-Salt: 62ab39c0-b8e3-4e44-86c8-a3a3a5f7af88 X-Archives-Hash: a264f4f6f82dcd429bdd582f048b5c0e --Sig_/5/K9L2uIJ26_vIRk3maiKRe Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Dnia 2014-06-08, o godz. 16:38:43 Ulrich Mueller napisa=B3(a): > >> d) Source eclasses only once > >> Bug #422533 =20 >=20 > > Does anybody still want this included? It seems to me like the list > > discussion was leading in a different direction, but it isn't 100% > > clear to me if this is the case. =20 >=20 > Right, discussion has died down. Many eclasses now use a mechanism > equivalent to the one in C header files, which seems to do the job. I specifically did open that bug because eclasses were not using the same way consistently. More specifically, the 'spank way' usually involved EXPORT_FUNCTIONS being used inconsistently. As a result, sometimes phase functions from eclass inherited last weren't actually effective because the eclass was inherited by another eclass earlier. Thinking about it right now, I don't think we need anything EAPI-specific for this. A consistent policy that is respected by all developers would be enough. I would prefer 'my way' here, that is guarding all inherits and eclass code except for EXPORT_FUNCTIONS, so that the repetitive inherit still overrides phase functions. That is: if [[ ! ${_FOO_ECLASS} ]]; then inherit bar baz fi EXPORT_FUNCTIONS src_compile src_install if [[ ! ${_FOO_ECLASS} ]]; then #... _FOO_ECLASS=3D1 fi --=20 Best regards, Micha=B3 G=F3rny --Sig_/5/K9L2uIJ26_vIRk3maiKRe Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJTlNpxXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOw0YQAM484Q8EoMaU1xKu2r3dP2nQ 35Kc52lNyRglR65omLr0mtNfoWcWjcr2qLL1KDtv1zMyGQhuxOQg0ZAAHohGwMOV JF9fIzD7+OIhEAsXnEJme1hsYLf63DcdgMEUpJBj0Pper70l/7TvCzANt4L/TKpY JSRE+OIAHusJvvzAsyxLBxWC4NoVkHzuoqRJ2B5mOwWzuOfkV/btPQY/9X+kr68j OGoqhPgDry53kIBRHtcXDQEv9mK/A04+vnI+PzvBIyByZ/2njiORc/O6OqDIME0b Nxk1oGbRAdv9t62JnS0ZsQzpn7j1Bp8jBQ370DmiddZVlSjEVjqH+0B4yzoQl9Fb +YrkzH/LPI7g9Oy0Quoq7A7RL/YN1qnICpz2BomU12wsAq734gjX4ak8sROlcJcG A6ywZJeQxO3yZ7NlTGIzWbFMoNc7Qixcizepb/uEQnN4NxAVN7CrG3yTsPonV6lM 6GXafwd9OajhfOIbwQqQJQR+fKtyVzy1TD/FrdJ7l9lQajiyqxWJq3qiyTymH28D ZC0jQtUirvCjl7JCMi9IxCZKiPbuv5GXfWqgOeDQxwN7tNatO7leVpdMr5vaw5YI UPEmO8rmpxedklWoRYekjugHtP5gh+dO/ck8QpKodHgtW78DoWwVPAaHrHCXSJHq 50H5GTJIbOign3ulRU3R =b/xR -----END PGP SIGNATURE----- --Sig_/5/K9L2uIJ26_vIRk3maiKRe--