summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python_2.7.15.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.15.bb')
-rw-r--r--meta/recipes-devtools/python/python_2.7.15.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.15.bb b/meta/recipes-devtools/python/python_2.7.15.bb
index e3a4ddb327..d78400b6e6 100644
--- a/meta/recipes-devtools/python/python_2.7.15.bb
+++ b/meta/recipes-devtools/python/python_2.7.15.bb
@@ -177,6 +177,8 @@ FILES_${PN}-man = "${datadir}/man"
177# Nasty but if bdb isn't enabled the package won't be generated 177# Nasty but if bdb isn't enabled the package won't be generated
178RDEPENDS_${PN}-modules_remove = "${@bb.utils.contains('PACKAGECONFIG', 'bdb', '', '${PN}-bsddb', d)}" 178RDEPENDS_${PN}-modules_remove = "${@bb.utils.contains('PACKAGECONFIG', 'bdb', '', '${PN}-bsddb', d)}"
179 179
180RDEPENDS_${PN}-dev = ""
181
180BBCLASSEXTEND = "nativesdk" 182BBCLASSEXTEND = "nativesdk"
181 183
182RPROVIDES_${PN} += "${PN}-modules" 184RPROVIDES_${PN} += "${PN}-modules"
@@ -220,7 +222,6 @@ python(){
220 if value.endswith('.py'): 222 if value.endswith('.py'):
221 d.appendVar('FILES_' + pypackage, ' ' + value + 'c') 223 d.appendVar('FILES_' + pypackage, ' ' + value + 'c')
222 224
223 d.setVar('RDEPENDS_' + pypackage, '')
224 for value in python_manifest[key]['rdepends']: 225 for value in python_manifest[key]['rdepends']:
225 # Make it work with or without $PN 226 # Make it work with or without $PN
226 if '${PN}' in value: 227 if '${PN}' in value: