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 CC425139694 for ; Fri, 28 Apr 2017 14:32:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CCA9E0E1A; Fri, 28 Apr 2017 14:31:56 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE4F1E0E13 for ; Fri, 28 Apr 2017 14:31:55 +0000 (UTC) Received: from pomiot (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 30FD1341734; Fri, 28 Apr 2017 14:31:54 +0000 (UTC) Message-ID: <1493389901.3838.2.camel@gentoo.org> Subject: Re: [gentoo-dev] [PATCH 1/2] app-portage/eclass-manpages: Add @SUPPORTED_EAPIS tag for eclass From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: vapier@gentoo.org, tools-portage@gentoo.org Date: Fri, 28 Apr 2017 16:31:41 +0200 In-Reply-To: <20170428140604.2264-1-mgorny@gentoo.org> References: <20170428140604.2264-1-mgorny@gentoo.org> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-jlo8P6cJEJdiwNr1RIT8" X-Mailer: Evolution 3.22.6 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 X-Archives-Salt: 6654478e-95bf-41f4-a927-e09dd5e0781d X-Archives-Hash: 8a8b6e6a715fb9d1797246397d294bdc --=-jlo8P6cJEJdiwNr1RIT8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On pi=C4=85, 2017-04-28 at 16:06 +0200, Micha=C5=82 G=C3=B3rny wrote: > Add a @SUPPORTED_EAPIS tag that can be used to explicitly provide a list > of EAPIs that are supported by the eclass. The main goal is to make it > possible to extract this list with relative ease, for scripting > purposes. It is not included explicitly in the manpages at the moment. >=20 > The first use case is to make it possible to explicitly distinguish > eclasses that do not support a specific EAPI from eclasses that are not > used by any ebuilds using a specific EAPI. Therefore, it will make it > possible to easily detect when we can deprecate old EAPIs from eclasses. > --- > app-portage/eclass-manpages/files/eclass-to-manpage.awk | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/app-portage/eclass-manpages/files/eclass-to-manpage.awk b/ap= p-portage/eclass-manpages/files/eclass-to-manpage.awk > index 0b65162c04ec..fe7e9c12d8f5 100644 > --- a/app-portage/eclass-manpages/files/eclass-to-manpage.awk > +++ b/app-portage/eclass-manpages/files/eclass-to-manpage.awk > @@ -18,6 +18,7 @@ > # # default: tell people to use bugs.gentoo.org> > # @VCSURL: ; > +# @SUPPORTED_EAPIS: Hmm, I'm going to resubmit this with '-' instead of '_'. The doc format doesn't use either consistently, so there's really no point trying to follow the worse option. > # @BLURB: > # @DESCRIPTION: > # > @@ -147,6 +148,7 @@ function handle_eclass() { > eclass =3D $3 > eclass_maintainer =3D "" > eclass_author =3D "" > + supported_eapis =3D "" > blurb =3D "" > desc =3D "" > example =3D "" > @@ -176,6 +178,8 @@ function handle_eclass() { > reporting_bugs =3D eat_paragraph() > if ($2 =3D=3D "@VCSURL:") > vcs_url =3D eat_line() > + if ($2 =3D=3D "@SUPPORTED_EAPIS:") > + supported_eapis =3D eat_line() > if ($2 =3D=3D "@BLURB:") > blurb =3D eat_line() > if ($2 =3D=3D "@DESCRIPTION:") --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-jlo8P6cJEJdiwNr1RIT8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEXr8g+Zb7PCLMb8pAur8dX/jIEQoFAlkDUk5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDVF QkYyMEY5OTZGQjNDMjJDQzZGQ0E0MEJBQkYxRDVGRjhDODExMEEACgkQur8dX/jI EQrILg//Rc0WAm1vDiuh7Bir3hfy77a2Xb9AdhKEtw74QP8rFzN23c7TQLES9BR/ QCkpzibcAqcuxbEB/Cm1Rzp1TZqEFz2OxPXvnTigJ9lWaezWtw6tLpv2voRfyJu3 Y4OiD/l72q0uqSNugJNyrgQ+ip6LoURF+KOD/hLOvsC7HbyoCRi1eNy8xu+Fqdeb Dp11oNYDjhi/QcAV/slP8RXfd1oNN2P8/jGXWz/bHisDEwz5inZOg7rfvbyC8xI0 TT7OuDbSXPDhaaHGO/Nd2SWtm9pLkQ/vD597+Y+bH1vejiMYcvuTbU5pt8BFpzet CYbEb458bI8sOoaedTuegiF/k2OuhdsfcMy7dCRF1v5wyCm87ZP4TbXmO4R1wvym tV2mB6UIfSdUv9hSIwex7+/Pk7EEkcu8xNiybuWrUW7vntDDZEG/1YJXfzW2l6dH 5F2PppejNZwP4T05WFEZ6HWbyTLf4X9Zn0414T7a2nxw7Os+rkvWRCWTEDjfXXtA Step9QFCU7Fy9mzSHBGZY24fnLPMxkM+LqS4yabnpbzPPOZwiA3hXHa93BsRn4Mc c9Tu3mLTO3rTb2LchHWYhhCk9VEW+oihBw7bptap3Ny0h6xiPMaR0Rfcp6MEuQbe LnsGbXsdlqmtbEFq5lEuljwlkBICtBhrsiNMEnhu8lkO1WRw8H8= =USHK -----END PGP SIGNATURE----- --=-jlo8P6cJEJdiwNr1RIT8--