Skip to contentSkip to conversation

python: add -crypt as a dependency on -math

PATCH New Ross Burton 1 participant 1 message Dec 20, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python: add -crypt as a dependency on -math

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

---
 meta/recipes-devtools/python/python-2.7-manifest.inc |    2 +-
 scripts/contrib/python/generate-manifest-2.7.py      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/python/python-2.7-manifest.inc +1 -1
index 1e16c6b..3c7be7e 100644
@@ -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"
scripts/contrib/python/generate-manifest-2.7.py +1 -1
index 5c52724..6a11c89 100755
@@ -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",
Signature · 1 line
1.7.10