[oe] [PATCH 65/70] rpm-native: add Python 2.6

Michael 'Mickey' Lauer mickey at vanille-media.de
Wed Mar 4 17:20:09 UTC 2009


Am Mittwoch, den 04.03.2009, 16:53 +0100 schrieb Marcin Juszkiewicz:
> From: Marcin Juszkiewicz <hrw at openembedded.org>
> 
> ---
>  packages/rpm/rpm_4.4.2.3.bb |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/packages/rpm/rpm_4.4.2.3.bb b/packages/rpm/rpm_4.4.2.3.bb
> index 3083387..248a9f2 100644
> --- a/packages/rpm/rpm_4.4.2.3.bb
> +++ b/packages/rpm/rpm_4.4.2.3.bb
> @@ -97,6 +97,7 @@ do_configure () {
>  def rpm_python_version(d):
>  	import os, bb
>  	staging_incdir = bb.data.getVar( "STAGING_INCDIR", d, 1 )
> +	if os.path.exists( "%s/python2.6" % staging_incdir ): return "2.6"
>  	if os.path.exists( "%s/python2.5" % staging_incdir ): return "2.5"
>  	if os.path.exists( "%s/python2.4" % staging_incdir ): return "2.4"
>  	if os.path.exists( "%s/python2.3" % staging_incdir ): return "2.3"

Comment to 08/70 applies here.

-- 
:M:





More information about the Openembedded-devel mailing list