[oe] [meta-openembedded 1/4] python_numpy: Fix SRC_URI warnings.

2012-07-05 Thread Elvis Dowson
This commit fixes the following warnings:
WARNING: Unable to get checksum for python-numpy SRC_URI entry config.h: file 
could not be found
WARNING: Unable to get checksum for python-numpy SRC_URI entry numpyconfig.h: 
file could not be found

Signed-off-by: Elvis Dowson 
---
 .../recipes-devtools/python/python-numpy_1.4.1.bb  |9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb 
b/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb
index a67bf8b..c1923f7 100644
--- a/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb
+++ b/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb
@@ -5,7 +5,14 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.txt;md5=3c42211d73c3faa1026e671dd39883fa"
 PR = "r3"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
-  file://config.h \
+   ${CONFIGFILESURI} \
+ "
+CONFIGFILESURI ?= ""
+
+CONFIGFILESURI_arm = "file://config.h \
+  file://numpyconfig.h \
+ "
+CONFIGFILESURI_mipsel = "file://config.h \
   file://numpyconfig.h \
  "
 
-- 
1.7.9.5


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [meta-openembedded 1/4] python_numpy: Fix SRC_URI warnings.

2012-07-18 Thread Martin Jansa
On Fri, Jul 6, 2012 at 4:52 AM, Elvis Dowson  wrote:
> This commit fixes the following warnings:
> WARNING: Unable to get checksum for python-numpy SRC_URI entry config.h: file 
> could not be found
> WARNING: Unable to get checksum for python-numpy SRC_URI entry numpyconfig.h: 
> file could not be found
>
> Signed-off-by: Elvis Dowson 
> ---
>  .../recipes-devtools/python/python-numpy_1.4.1.bb  |9 -
>  1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb 
> b/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb
> index a67bf8b..c1923f7 100644
> --- a/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb
> +++ b/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb
> @@ -5,7 +5,14 @@ LIC_FILES_CHKSUM = 
> "file://LICENSE.txt;md5=3c42211d73c3faa1026e671dd39883fa"
>  PR = "r3"
>
>  SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
> -  file://config.h \
> +   ${CONFIGFILESURI} \
> + "
> +CONFIGFILESURI ?= ""
> +
> +CONFIGFILESURI_arm = "file://config.h \
> +  file://numpyconfig.h \
> + "
> +CONFIGFILESURI_mipsel = "file://config.h \
>file://numpyconfig.h \
>   "

Does python-numpy build for other archs (without config.h and numpyconfig.h)?

If no then please add COMPATIBLE_HOST restriction to arm or mipsel.

It can be in follow-up patch..

Acked-by: Martin Jansa 

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel