[oe-commits] org.oe.dev python-native: drop NOTEs from cross-distutils.patch

pH5 commit openembedded-commits at lists.openembedded.org
Sat Sep 29 12:13:25 UTC 2007


python-native: drop NOTEs from cross-distutils.patch
* these unexpected prints to stdout can confuse the SCons build system

Author: pH5 at openembedded.org
Branch: org.openembedded.dev
Revision: 6a695cd00cc23cf7fb290f5fa3b5fa575ea46578
ViewMTN: http://monotone.openembedded.org/revision/info/6a695cd00cc23cf7fb290f5fa3b5fa575ea46578
Files:
1
packages/python/python-native-2.5.1/cross-distutils.patch
packages/python/python-native_2.5.1.bb
Diffs:

#
# mt diff -rdf803cf5b02437d679da3cb65326729bd333d0d6 -r6a695cd00cc23cf7fb290f5fa3b5fa575ea46578
#
# 
# 
# patch "packages/python/python-native-2.5.1/cross-distutils.patch"
#  from [ae16567ccf05a7eec462a5451a8fe26bb0d83650]
#    to [cc17a02a82640c06da616125c3358fb4c1f651ae]
# 
# patch "packages/python/python-native_2.5.1.bb"
#  from [ddbe9e46d55c4c046159b51fabf08c3ecffd938d]
#    to [e2bb20fc9554ec3954487bcf3ed0f6a531af5044]
# 
============================================================
--- packages/python/python-native-2.5.1/cross-distutils.patch	ae16567ccf05a7eec462a5451a8fe26bb0d83650
+++ packages/python/python-native-2.5.1/cross-distutils.patch	cc17a02a82640c06da616125c3358fb4c1f651ae
@@ -16,22 +16,20 @@
  
  # python_build: (Boolean) if true, we're either building Python or
  # building an extension with an un-installed Python, so we use
-@@ -192,7 +192,8 @@
+@@ -192,7 +192,7 @@
      else:
          # The name of the config.h file changed in 2.2
          config_h = 'pyconfig.h'
 -    return os.path.join(inc_dir, config_h)
-+    print "NOTE: sysconfig.get_config_h_filename() altered for OpenEmbedded"
 +    return os.path.join(inc_dir, config_h).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
  
  
  def get_makefile_filename():
-@@ -200,7 +201,8 @@
+@@ -200,7 +200,7 @@
      if python_build:
          return os.path.join(os.path.dirname(sys.executable), "Makefile")
      lib_dir = get_python_lib(plat_specific=1, standard_lib=1)
 -    return os.path.join(lib_dir, "config", "Makefile")
-+    print "NOTE: sysconfig.get_config_h_filename() altered for OpenEmbedded"
 +    return os.path.join(lib_dir, "config", "Makefile").replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
  
  
============================================================
--- packages/python/python-native_2.5.1.bb	ddbe9e46d55c4c046159b51fabf08c3ecffd938d
+++ packages/python/python-native_2.5.1.bb	e2bb20fc9554ec3954487bcf3ed0f6a531af5044
@@ -1,10 +1,10 @@ DEPENDS = ""
 DESCRIPTION = "The Python Programming Language"
 HOMEPAGE = "http://www.python.org"
 LICENSE = "PSF"
 SECTION = "devel/python"
 PRIORITY = "optional"
 DEPENDS = ""
-PR = "ml0"
+PR = "ml1"
 
 EXCLUDE_FROM_WORLD = "1"
 






More information about the Openembedded-commits mailing list