Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 4/5] git: fix unpackaged python files
Date: Wed, 5 Dec 2012 20:05:16 +0100	[thread overview]
Message-ID: <20121205190516.GF3396@jama.jama.net> (raw)
In-Reply-To: <3ea1d54a3b1673540257592c1cfdaa9faf7a5d43.1354731942.git.Martin.Jansa@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3368 bytes --]

On Wed, Dec 05, 2012 at 07:26:06PM +0100, Martin Jansa wrote:
> * fixes:
> git-1.7.7: git: Files/directories were installed but not shipped
>   /usr/lib64
>   /usr/lib64/python2.7
>   /usr/lib64/python2.7/site-packages
>   /usr/lib64/python2.7/site-packages/git_remote_helpers-0.1.0-py2.7.egg-info
>   /usr/lib64/python2.7/site-packages/git_remote_helpers
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/__init__.py
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/util.pyc
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/__init__.pyc
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/util.py
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git/__init__.py
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git/importer.pyc
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git/non_local.pyc
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git/exporter.py
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git/git.py
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git/repo.py
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git/__init__.pyc
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git/importer.py
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git/exporter.pyc
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git/repo.pyc
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git/git.pyc
>   /usr/lib64/python2.7/site-packages/git_remote_helpers/git/non_local.py
> 
> * fixes [YOCTO #3344]
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta/recipes-devtools/git/git.inc      | 4 ++--
>  meta/recipes-devtools/git/git_1.7.7.bb | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
> index 55e1482..80a88c2 100644
> --- a/meta/recipes-devtools/git/git.inc
> +++ b/meta/recipes-devtools/git/git.inc
> @@ -16,7 +16,7 @@ EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
>  
>  EXTRA_OEMAKE = "NO_PYTHON=1"
>  
> -inherit autotools perlnative
> +inherit autotools perlnative python-dir
>  
>  do_compile_prepend () {
>  	# Remove perl/perl.mak to fix the out-of-date perl.mak error
> @@ -58,7 +58,7 @@ FILES_${PN}-perltools += " \
>  RDEPENDS_${PN}-perltools = "${PN} perl perl-module-file-path findutils"
>  
>  PACKAGES =+ "${PN}-python"
> -FILES_${PN}-python = "${libdir}/python*"
> +FILES_${PN}-python = "${libdir}/python* ${PYTHON_SITEPACKAGES_DIR}"
>  
>  
>  # git-tk package with gitk and git-gui
> diff --git a/meta/recipes-devtools/git/git_1.7.7.bb b/meta/recipes-devtools/git/git_1.7.7.bb
> index 9d24911..6b6e04b 100644
> --- a/meta/recipes-devtools/git/git_1.7.7.bb
> +++ b/meta/recipes-devtools/git/git_1.7.7.bb
> @@ -1,6 +1,6 @@
>  require git.inc
>  
> -PR = "r2"
> +PR = "r3"
>  
>  SRC_URI = "http://git-core.googlecode.com/files/git-${PV}.tar.gz"
>  SRC_URI[md5sum] = "5d645884e688921e773186783b65ce33"

Oh, this isn't sometimes enough.. in some cases like commit message it's
using wrong python-config and installing to paths like on host (lib64).

Sending v2 soon

Cheers,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2012-12-05 19:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 18:26 [PATCH 0/5] Small fixes from bitbake world Martin Jansa
2012-12-05 18:26 ` [PATCH 1/5] at: change initscript dependency from build time to runtime Martin Jansa
2012-12-05 18:26 ` [PATCH 2/5] scripts/sstate-diff-machines.sh: add simple script to compare sstate checksums between MACHINEs Martin Jansa
2012-12-05 18:26 ` [PATCH 3/5] scripts/sstate-sysroot-cruft.sh: add simple script to find files in sysroots not tracked by sstate Martin Jansa
2012-12-05 19:04   ` Enrico Scholz
2012-12-05 19:35     ` Martin Jansa
2012-12-05 22:49       ` Enrico Scholz
2012-12-06  4:30         ` Martin Jansa
2012-12-06 10:41           ` Enrico Scholz
     [not found]   ` <cover.1354737450.git.Martin.Jansa@gmail.com>
2012-12-05 19:59     ` [PATCHv2 " Martin Jansa
2012-12-05 19:59     ` [PATCHv2 4/5] git: fix unpackaged python files Martin Jansa
2012-12-05 18:26 ` [PATCH " Martin Jansa
2012-12-05 19:05   ` Martin Jansa [this message]
2012-12-05 18:26 ` [PATCH 5/5] python-smartpm: don't try to remove /usr/share/share twice Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121205190516.GF3396@jama.jama.net \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox