Patchwork python: add -crypt as a dependency on -math

login
register
mail settings
Submitter Ross Burton
Date Dec. 20, 2012, 12:59 p.m.
Message ID <1356008353-12375-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/41395/
State New
Headers show

Comments

Ross Burton - Dec. 20, 2012, 12:59 p.m.
random.py imports hashlib, so add this missing dependency.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-devtools/python/python-2.7-manifest.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Martin Jansa - Dec. 20, 2012, 1:16 p.m.
On Thu, Dec 20, 2012 at 12:59:13PM +0000, Ross Burton wrote:
> random.py imports hashlib, so add this missing dependency.

Please follow warning in that file:
# WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file.
# Generator: 'scripts/contrib/python/generate-manifest-2.7.py' Version 20110222.2 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
# Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy

and change it in 
openembedded-core/scripts/contrib/python/generate-manifest-2.7.py
first and then regenerate python-2.7-manifest.inc

Cheers,

> 
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>  meta/recipes-devtools/python/python-2.7-manifest.inc |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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"
> -- 
> 1.7.10
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Ross Burton - Dec. 20, 2012, 2:32 p.m.
On 20 December 2012 13:16, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Thu, Dec 20, 2012 at 12:59:13PM +0000, Ross Burton wrote:
>> random.py imports hashlib, so add this missing dependency.
>
> Please follow warning in that file:
> # WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file.
> # Generator: 'scripts/contrib/python/generate-manifest-2.7.py' Version 20110222.2 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
> # Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy
>
> and change it in
> openembedded-core/scripts/contrib/python/generate-manifest-2.7.py
> first and then regenerate python-2.7-manifest.inc

Whoops, thanks, I just did a grep.

Ross

Patch

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"