diff options
Diffstat (limited to 'repoman/pym/repoman/modules/scan/ebuild/__init__.py')
-rw-r--r-- | repoman/pym/repoman/modules/scan/ebuild/__init__.py | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/repoman/pym/repoman/modules/scan/ebuild/__init__.py b/repoman/pym/repoman/modules/scan/ebuild/__init__.py new file mode 100644 index 000000000..8666e78c2 --- /dev/null +++ b/repoman/pym/repoman/modules/scan/ebuild/__init__.py @@ -0,0 +1,58 @@ +# Copyright 2015-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +doc = """Ebuild plug-in module for repoman. +Performs an IsEbuild check on ebuilds.""" +__doc__ = doc[:] + + +module_spec = { + 'name': 'ebuild', + 'description': doc, + 'provides':{ + 'ebuild-module': { + 'name': "ebuild", + 'sourcefile': "ebuild", + 'class': "Ebuild", + 'description': doc, + 'functions': ['check'], + 'func_desc': { + }, + 'mod_kwargs': ['qatracker', 'repo_settings', 'vcs_settings', + 'checks', 'portdb' + ], + 'func_kwargs': { + 'can_force': (None, None), + 'catdir': (None, None), + 'changed': (None, None), + 'changelog_modified': (None, None), + 'checkdir': (None, None), + 'checkdirlist': (None, None), + 'ebuild': ('Future', 'UNSET'), + 'pkg': ('Future', 'UNSET'), + 'pkgdir': (None, None), + 'pkgs': ('Future', 'dict'), + 'repolevel': (None, None), + 'validity_future': (None, None), + 'xpkg': (None, None), + 'y_ebuild': (None, None), + }, + }, + 'multicheck-module': { + 'name': "multicheck", + 'sourcefile': "multicheck", + 'class': "MultiCheck", + 'description': doc, + 'functions': ['check'], + 'func_kwargs': { + }, + 'mod_kwargs': ['qatracker', 'options' + ], + 'func_kwargs': { + 'ebuild': (None, None), + 'pkg': (None, None), + }, + }, + } +} + |