summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* optfeature.eclass: Drop support for EAPIs 0,1,2,3,4,5Andreas Sturmlechner2021-08-031-4/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* optfeature.eclass: EAPI 8 supportMatt Smith2021-08-031-2/+2
| | | | | Signed-off-by: Matt Smith <matt@offtopica.uk> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* optfeature.eclass: fix @SUPPORTED_EAPIS eclassdocSam James2021-06-211-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* optfeature.eclass: [QA] add @SUPPORTED_EAPIS tagSam James2021-06-201-0/+1
| | | | | Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
* optfeature.eclass: fix indentations in code examplesJoonas Niilola2021-04-171-8/+8
| | | | Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* optfeature.eclass: add pkg_postinst() { } to example code snippetsJoonas Niilola2021-04-151-0/+4
| | | | | | - to make it more understandable where optfeature is supposed to be used. Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* optfeature.eclass: Introduce default header and optfeature_header()Andreas Sturmlechner2021-04-041-1/+55
| | | | | | | | | | | | Before this change, optfeature() would print a list of optional dependencies, or nothing if deps are installed. Ebuilds commonly print their own elog ahead of optfeature, which then may not be followed up by any list at all. optfeature_header() will set a custom header or reset to default by calling it without argument, which is only printed if any follup-up optfeature is about to list a dependency. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* optfeature.eclass: [QA] Fix unwanted globbingDavid Seifert2021-01-111-2/+5
| | | | | | | Closes: https://bugs.gentoo.org/498988 Reported-by: Mike Frysinger <vapier@gentoo.org> Suggested-by: Ulrich Müller <ulm@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
* optfeature.eclass: Remove unnecessary quotes in case statement.Ulrich Müller2020-09-071-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* optfeature.eclass: New eclass with definition from eutilsDavid Seifert2020-09-071-0/+63
Signed-off-by: David Seifert <soap@gentoo.org>