aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-07-10 17:35:08 +0000
committerZac Medico <zmedico@gentoo.org>2018-03-29 20:51:14 -0700
commit597262b7126beecc8123a01737ba5f3295c6e787 (patch)
treeca6b497c164275810059595d96c1232f2682a211
parentportage/module.py: Add a generic get_spec() (diff)
downloadportage-597262b7126beecc8123a01737ba5f3295c6e787.tar.gz
portage-597262b7126beecc8123a01737ba5f3295c6e787.tar.bz2
portage-597262b7126beecc8123a01737ba5f3295c6e787.zip
repoman: modules/scan/*: Add module_runsIn spec variable
This variable will be used to help determine which process loops to run the modules in. This is summary data taken from the runIn*()'s defined in the target eclasses containing the checks.
-rw-r--r--repoman/pym/repoman/modules/scan/depend/__init__.py1
-rw-r--r--repoman/pym/repoman/modules/scan/directories/__init__.py2
-rw-r--r--repoman/pym/repoman/modules/scan/eapi/__init__.py1
-rw-r--r--repoman/pym/repoman/modules/scan/ebuild/__init__.py2
-rw-r--r--repoman/pym/repoman/modules/scan/eclasses/__init__.py2
-rw-r--r--repoman/pym/repoman/modules/scan/fetch/__init__.py1
-rw-r--r--repoman/pym/repoman/modules/scan/keywords/__init__.py1
-rw-r--r--repoman/pym/repoman/modules/scan/manifest/__init__.py1
-rw-r--r--repoman/pym/repoman/modules/scan/metadata/__init__.py4
-rw-r--r--repoman/pym/repoman/modules/scan/options/__init__.py1
10 files changed, 16 insertions, 0 deletions
diff --git a/repoman/pym/repoman/modules/scan/depend/__init__.py b/repoman/pym/repoman/modules/scan/depend/__init__.py
index 6d1228601..bd6905c0b 100644
--- a/repoman/pym/repoman/modules/scan/depend/__init__.py
+++ b/repoman/pym/repoman/modules/scan/depend/__init__.py
@@ -26,6 +26,7 @@ module_spec = {
'ebuild': (None, None),
'pkg': (None, None),
},
+ 'module_runsIn': ['ebuilds'],
},
}
}
diff --git a/repoman/pym/repoman/modules/scan/directories/__init__.py b/repoman/pym/repoman/modules/scan/directories/__init__.py
index 47834cb40..18ca086ce 100644
--- a/repoman/pym/repoman/modules/scan/directories/__init__.py
+++ b/repoman/pym/repoman/modules/scan/directories/__init__.py
@@ -26,6 +26,7 @@ module_spec = {
'checkdirlist': (None, None),
'checkdir_relative': (None, None),
},
+ 'module_runsIn': ['pkgs'],
},
'mtime-module': {
'name': "mtime",
@@ -42,6 +43,7 @@ module_spec = {
'ebuild': (None, None),
'pkg': (None, None),
},
+ 'module_runsIn': ['ebuilds'],
},
}
}
diff --git a/repoman/pym/repoman/modules/scan/eapi/__init__.py b/repoman/pym/repoman/modules/scan/eapi/__init__.py
index 4c3dd6e8f..f6306b3e1 100644
--- a/repoman/pym/repoman/modules/scan/eapi/__init__.py
+++ b/repoman/pym/repoman/modules/scan/eapi/__init__.py
@@ -23,6 +23,7 @@ module_spec = {
'func_kwargs': {
'ebuild': (None, None),
},
+ 'module_runsIn': ['ebuilds'],
},
}
}
diff --git a/repoman/pym/repoman/modules/scan/ebuild/__init__.py b/repoman/pym/repoman/modules/scan/ebuild/__init__.py
index 8666e78c2..3e1d31951 100644
--- a/repoman/pym/repoman/modules/scan/ebuild/__init__.py
+++ b/repoman/pym/repoman/modules/scan/ebuild/__init__.py
@@ -37,6 +37,7 @@ module_spec = {
'xpkg': (None, None),
'y_ebuild': (None, None),
},
+ 'module_runsIn': ['pkgs', 'ebuilds'],
},
'multicheck-module': {
'name': "multicheck",
@@ -52,6 +53,7 @@ module_spec = {
'ebuild': (None, None),
'pkg': (None, None),
},
+ 'module_runsIn': ['ebuilds'],
},
}
}
diff --git a/repoman/pym/repoman/modules/scan/eclasses/__init__.py b/repoman/pym/repoman/modules/scan/eclasses/__init__.py
index 01bd29adf..9b1f203ce 100644
--- a/repoman/pym/repoman/modules/scan/eclasses/__init__.py
+++ b/repoman/pym/repoman/modules/scan/eclasses/__init__.py
@@ -26,6 +26,7 @@ module_spec = {
'xpkg': (None, None),
'y_ebuild': (None, None),
},
+ 'module_runsIn': ['ebuilds'],
},
'ruby-module': {
'name': "ruby",
@@ -41,6 +42,7 @@ module_spec = {
'ebuild': (None, None),
'pkg': (None, None),
},
+ 'module_runsIn': ['ebuilds'],
},
}
}
diff --git a/repoman/pym/repoman/modules/scan/fetch/__init__.py b/repoman/pym/repoman/modules/scan/fetch/__init__.py
index 3c8e6002c..d1b4f8d0e 100644
--- a/repoman/pym/repoman/modules/scan/fetch/__init__.py
+++ b/repoman/pym/repoman/modules/scan/fetch/__init__.py
@@ -27,6 +27,7 @@ module_spec = {
'ebuild': (None, None),
'xpkg': (None, None),
},
+ 'module_runsIn': ['pkgs', 'ebuilds'],
},
}
}
diff --git a/repoman/pym/repoman/modules/scan/keywords/__init__.py b/repoman/pym/repoman/modules/scan/keywords/__init__.py
index 2223927c8..88ea5aca9 100644
--- a/repoman/pym/repoman/modules/scan/keywords/__init__.py
+++ b/repoman/pym/repoman/modules/scan/keywords/__init__.py
@@ -27,6 +27,7 @@ module_spec = {
'xpkg': None,
'y_ebuild': (None, None),
},
+ 'module_runsIn': ['pkgs', 'ebuilds', 'final'],
},
}
}
diff --git a/repoman/pym/repoman/modules/scan/manifest/__init__.py b/repoman/pym/repoman/modules/scan/manifest/__init__.py
index dca431b62..94f0a1f35 100644
--- a/repoman/pym/repoman/modules/scan/manifest/__init__.py
+++ b/repoman/pym/repoman/modules/scan/manifest/__init__.py
@@ -24,6 +24,7 @@ module_spec = {
'checkdir': (None, None),
'xpkg': (None, None),
},
+ 'module_runsIn': ['pkgs'],
},
}
}
diff --git a/repoman/pym/repoman/modules/scan/metadata/__init__.py b/repoman/pym/repoman/modules/scan/metadata/__init__.py
index 8e6668b10..03548d164 100644
--- a/repoman/pym/repoman/modules/scan/metadata/__init__.py
+++ b/repoman/pym/repoman/modules/scan/metadata/__init__.py
@@ -31,6 +31,7 @@ module_spec = {
'xpkg': (None, None),
'y_ebuild': (None, None),
},
+ 'module_runsIn': ['pkgs', 'ebuilds', 'final'],
},
'ebuild-metadata': {
'name': "ebuild_metadata",
@@ -48,6 +49,7 @@ module_spec = {
'xpkg': (None, None),
'y_ebuild': (None, None),
},
+ 'module_runsIn': ['ebuilds'],
},
'description-metadata': {
'name': "description",
@@ -63,6 +65,7 @@ module_spec = {
'ebuild': (None, None),
'pkg': ('Future', 'UNSET'),
},
+ 'module_runsIn': ['ebuilds'],
},
'restrict-metadata': {
'name': "restrict",
@@ -79,6 +82,7 @@ module_spec = {
'xpkg': (None, None),
'y_ebuild': (None, None),
},
+ 'module_runsIn': ['ebuilds'],
},
}
}
diff --git a/repoman/pym/repoman/modules/scan/options/__init__.py b/repoman/pym/repoman/modules/scan/options/__init__.py
index a5746ce67..d62e75274 100644
--- a/repoman/pym/repoman/modules/scan/options/__init__.py
+++ b/repoman/pym/repoman/modules/scan/options/__init__.py
@@ -22,6 +22,7 @@ module_spec = {
],
'func_kwargs': {
},
+ 'module_runsIn': ['ebuilds'],
},
}
}