1 |
EAPI 6 explicitly added support for non-array PATCHES in its |
2 |
default_src_prepare, therefore remove this warning. |
3 |
|
4 |
X-Gentoo-Bug: 568054 |
5 |
--- |
6 |
pym/repoman/checks/ebuilds/checks.py | 4 ++++ |
7 |
1 file changed, 4 insertions(+) |
8 |
|
9 |
diff --git a/pym/repoman/checks/ebuilds/checks.py b/pym/repoman/checks/ebuilds/checks.py |
10 |
index e23fcfe..6d562de 100644 |
11 |
--- a/pym/repoman/checks/ebuilds/checks.py |
12 |
+++ b/pym/repoman/checks/ebuilds/checks.py |
13 |
@@ -337,6 +337,10 @@ class EbuildPatches(LineCheck): |
14 |
re = re.compile(r'^\s*PATCHES=[^\(]') |
15 |
error = errors.PATCHES_ERROR |
16 |
|
17 |
+ def check_eapi(self, eapi): |
18 |
+ return eapi in ("0", "1", "2", "3", "4", "4-python", |
19 |
+ "4-slot-abi", "5", "5-hdepend", "5-progress") |
20 |
+ |
21 |
|
22 |
class EbuildQuotedA(LineCheck): |
23 |
"""Ensure ebuilds have no quoting around ${A}""" |
24 |
-- |
25 |
2.6.4 |