diff options
| -rw-r--r-- | meta/lib/oe/recipeutils.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 886ad26f17..9c99164d24 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe/recipeutils.py | |||
| @@ -27,31 +27,6 @@ list_vars = ['SRC_URI', 'LIC_FILES_CHKSUM'] | |||
| 27 | meta_vars = ['SUMMARY', 'DESCRIPTION', 'HOMEPAGE', 'BUGTRACKER', 'SECTION'] | 27 | meta_vars = ['SUMMARY', 'DESCRIPTION', 'HOMEPAGE', 'BUGTRACKER', 'SECTION'] |
| 28 | 28 | ||
| 29 | 29 | ||
| 30 | def pn_to_recipe(cooker, pn, mc=''): | ||
| 31 | """Convert a recipe name (PN) to the path to the recipe file""" | ||
| 32 | |||
| 33 | best = cooker.findBestProvider(pn, mc) | ||
| 34 | return best[3] | ||
| 35 | |||
| 36 | |||
| 37 | def get_unavailable_reasons(cooker, pn): | ||
| 38 | """If a recipe could not be found, find out why if possible""" | ||
| 39 | import bb.taskdata | ||
| 40 | taskdata = bb.taskdata.TaskData(None, skiplist=cooker.skiplist) | ||
| 41 | return taskdata.get_reasons(pn) | ||
| 42 | |||
| 43 | |||
| 44 | def parse_recipe(cooker, fn, appendfiles): | ||
| 45 | """ | ||
| 46 | Parse an individual recipe file, optionally with a list of | ||
| 47 | bbappend files. | ||
| 48 | """ | ||
| 49 | import bb.cache | ||
| 50 | parser = bb.cache.NoCache(cooker.databuilder) | ||
| 51 | envdata = parser.loadDataFull(fn, appendfiles) | ||
| 52 | return envdata | ||
| 53 | |||
| 54 | |||
| 55 | def simplify_history(history, d): | 30 | def simplify_history(history, d): |
| 56 | """ | 31 | """ |
| 57 | Eliminate any irrelevant events from a variable history | 32 | Eliminate any irrelevant events from a variable history |
