summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_buildsys_python.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys_python.py')
-rw-r--r--scripts/lib/recipetool/create_buildsys_python.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create_buildsys_python.py b/scripts/lib/recipetool/create_buildsys_python.py
index 321d0ba257..502e1dfbc3 100644
--- a/scripts/lib/recipetool/create_buildsys_python.py
+++ b/scripts/lib/recipetool/create_buildsys_python.py
@@ -297,6 +297,11 @@ class PythonRecipeHandler(RecipeHandler):
297 value = ' '.join(str(v) for v in values if v) 297 value = ' '.join(str(v) for v in values if v)
298 298
299 bbvar = self.bbvar_map[field] 299 bbvar = self.bbvar_map[field]
300 if bbvar == "PN":
301 # by convention python recipes start with "python3-"
302 if not value.startswith('python'):
303 value = 'python3-' + value
304
300 if bbvar not in extravalues and value: 305 if bbvar not in extravalues and value:
301 extravalues[bbvar] = value 306 extravalues[bbvar] = value
302 307