commit: f7d987866e6e41130fe8b4d9f2046eb5d200abe8 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sun Dec 20 20:46:03 2015 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Dec 20 21:54:39 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=f7d98786
repoman: Do not check for PATCHES array in EAPI 6 and later. EAPI 6 explicitly added support for non-array PATCHES in its default_src_prepare, therefore remove this warning. X-Gentoo-Bug: 568054 Acked-by: Zac Medico <zmedico <AT> gentoo.org> pym/repoman/checks/ebuilds/checks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pym/repoman/checks/ebuilds/checks.py b/pym/repoman/checks/ebuilds/checks.py index e23fcfe..6d562de 100644 --- a/pym/repoman/checks/ebuilds/checks.py +++ b/pym/repoman/checks/ebuilds/checks.py @@ -337,6 +337,10 @@ class EbuildPatches(LineCheck): re = re.compile(r'^\s*PATCHES=[^\(]') error = errors.PATCHES_ERROR + def check_eapi(self, eapi): + return eapi in ("0", "1", "2", "3", "4", "4-python", + "4-slot-abi", "5", "5-hdepend", "5-progress") + class EbuildQuotedA(LineCheck): """Ensure ebuilds have no quoting around ${A}"""