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