Patchwork [meta-openembedded] python_numpy: Fix SRC_URI warnings.

login
register
mail settings
Submitter Elvis Dowson
Date June 22, 2012, 2:28 p.m.
Message ID <1340375307-20787-1-git-send-email-elvis.dowson@gmail.com>
Download mbox | patch
Permalink /patch/30473/
State Accepted
Headers show

Comments

Elvis Dowson - June 22, 2012, 2:28 p.m.
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 <elvis.dowson@gmail.com>
---
 .../recipes-devtools/python/python-numpy_1.4.1.bb  |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
Elvis Dowson - June 28, 2012, 5:10 p.m.
Request to apply this patch to the meta-openembedded layer...

Elvis

On Jun 22, 2012, at 6:28 PM, 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 <elvis.dowson@gmail.com>
> ---
> .../recipes-devtools/python/python-numpy_1.4.1.bb  |   11 ++++++++++-
> 1 file changed, 10 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..0ae2ca2 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,16 @@ 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
>

Patch

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..0ae2ca2 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,16 @@  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 \
 	  "