[oe-commits] org.oe.dreambox classes/distutils-base.bbclass: fix for python 2.5

tmbinc commit openembedded-commits at lists.openembedded.org
Mon Jun 25 10:24:17 UTC 2007


classes/distutils-base.bbclass: fix for python 2.5

Author: tmbinc at openembedded.org
Branch: org.openembedded.dreambox
Revision: bb30f1ac8eb27d8cc4921beaf0147e2a7dbf43ac
ViewMTN: http://monotone.openembedded.org/revision.psp?id=bb30f1ac8eb27d8cc4921beaf0147e2a7dbf43ac
Files:
1
classes/distutils-base.bbclass
Diffs:

#
# mt diff -r3f549ca9ebbb284dfb2624617cd4d966c7ffd5d7 -rbb30f1ac8eb27d8cc4921beaf0147e2a7dbf43ac
#
# 
# 
# patch "classes/distutils-base.bbclass"
#  from [6afee5ebd516cb70f4338aaf735970cb2b763983]
#    to [0e39ce4093260007f1070a2c2a45a94ca32e4047]
# 
============================================================
--- classes/distutils-base.bbclass	6afee5ebd516cb70f4338aaf735970cb2b763983
+++ classes/distutils-base.bbclass	0e39ce4093260007f1070a2c2a45a94ca32e4047
@@ -7,6 +7,7 @@ def python_dir(d):
 	staging_incdir = bb.data.getVar( "STAGING_INCDIR", d, 1 )
 	if os.path.exists( "%s/python2.3" % staging_incdir ): return "python2.3"
 	if os.path.exists( "%s/python2.4" % staging_incdir ): return "python2.4"
+	if os.path.exists( "%s/python2.5" % staging_incdir ): return "python2.5"
 	raise "No Python in STAGING_INCDIR. Forgot to build python-native ?"
 
 PYTHON_DIR = "${@python_dir(d)}"






More information about the Openembedded-commits mailing list