Patchwork [2/3] python: add python-mmap to python-multiprocessing RDEPENDS

login
register
mail settings
Submitter Paul Eggleton
Date March 20, 2014, 3:15 p.m.
Message ID <63b77e4834120f6943a61e814e1159b06debfeb7.1395328478.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/68943/
State New
Headers show

Comments

Paul Eggleton - March 20, 2014, 3:15 p.m.
The multiprocessing module needs the mmap module. We got away with not
having this for the build appliance because python-mmap was added to
packagegroup-self-hosted, but this is the proper place to have it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-devtools/python/python-2.7-manifest.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Paul Eggleton - March 20, 2014, 5:05 p.m.
On Thursday 20 March 2014 15:15:10 Paul Eggleton wrote:
> The multiprocessing module needs the mmap module. We got away with not
> having this for the build appliance because python-mmap was added to
> packagegroup-self-hosted, but this is the proper place to have it.
> 
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.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
> 49dbc0b..a557cdc 100644
> --- a/meta/recipes-devtools/python/python-2.7-manifest.inc
> +++ b/meta/recipes-devtools/python/python-2.7-manifest.inc
> @@ -151,7 +151,7 @@ RDEPENDS_${PN}-mmap="${PN}-core ${PN}-io"
>  FILES_${PN}-mmap="${libdir}/python2.7/lib-dynload/mmap.so "
> 
>  SUMMARY_${PN}-multiprocessing="Python multiprocessing support"
> -RDEPENDS_${PN}-multiprocessing="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle
> ${PN}-threading ${PN}-ctypes" +RDEPENDS_${PN}-multiprocessing="${PN}-core
> ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-threading ${PN}-ctypes ${PN}-mmap"
> FILES_${PN}-multiprocessing="${libdir}/python2.7/lib-dynload/_multiprocessi
> ng.so ${libdir}/python2.7/multiprocessing "
> 
>  SUMMARY_${PN}-netclient="Python Internet Protocol clients"

So I missed completely that this file is automatically generated. I'm going to 
update the script and send a v2, with some additional patches to sync other 
changes between the script and the inc file.

Cheers,
Paul

Patch

diff --git a/meta/recipes-devtools/python/python-2.7-manifest.inc b/meta/recipes-devtools/python/python-2.7-manifest.inc
index 49dbc0b..a557cdc 100644
--- a/meta/recipes-devtools/python/python-2.7-manifest.inc
+++ b/meta/recipes-devtools/python/python-2.7-manifest.inc
@@ -151,7 +151,7 @@  RDEPENDS_${PN}-mmap="${PN}-core ${PN}-io"
 FILES_${PN}-mmap="${libdir}/python2.7/lib-dynload/mmap.so "
 
 SUMMARY_${PN}-multiprocessing="Python multiprocessing support"
-RDEPENDS_${PN}-multiprocessing="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-threading ${PN}-ctypes"
+RDEPENDS_${PN}-multiprocessing="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-threading ${PN}-ctypes ${PN}-mmap"
 FILES_${PN}-multiprocessing="${libdir}/python2.7/lib-dynload/_multiprocessing.so ${libdir}/python2.7/multiprocessing "
 
 SUMMARY_${PN}-netclient="Python Internet Protocol clients"