Patchwork [PATCHv2,1/2] python-scons_1.3.0: add missing dependencies

login
register
mail settings
Submitter Víctor Manuel Jáquez Leal
Date Jan. 25, 2011, 4:16 p.m.
Message ID <3d0c09dc2f178a8c355b544d1afa98cb46db2617.1295971903.git.vjaquez@igalia.com>
Download mbox | patch
Permalink /patch/370/
State Accepted
Headers show

Comments

Víctor Manuel Jáquez Leal - Jan. 25, 2011, 4:16 p.m.
In order to launch scons in a board it depends on a couple python packages
which were not managed by the recipe.

This patch adds them.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
---
 recipes/python/python-scons_1.3.0.bb |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
Koen Kooi - Jan. 25, 2011, 4:21 p.m.
Op 25 jan 2011, om 17:16 heeft Víctor Manuel Jáquez Leal het volgende geschreven:

> In order to launch scons in a board it depends on a couple python packages
> which were not managed by the recipe.
> 
> This patch adds them.
> 
> Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>

Acked-by: Koen Kooi <koen@openembedded.org>

> ---
> recipes/python/python-scons_1.3.0.bb |    9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/recipes/python/python-scons_1.3.0.bb b/recipes/python/python-scons_1.3.0.bb
> index 792e3a5..a0690d1 100644
> --- a/recipes/python/python-scons_1.3.0.bb
> +++ b/recipes/python/python-scons_1.3.0.bb
> @@ -3,6 +3,7 @@ SECTION = "devel/python"
> PRIORITY = "optional"
> LICENSE = "GPL"
> SRCNAME = "scons"
> +PR = "r1"
> 
> SRC_URI = "${SOURCEFORGE_MIRROR}/scons/scons-${PV}.tar.gz;name=scons \
>            file://toolchain-from-env.SConscript \
> @@ -21,3 +22,11 @@ do_install_append() {
> 
> NATIVE_INSTALL_WORKS = "1"
> BBCLASSEXTEND = "native"
> +
> +RDEPENDS_${PN} = "python-shell \
> +	       python-stringold \
> +	       python-lang \
> +	       python-io \
> +	       python-fcntl \
> +	       python-pickle \
> +	       python-crypt"
> -- 
> 1.7.2.3
>

Patch

diff --git a/recipes/python/python-scons_1.3.0.bb b/recipes/python/python-scons_1.3.0.bb
index 792e3a5..a0690d1 100644
--- a/recipes/python/python-scons_1.3.0.bb
+++ b/recipes/python/python-scons_1.3.0.bb
@@ -3,6 +3,7 @@  SECTION = "devel/python"
 PRIORITY = "optional"
 LICENSE = "GPL"
 SRCNAME = "scons"
+PR = "r1"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/scons/scons-${PV}.tar.gz;name=scons \
            file://toolchain-from-env.SConscript \
@@ -21,3 +22,11 @@  do_install_append() {
 
 NATIVE_INSTALL_WORKS = "1"
 BBCLASSEXTEND = "native"
+
+RDEPENDS_${PN} = "python-shell \
+	       python-stringold \
+	       python-lang \
+	       python-io \
+	       python-fcntl \
+	       python-pickle \
+	       python-crypt"