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 E529F138334 for ; Mon, 5 Nov 2018 15:38:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6B83E09E8; Mon, 5 Nov 2018 15:38:16 +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 5DA98E09D5 for ; Mon, 5 Nov 2018 15:38:16 +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 2A2A1335C8C for ; Mon, 5 Nov 2018 15:38:12 +0000 (UTC) Date: Mon, 5 Nov 2018 18:38:08 +0300 From: Andrew Savchenko To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH v3 1/2] fortran-2.eclass: support EAPI 7 Message-Id: <20181105183808.4b3041a6b960b76b9c8233e7@gentoo.org> In-Reply-To: <20181102012520.bcf256d577c0493a55570dac@gentoo.org> References: <20181028013841.7bd52f2b363d0b11fbe97dd1@gentoo.org> <20181102012520.bcf256d577c0493a55570dac@gentoo.org> 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=_Mon__5_Nov_2018_18_38_08_+0300_rnsfPCO2sXSprvBA" X-Archives-Salt: 0b9154ce-b1b9-4185-a896-a78beb4a5a33 X-Archives-Hash: fa91bfad538a03112e83ec0359b31616 --Signature=_Mon__5_Nov_2018_18_38_08_+0300_rnsfPCO2sXSprvBA Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all! Here follow updated patches for fortran-2.eclass EAPI 7 update. Patch 1 contains only EAPI 7 related changes: diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass index 820cbbcb49bd..b871d16e3e05 100644 --- a/eclass/fortran-2.eclass +++ b/eclass/fortran-2.eclass @@ -8,7 +8,7 @@ # @AUTHOR: # Author Justin Lecher # Test functions provided by Sebastien Fabbro and Kacper Kowalik -# @SUPPORTED_EAPIS: 4 5 6 +# @SUPPORTED_EAPIS: 4 5 6 7 # @BLURB: Simplify fortran compiler management # @DESCRIPTION: # If you need a fortran compiler, then you should be inheriting this eclass. @@ -27,13 +27,16 @@ # # FORTRAN_NEED_OPENMP=3D1 =20 -inherit eutils toolchain-funcs - +inherit toolchain-funcs case ${EAPI:-0} in - 4|5|6) EXPORT_FUNCTIONS pkg_setup ;; + # not used in the eclass, but left for backward compatibility with legacy users + 4|5|6) inherit eutils ;; + 7) ;; *) die "EAPI=3D${EAPI} is not supported" ;; esac =20 +EXPORT_FUNCTIONS pkg_setup + if [[ ! ${_FORTRAN_2_CLASS} ]]; then =20 # @ECLASS-VARIABLE: FORTRAN_NEED_OPENMP Best regards, Andrew Savchenko --Signature=_Mon__5_Nov_2018_18_38_08_+0300_rnsfPCO2sXSprvBA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE63ZIHsdeM+1XgNer9lNaM7oe5I0FAlvgY+AACgkQ9lNaM7oe 5I3fGw//boHzloY5oUEakHoYKNjD+g1mVaKvGmRxWsI4imQCOYCM7OU+xQ5rlvqV L4Sna/+DDhtdMWhO2u5Hvn561xGzmQdjT5fwTsaLjuOrDtXf2RtaM0ATnJE9sCn3 bTzuE3pTAQfu57Z1K28yB9vCBH2lWMH7dF1hVy9rSTkJiaec+oNwTrOm6WRXWJY3 KsYyYyWgvMcDfOqXGUa4BXB8Y2dO2j1gn2MyHi1/InCM1ZXhfq44+Nh7Rh5rGmrk RWXj4Gh5Zev/ekPjOEl4p3yKDmLfe/tAa4NKtZDnCOmzQsuKtQw0KJokr9spxNG1 szpwsujq6kDevG6E35M/HsaUiH0/a1Blf/wQj5F53gdwbv3fFlSybrTp4FqZNZmL GXCA5F9nQ78I5ofB/C5La7/qJw0fagyZ8mwvI4jwVG+So4dIlhxFZXZgi2HD8pNI CWSWD1oOkCf4mfVy6HzZ8+FOdeASona/HGXjcEVv3sWpAeccBse4O8WW81gqdEnN 1a+BwUtW+AfW56+fi4KXOej9OK3ef9+yUW4Pb0S1oZIWl4QFssSxJ/L0X0U7W4lr RedP4vx/V/ibnsE+7PYA/P0xqac745dRIk6p7ppW+D1Tmw+9dwErYaxZSmzS3f0x AWHGN33rg37V9MuYFnjEGcfsnWu76u83xy/XV/XQECqXa5I5ruA= =LP7Y -----END PGP SIGNATURE----- --Signature=_Mon__5_Nov_2018_18_38_08_+0300_rnsfPCO2sXSprvBA--