summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-16 17:57:27 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-16 17:57:58 +0100
commitc0ee8623da8dc54b5d4c76e7db87acf24f089ff9 (patch)
treee64099e713a255766c68573bc3e2616a2f49f073
parentutil/locale: Fix IndentationError in check_locale (diff)
downloadportage-c0ee8623da8dc54b5d4c76e7db87acf24f089ff9.tar.gz
portage-c0ee8623da8dc54b5d4c76e7db87acf24f089ff9.tar.bz2
portage-c0ee8623da8dc54b5d4c76e7db87acf24f089ff9.zip
repoman: Update in_iuse & get_libdir inherit check for EAPI 6
Update the eclass inherit check not to complain about in_iuse and get_libdir in EAPI 6 since they no longer require the respective eclasses.
-rw-r--r--pym/repoman/checks/ebuilds/checks.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pym/repoman/checks/ebuilds/checks.py b/pym/repoman/checks/ebuilds/checks.py
index a00d518c0..e23fcfea2 100644
--- a/pym/repoman/checks/ebuilds/checks.py
+++ b/pym/repoman/checks/ebuilds/checks.py
@@ -524,8 +524,13 @@ class InheritEclass(LineCheck):
yield 'no function called from %s.eclass; please drop' % self._eclass
_usex_supported_eapis = ("0", "1", "2", "3", "4", "4-python", "4-slot-abi")
+_in_iuse_supported_eapis = ("0", "1", "2", "3", "4", "4-python", "4-slot-abi",
+ "5", "5-hdepend", "5-progress")
+_get_libdir_supported_eapis = _in_iuse_supported_eapis
_eclass_eapi_functions = {
- "usex": lambda eapi: eapi not in _usex_supported_eapis
+ "usex": lambda eapi: eapi not in _usex_supported_eapis,
+ "in_iuse": lambda eapi: eapi not in _in_iuse_supported_eapis,
+ "get_libdir": lambda eapi: eapi not in _get_libdir_supported_eapis,
}
# eclasses that export ${ECLASS}_src_(compile|configure|install)