diff --git a/scripts/lib/recipetool/create_buildsys_python.py b/scripts/lib/recipetool/create_buildsys_python.py
index 1d8a3b8dfda..0c5f44b9663 100644
--- a/scripts/lib/recipetool/create_buildsys_python.py
+++ b/scripts/lib/recipetool/create_buildsys_python.py
@@ -238,7 +238,7 @@ class PythonRecipeHandler(RecipeHandler):
             if bbvar == "PN":
                 # by convention python recipes start with "python3-"
                 if not value.startswith('python'):
-                    value = 'python3-' + value
+                    value = 'python3-' + self.pypi_normalise(value)
 
             if bbvar not in extravalues and value:
                 extravalues[bbvar] = value
