All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-openembedded] python_numpy: Fix SRC_URI warnings.
@ 2012-06-22 14:28 Elvis Dowson
  2012-06-28 17:10 ` Elvis Dowson
  0 siblings, 1 reply; 10+ messages in thread
From: Elvis Dowson @ 2012-06-22 14:28 UTC (permalink / raw)
  To: openembedded-devel; +Cc: 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 <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




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [meta-openembedded] python_numpy: Fix SRC_URI warnings.
  2012-06-22 14:28 [meta-openembedded] python_numpy: Fix SRC_URI warnings Elvis Dowson
@ 2012-06-28 17:10 ` Elvis Dowson
  0 siblings, 0 replies; 10+ messages in thread
From: Elvis Dowson @ 2012-06-28 17:10 UTC (permalink / raw)
  To: openembedded-devel

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
> 




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-openembedded] python_numpy: Fix SRC_URI warnings.
  2012-06-22  4:51 ` Khem Raj
@ 2012-06-22 14:15   ` Elvis Dowson
  0 siblings, 0 replies; 10+ messages in thread
From: Elvis Dowson @ 2012-06-22 14:15 UTC (permalink / raw)
  To: OpenEmbedded Developer Mailing List

Hi Khem,

On Jun 22, 2012, at 8:51 AM, Khem Raj wrote:

> anyway something like below is what you need.
> 
> SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
>           ${CONFIGFILESURI} \
>          "
> 
> CONFIGFILESURI ?= ""
> CONFIGFILESURI_arm = "file://config.h \
>                      file://numpyconfig.h \
>                      "
> 
> CONFIGFILESURI_mipsel = "file://config.h \
>                      file://numpyconfig.h \

I made the changes as you suggested and now the SRCURI is reporting the correct values:

$ MACHINE=qemuarm bitbake -e python-numpy | grep -i "^SRC_URI="
SRC_URI="http://downloads.sourceforge.net/numpy/numpy-1.4.1.tar.gz            file://config.h 	   file://numpyconfig.h"

I'll submit a patch now.

Best regards,

Elvis Dowson



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-openembedded] python_numpy: Fix SRC_URI warnings.
  2012-06-22  5:16       ` Elvis Dowson
@ 2012-06-22  5:18         ` Khem Raj
  0 siblings, 0 replies; 10+ messages in thread
From: Khem Raj @ 2012-06-22  5:18 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Jun 21, 2012 at 10:16 PM, Elvis Dowson <elvis.dowson@gmail.com> wrote:
>
>
> That command returned empty.

:) thats what I expected.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-openembedded] python_numpy: Fix SRC_URI warnings.
  2012-06-22  4:45     ` Khem Raj
@ 2012-06-22  5:16       ` Elvis Dowson
  2012-06-22  5:18         ` Khem Raj
  0 siblings, 1 reply; 10+ messages in thread
From: Elvis Dowson @ 2012-06-22  5:16 UTC (permalink / raw)
  To: openembedded-devel

Hi Khem,

On Jun 22, 2012, at 8:45 AM, Khem Raj wrote:

> OK you can just do
> 
> MACHINE=qemuarm bitbake -e python-numpy | grep -i "^SRC_URI="
> 
> and see what it shows.

That command returned empty.

I'll modify the patch with the CONFIGFILESURI as you suggested.

Best regards,

Elvis Dowson



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-openembedded] python_numpy: Fix SRC_URI warnings.
  2012-06-22  4:14 Elvis Dowson
  2012-06-22  4:28 ` Khem Raj
@ 2012-06-22  4:51 ` Khem Raj
  2012-06-22 14:15   ` Elvis Dowson
  1 sibling, 1 reply; 10+ messages in thread
From: Khem Raj @ 2012-06-22  4:51 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/21/2012 9:14 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  |   12
> +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
> 
> 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..bdcdf91 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 @@ -2,11
> +2,17 @@ DESCRIPTION = "A sophisticated Numeric Processing Package
> for Python" SECTION = "devel/python" LICENSE = "PSF" 
> LIC_FILES_CHKSUM =
> "file://LICENSE.txt;md5=3c42211d73c3faa1026e671dd39883fa" -PR =
> "r3" +PR = "r4"
> 
> SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \ -
> file://config.h \ -	   file://numpyconfig.h \ +	  " +SRC_URI_arm +=
> " \ +           file://arm/config.h \ +
> file://arm/numpyconfig.h \ +	  " +SRC_URI_mipsel += " \ +
> file://mipsel/config.h \ +           file://mipsel/numpyconfig.h \ 
> "
> 
> S = "${WORKDIR}/numpy-${PV}"
> 

anyway something like below is what you need.

SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
           ${CONFIGFILESURI} \
          "

CONFIGFILESURI ?= ""
CONFIGFILESURI_arm = "file://config.h \
                      file://numpyconfig.h \
                      "

