diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/create_manifest3.py')
| -rw-r--r-- | meta/recipes-devtools/python/python3/create_manifest3.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3/create_manifest3.py b/meta/recipes-devtools/python/python3/create_manifest3.py index f7d4587030..4da02a2991 100644 --- a/meta/recipes-devtools/python/python3/create_manifest3.py +++ b/meta/recipes-devtools/python/python3/create_manifest3.py | |||
| @@ -310,7 +310,13 @@ for pypkg in old_manifest: | |||
| 310 | pymodule_dep = pymodule_dep.replace(pyversion,'${PYTHON_MAJMIN}') | 310 | pymodule_dep = pymodule_dep.replace(pyversion,'${PYTHON_MAJMIN}') |
| 311 | inFolders = False | 311 | inFolders = False |
| 312 | for folder in allfolders: | 312 | for folder in allfolders: |
| 313 | if folder in pymodule_dep: | 313 | # The module could have a directory named after it, e.g. xml, if we take out the filename from the path |
| 314 | # we'll end up with ${libdir}, and we want ${libdir}/xml | ||
| 315 | if isFolder(pymodule_dep): | ||
| 316 | check_path = pymodule_dep | ||
| 317 | else: | ||
| 318 | check_path = os.path.dirname(pymodule_dep) | ||
| 319 | if folder in check_path : | ||
| 314 | inFolders = True # Did we find a folder? | 320 | inFolders = True # Did we find a folder? |
| 315 | folderFound = False # Second flag to break inner for | 321 | folderFound = False # Second flag to break inner for |
| 316 | # Loop only through packages which contain folders | 322 | # Loop only through packages which contain folders |
