summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2007-09-29 11:43:11 +0000
committerPhilipp Zabel <philipp.zabel@gmail.com>2007-09-29 11:43:11 +0000
commitd1955257f59b4db7bc6c4cce1c3fa56acbf5959f (patch)
treebb858e69f8caa443e90500f07fce7ed70370f942
parent4ea058e59fbfdac70e1383422df6a0e088f1169b (diff)
python-native: drop NOTEs from cross-distutils.patch
* these unexpected prints to stdout can confuse the SCons build system
-rw-r--r--packages/python/python-native-2.5.1/cross-distutils.patch6
-rw-r--r--packages/python/python-native_2.5.1.bb2
2 files changed, 3 insertions, 5 deletions
diff --git a/packages/python/python-native-2.5.1/cross-distutils.patch b/packages/python/python-native-2.5.1/cross-distutils.patch
index 76ae883c1d..3356c1abbe 100644
--- a/packages/python/python-native-2.5.1/cross-distutils.patch
+++ b/packages/python/python-native-2.5.1/cross-distutils.patch
@@ -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") )
diff --git a/packages/python/python-native_2.5.1.bb b/packages/python/python-native_2.5.1.bb
index fdaefe549a..a64a4f96c8 100644
--- a/packages/python/python-native_2.5.1.bb
+++ b/packages/python/python-native_2.5.1.bb
@@ -4,7 +4,7 @@ LICENSE = "PSF"
SECTION = "devel/python"
PRIORITY = "optional"
DEPENDS = ""
-PR = "ml0"
+PR = "ml1"
EXCLUDE_FROM_WORLD = "1"