[oe-commits] org.oe.dev distutils-base.bbclass: prefer most recent python version for packaging

mickeyl commit openembedded-commits at lists.openembedded.org
Wed Aug 15 21:58:48 UTC 2007


distutils-base.bbclass: prefer most recent python version for packaging

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 104311045f802190ad0b90400b2a7ae78717ba46
ViewMTN: http://monotone.openembedded.org/revision.psp?id=104311045f802190ad0b90400b2a7ae78717ba46
Files:
1
classes/distutils-base.bbclass
Diffs:

#
# mt diff -re7de3f146df9ac01f30b5f4f26f6380e8837e6a0 -r104311045f802190ad0b90400b2a7ae78717ba46
#
# 
# 
# patch "classes/distutils-base.bbclass"
#  from [91fb202ad3d377913b0616f94e38e0cc7e8c7804]
#    to [5e50e4a68abba0fac367d0d0d4430c4bde823bde]
# 
============================================================
--- classes/distutils-base.bbclass	91fb202ad3d377913b0616f94e38e0cc7e8c7804
+++ classes/distutils-base.bbclass	5e50e4a68abba0fac367d0d0d4430c4bde823bde
@@ -5,9 +5,9 @@ def python_dir(d):
 def python_dir(d):
 	import os, bb
 	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.5" % staging_incdir ): return "python2.5"
 	if os.path.exists( "%s/python2.4" % staging_incdir ): return "python2.4"
-	if os.path.exists( "%s/python2.5" % staging_incdir ): return "python2.5"
+	if os.path.exists( "%s/python2.3" % staging_incdir ): return "python2.3"
 	raise "No Python in STAGING_INCDIR. Forgot to build python-native ?"
 
 PYTHON_DIR = "${@python_dir(d)}"






More information about the Openembedded-commits mailing list