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

login
register
mail settings
Submitter Elvis Dowson
Date July 6, 2012, 2:52 a.m.
Message ID <1341543150-25096-1-git-send-email-elvis.dowson@gmail.com>
Download mbox | patch
Permalink /patch/31305/
State Accepted
Commit bf63e5def3e0c334faec3a1791d328d8b63c2d24
Headers show

Comments

Elvis Dowson - July 6, 2012, 2:52 a.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  |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
Martin Jansa - July 18, 2012, 7:24 a.m.
On Fri, Jul 6, 2012 at 4:52 AM, Elvis Dowson <elvis.dowson@gmail.com> 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  |    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 <Martin.Jansa@gmail.com>

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..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 \
 	  "