CONFIGFILESURI_mipsel = "file://config.h \
                      file://numpyconfig.h \
                      "
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/j+ckACgkQuwUzVZGdMxRl/QCfZL/I+bjl6bjd2xkb+1lsSXqn
/E0An1i6f1IqSKrdHhHy308N0DK2BI9l
=KzI2
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-openembedded] python_numpy: Fix SRC_URI warnings.
  2012-06-22  4:39   ` Elvis Dowson
@ 2012-06-22  4:45     ` Khem Raj
  2012-06-22  5:16       ` Elvis Dowson
  0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2012-06-22  4:45 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/21/2012 9:39 PM, Elvis Dowson wrote:
> No, I did not. The location of the files had move to architecture
> specific folders, but the main recipe had not been updated to
> reflect this, so I just corrected the recipe.

OK you can just do

MACHINE=qemuarm bitbake -e python-numpy | grep -i "^SRC_URI="

and see what it shows.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/j+IQACgkQuwUzVZGdMxTyiQCglNWEIfS2EC7Sm0R60GsT0m4I
pOsAn1olV/oDwSSqVYxpy3hoaFP1YJgo
=9qri
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-openembedded] python_numpy: Fix SRC_URI warnings.
  2012-06-22  4:28 ` Khem Raj
@ 2012-06-22  4:39   ` Elvis Dowson
  2012-06-22  4:45     ` Khem Raj
  0 siblings, 1 reply; 10+ messages in thread
From: Elvis Dowson @ 2012-06-22  4:39 UTC (permalink / raw)
  To: openembedded-devel

Hi Khem,

On Jun 22, 2012, at 8:28 AM, Khem Raj wrote:

> Did you test it on arm/mipsel and made sure that SRC_URI is correct
> after this change ?

No, I did not. The location of the files had move to architecture specific folders, but the main recipe had not been updated to reflect this, so I just corrected the recipe. 

I have an armv7a board (TI OMAP3530 based Gumstix Overo Fire), but no mipsel based board. At the moment, I'm focussing on the powerpc440 on my virtex5 fpga board, so perhaps someone else with an arm and mipsel could help test it out.

Best regards,

Elvis Dowson


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-openembedded] python_numpy: Fix SRC_URI warnings.
  2012-06-22  4:14 Elvis Dowson
@ 2012-06-22  4:28 ` Khem Raj
  2012-06-22  4:39   ` Elvis Dowson
  2012-06-22  4:51 ` Khem Raj
  1 sibling, 1 reply; 10+ messages in thread
From: Khem Raj @ 2012-06-22  4:28 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/21/2012 9:14 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  |   12
> +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
> 
> 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..bdcdf91 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 @@ -2,11
> +2,17 @@ DESCRIPTION = "A sophisticated Numeric Processing Package
> for Python" SECTION = "devel/python" LICENSE = "PSF" 
> LIC_FILES_CHKSUM =
> "file://LICENSE.txt;md5=3c42211d73c3faa1026e671dd39883fa" -PR =
> "r3" +PR = "r4"
> 
> SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \ -
> file://config.h \ -	   file://numpyconfig.h \ +	  " +SRC_URI_arm +=
> " \ +           file://arm/config.h \ +
> file://arm/numpyconfig.h \ +	  " +SRC_URI_mipsel += " \ +
> file://mipsel/config.h \ +           file://mipsel/numpyconfig.h \ 
> "
> 

Did you test it on arm/mipsel and made sure that SRC_URI is correct
after this change ?

> S = "${WORKDIR}/numpy-${PV}"
> 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/j9IIACgkQuwUzVZGdMxRdNwCfRMpvWZtDIwMi4EkqZVhN9YbW
WPwAn3VFiygw3k119AqPDm7gxm8UVIl2
=NYbZ
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [meta-openembedded] python_numpy: Fix SRC_URI warnings.
@ 2012-06-22  4:14 Elvis Dowson
  2012-06-22  4:28 ` Khem Raj
  2012-06-22  4:51 ` Khem Raj
  0 siblings, 2 replies; 10+ messages in thread
From: Elvis Dowson @ 2012-06-22  4:14 UTC (permalink / raw)
  To: openembedded-devel; +Cc: 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 <elvis.dowson@gmail.com>
---
 .../recipes-devtools/python/python-numpy_1.4.1.bb  |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

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..bdcdf91 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
@@ -2,11 +2,17 @@ DESCRIPTION = "A sophisticated Numeric Processing Package for Python"
 SECTION = "devel/python"
 LICENSE = "PSF"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3c42211d73c3faa1026e671dd39883fa"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
-	   file://config.h \
-	   file://numpyconfig.h \
+	  "
+SRC_URI_arm += " \
+           file://arm/config.h \
+           file://arm/numpyconfig.h \
+	  "
+SRC_URI_mipsel += " \
+           file://mipsel/config.h \
+           file://mipsel/numpyconfig.h \
 	  "
 
 S = "${WORKDIR}/numpy-${PV}"
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-06-28 17:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22 14:28 [meta-openembedded] python_numpy: Fix SRC_URI warnings Elvis Dowson
2012-06-28 17:10 ` Elvis Dowson
  -- strict thread matches above, loose matches on Subject: below --
2012-06-22  4:14 Elvis Dowson
2012-06-22  4:28 ` Khem Raj
2012-06-22  4:39   ` Elvis Dowson
2012-06-22  4:45     ` Khem Raj
2012-06-22  5:16       ` Elvis Dowson
2012-06-22  5:18         ` Khem Raj
2012-06-22  4:51 ` Khem Raj
2012-06-22 14:15   ` Elvis Dowson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.