[oe-commits] Ross Burton : python: add -crypt as a dependency on -math

git at git.openembedded.org git at git.openembedded.org
Wed Dec 26 11:34:45 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: c5b11835b478871210fdd5c98db3b75f51fb80cd
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c5b11835b478871210fdd5c98db3b75f51fb80cd

Author: Ross Burton <ross.burton at intel.com>
Date:   Thu Dec 20 15:02:54 2012 +0000

python: add -crypt as a dependency on -math

random.py imports hashlib, so add this missing dependency.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 .../python/python-2.7-manifest.inc                 |    2 +-
 scripts/contrib/python/generate-manifest-2.7.py    |    2 +-
 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 1e16c6b..3c7be7e 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"
 FILES_${PN}-mailbox="${libdir}/python2.7/mailbox.* "
 
 DESCRIPTION_${PN}-math="Python Math Support"
-RDEPENDS_${PN}-math="${PN}-core"
+RDEPENDS_${PN}-math="${PN}-core ${PN}-crypt"
 FILES_${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.* "
 
 DESCRIPTION_${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 5c52724..6a11c89 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__":
     m.addPackage( "${PN}-mailbox", "Python Mailbox Format Support", "${PN}-core ${PN}-mime",
     "mailbox.*" )
 
-    m.addPackage( "${PN}-math", "Python Math Support", "${PN}-core",
+    m.addPackage( "${PN}-math", "Python Math Support", "${PN}-core ${PN}-crypt",
     "lib-dynload/cmath.so lib-dynload/math.so lib-dynload/_random.so random.* sets.*" )
 
     m.addPackage( "${PN}-mime", "Python MIME Handling APIs", "${PN}-core ${PN}-io",





More information about the Openembedded-commits mailing list