app-portage/eclass-manpages: Add @SUPPORTED_EAPIS tag for eclass
authorMichał Górny <mgorny@gentoo.org>
Fri, 28 Apr 2017 13:49:14 +0000 (15:49 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 17 Nov 2017 16:49:21 +0000 (17:49 +0100)
commit900365947d030667731279e7978c3457d847fb5a
tree15b11066ff31e3df4a2d1d5c86310e753d3e491c
parent9c5de2aaf67f86e70b4edcfbb72f61d45b979f30
app-portage/eclass-manpages: Add @SUPPORTED_EAPIS tag for eclass

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.

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