summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-12-20 15:02:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-26 11:34:04 +0000
commit627e745d7bcda8821392f30c60da3cf2858d9e7f (patch)
treed03e4b0a49a8746568889f6ca9549e786f2cde39
parent5cf8c95e60ae32a3788c7b47f974dbc29f10dfc7 (diff)
downloadpoky-627e745d7bcda8821392f30c60da3cf2858d9e7f.tar.gz
python: add -crypt as a dependency on -math
random.py imports hashlib, so add this missing dependency. (From OE-Core rev: c5b11835b478871210fdd5c98db3b75f51fb80cd) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python-2.7-manifest.inc2
-rwxr-xr-xscripts/contrib/python/generate-manifest-2.7.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python-2.7-manifest.inc b/meta/recipes-devtools/python/python-2.7-manifest.inc
index 1e16c6b4e1..3c7be7edad 100644
--- a/meta/recipes-devtools/python/python-2.7-manifest.inc
+++ b/meta/recipes-devtools/python/python-2.7-manifest.inc
@@ -139,7 +139,7 @@ RDEPENDS_${PN}-mailbox="${PN}-core ${PN}-mime"
139FILES_${PN}-mailbox="${libdir}/python2.7/mailbox.* " 139FILES_${PN}-mailbox="${libdir}/python2.7/mailbox.* "
140 140
141DESCRIPTION_${PN}-math="Python Math Support" 141DESCRIPTION_${PN}-math="Python Math Support"
142RDEPENDS_${PN}-math="${PN}-core" 142RDEPENDS_${PN}-math="${PN}-core ${PN}-crypt"
143FILES_${PN}-math="${libdir}/python2.7/lib-dynload/cmath.so ${libdir}/python2.7/lib-dynload/math.so ${libdir}/python2.7/lib-dynload/_random.so ${libdir}/python2.7/random.* ${libdir}/python2.7/sets.* " 143FILES_${PN}-math="${libdir}/python2.7/lib-dynload/cmath.so ${libdir}/python2.7/lib-dynload/math.so ${libdir}/python2.7/lib-dynload/_random.so ${libdir}/python2.7/random.* ${libdir}/python2.7/sets.* "
144 144
145DESCRIPTION_${PN}-mime="Python MIME Handling APIs" 145DESCRIPTION_${PN}-mime="Python MIME Handling APIs"
diff --git a/scripts/contrib/python/generate-manifest-2.7.py b/scripts/contrib/python/generate-manifest-2.7.py
index 5c527241e7..6a11c89df0 100755
--- a/scripts/contrib/python/generate-manifest-2.7.py
+++ b/scripts/contrib/python/generate-manifest-2.7.py
@@ -291,7 +291,7 @@ if __name__ == "__main__":
291 m.addPackage( "${PN}-mailbox", "Python Mailbox Format Support", "${PN}-core ${PN}-mime", 291 m.addPackage( "${PN}-mailbox", "Python Mailbox Format Support", "${PN}-core ${PN}-mime",
292 "mailbox.*" ) 292 "mailbox.*" )
293 293
294 m.addPackage( "${PN}-math", "Python Math Support", "${PN}-core", 294 m.addPackage( "${PN}-math", "Python Math Support", "${PN}-core ${PN}-crypt",
295 "lib-dynload/cmath.so lib-dynload/math.so lib-dynload/_random.so random.* sets.*" ) 295 "lib-dynload/cmath.so lib-dynload/math.so lib-dynload/_random.so random.* sets.*" )
296 296
297 m.addPackage( "${PN}-mime", "Python MIME Handling APIs", "${PN}-core ${PN}-io", 297 m.addPackage( "${PN}-mime", "Python MIME Handling APIs", "${PN}-core ${PN}-io",