From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 96E8D138334 for ; Thu, 1 Nov 2018 22:28:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAD08E081A; Thu, 1 Nov 2018 22:28:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8781BE0801 for ; Thu, 1 Nov 2018 22:28:26 +0000 (UTC) Received: from localhost (unknown [91.246.83.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bircoph) by smtp.gentoo.org (Postfix) with ESMTPSA id F1DD6335CD2 for ; Thu, 1 Nov 2018 22:28:23 +0000 (UTC) Date: Fri, 2 Nov 2018 01:26:42 +0300 From: Andrew Savchenko To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH] fortran-2.eclass: support EAPI 7 Message-Id: <20181102012642.a7d615262c2d9cac6cb56960@gentoo.org> In-Reply-To: <4391372.a9vlhZ2KXN@pinacolada> References: <20181028013841.7bd52f2b363d0b11fbe97dd1@gentoo.org> <4391372.a9vlhZ2KXN@pinacolada> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-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; protocol="application/pgp-signature"; micalg="PGP-SHA512"; boundary="Signature=_Fri__2_Nov_2018_01_26_42_+0300_b3krnwuK9o.KZ42b" X-Archives-Salt: 8ba578e0-54a2-4a08-bf2c-3013e8946649 X-Archives-Hash: e02210a8e086efe89ac2194b7c499345 --Signature=_Fri__2_Nov_2018_01_26_42_+0300_b3krnwuK9o.KZ42b Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! On Mon, 29 Oct 2018 23:52:31 +0100 Andreas K. Huettel wrote: > >=20 > > -inherit eutils toolchain-funcs > > +inherit toolchain-funcs > >=20 > > case ${EAPI:-0} in > > - 4|5|6) EXPORT_FUNCTIONS pkg_setup ;; > > + 4|5|6|7) EXPORT_FUNCTIONS pkg_setup ;; > > *) die "EAPI=3D${EAPI} is not supported" ;; > > esac > >=20 >=20 > ^ The disadvantage of this is that eutils inheritance then suddenly disap= pears=20 > for all ebuilds. And you don't know who assumed implicitly somewhere that= =20 > inheriting fortran-2 makes epatch available... >=20 > So how about still inheriting eutils for EAPI 4,5,6 and only dropping it = for=20 > EAPI 7 ?! I agree, backward compatibility matters. Fixed in v2 patch. Best regards, Andrew Savchenko --Signature=_Fri__2_Nov_2018_01_26_42_+0300_b3krnwuK9o.KZ42b Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE63ZIHsdeM+1XgNer9lNaM7oe5I0FAlvbfaMACgkQ9lNaM7oe 5I0dExAAr8iPuTKM6uHiPPUvjSoaPhvFx2Aopo9VIcXhcZTSkIcA/ipTqnm04m1h LLFqM/3lqIC0aKamQ+FvcXr9VQsdWnWq09T59KYmFVf3fp//oCQCB/Y2/ylzsD/w TgiXq5pjge4R5zPodNqYSoNMRm5PT1VcD7aorGP4XmJobR5Tth6KHmAWQP7kgsxl F+rC2GH2i84hD3QYu0sVRxDGhlEqY4isWUYYNMw5rezsc0MrtuyIMGF/K96s68o7 w8p1B1WgSEA7IKwuQc+gWWCvVhOfo2lziDPsEJeIpOx0phkSxP65iQcQlaecQQMq Kdgg71HEc3JQ93oCjhk0LLq3EDRh/+ES3oZjXNp/09jrZJZvhlz41t47SgT4iRHK HHGoIdkHHW46za2P93IP6ssdvp4WKccJC68TwJdL3E4PiqFh18CGvkESkBeSTgtM BDic1P4qwKhygSx0RUF0VSYKEvGoMMw/w1Zh9Sy13cb2sAk56KkEOR8a1zjcRmhw yv5GflGar3S6Sj4A+hlmavvd0eigJbMdBjlzv0alMrT0sLdhEcrM2ujBf1W+Lbus G7dawDc8UsvnNnP2wWMGLcESMxQuuRVup4Q7YI+uuNuw1UoxOQyThGHo6/Et6fjk tkhz2VBur5RD2Tw3f39/AmRBV9dKQvzb8VABRD76F9KV6e/Ok2k= =KtEM -----END PGP SIGNATURE----- --Signature=_Fri__2_Nov_2018_01_26_42_+0300_b3krnwuK9o.KZ42b--