Patchwork git: add missing Python dependency

login
register
mail settings
Submitter ml@communistcode.co.uk
Date Sept. 11, 2012, 10:33 a.m.
Message ID <1347359617-4821-1-git-send-email-ml@communistcode.co.uk>
Download mbox | patch
Permalink /patch/36275/
State New
Headers show

Comments

ml@communistcode.co.uk - Sept. 11, 2012, 10:33 a.m.
From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>

Add python to DEPENDS as it fails to install on target with RPM
failing at do_rootfs due to un-met dependencies.

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
---
 meta/recipes-devtools/git/git.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Mark Hatle - Sept. 11, 2012, 3:46 p.m.
On 9/11/12 5:33 AM, Jack Mitchell wrote:
> From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
>
> Add python to DEPENDS as it fails to install on target with RPM
> failing at do_rootfs due to un-met dependencies.
>
> Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
> ---
>   meta/recipes-devtools/git/git.inc | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
> index 6748b70..9181da6 100644
> --- a/meta/recipes-devtools/git/git.inc
> +++ b/meta/recipes-devtools/git/git.inc
> @@ -1,7 +1,7 @@
>   DESCRIPTION = "The git revision control system used by the Linux kernel developers"
>   SECTION = "console/utils"
>   LICENSE = "GPLv2"
> -DEPENDS = "openssl curl zlib expat"
> +DEPENDS = "openssl curl zlib expat python"

I think this depends is needed based on some easy evaluation of git.

git (at least git-native) provides one example python script, and some python 
modules.. these should be broken off into other sub packages to help eliminate 
the -runtime- python requirement (I'm assuming they're both optional for general 
git usage....)

But someone with more knowledge with git then me should go that.

--Mark

>
>   PROVIDES_append_virtclass-native = " git-replacement-native"
>
>

Patch

diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 6748b70..9181da6 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -1,7 +1,7 @@ 
 DESCRIPTION = "The git revision control system used by the Linux kernel developers"
 SECTION = "console/utils"
 LICENSE = "GPLv2"
-DEPENDS = "openssl curl zlib expat"
+DEPENDS = "openssl curl zlib expat python"
 
 PROVIDES_append_virtclass-native = " git-replacement-native"