python: upgrade from 2.6.5 to 2.6.6
PATCH 1/5 python: upgrade from 2.6.5 to 2.6.6
--- .../00-fix-bindir-libdir-for-cross.patch | 20 --- .../python/python-2.6.5/00-fix-parallel-make.patch | 40 ------ .../01-use-proper-tools-for-cross-build.patch | 116 ----------------- .../python-2.6.5/02-remove-test-for-cross.patch | 106 ---------------- .../python-2.6.5/03-fix-tkinter-detection.patch | 40 ------ .../python-2.6.5/04-default-is-optimized.patch | 18 --- .../05-enable-ctypes-cross-build.patch | 28 ---- .../06-ctypes-libffi-fix-configure.patch | 51 -------- .../10-distutils-fix-swig-parameter.patch | 16 --- .../11-distutils-never-modify-shebang-line.patch | 18 --- ...2-distutils-prefix-is-inside-staging-area.patch | 60 --------- .../python-2.6.5/99-ignore-optimization-flag.patch | 18 --- recipes/python/python-2.6.5/debug.patch | 27 ---- recipes/python/python-2.6.5/ipv6-cross.patch | 13 -- recipes/python/python-2.6.5/nohostlibs.patch | 53 -------- recipes/python/python-2.6.5/sitecustomize.py | 45 ------- .../python/python-2.6.6/00-fix-parallel-make.patch | 40 ++++++ .../01-use-proper-tools-for-cross-build.patch | 116 +++++++++++++++++ .../python-2.6.6/02-remove-test-for-cross.patch | 106 ++++++++++++++++ .../python-2.6.6/03-fix-tkinter-detection.patch | 40 ++++++ .../python-2.6.6/04-default-is-optimized.patch | 57 +++++++++ .../05-enable-ctypes-cross-build.patch | 28 ++++ .../06-ctypes-libffi-fix-configure.patch | 51 ++++++++ .../10-distutils-fix-swig-parameter.patch | 16 +++ .../11-distutils-never-modify-shebang-line.patch | 18 +++ ...2-distutils-prefix-is-inside-staging-area.patch | 60 +++++++++ recipes/python/python-2.6.6/debug.patch | 27 ++++ recipes/python/python-2.6.6/ipv6-cross.patch | 13 ++ recipes/python/python-2.6.6/nohostlibs.patch | 57 +++++++++ recipes/python/python-2.6.6/sitecustomize.py | 45 +++++++ recipes/python/python-native_2.6.5.bb | 45 ------- recipes/python/python-native_2.6.6.bb | 44 +++++++ recipes/python/python_2.6.5.bb | 134 -------------------- recipes/python/python_2.6.6.bb | 132 +++++++++++++++++++ 34 files changed, 850 insertions(+), 848 deletions(-) delete mode 100644 recipes/python/python-2.6.5/00-fix-bindir-libdir-for-cross.patch delete mode 100644 recipes/python/python-2.6.5/00-fix-parallel-make.patch delete mode 100644 recipes/python/python-2.6.5/01-use-proper-tools-for-cross-build.patch delete mode 100644 recipes/python/python-2.6.5/02-remove-test-for-cross.patch delete mode 100644 recipes/python/python-2.6.5/03-fix-tkinter-detection.patch delete mode 100644 recipes/python/python-2.6.5/04-default-is-optimized.patch delete mode 100644 recipes/python/python-2.6.5/05-enable-ctypes-cross-build.patch delete mode 100644 recipes/python/python-2.6.5/06-ctypes-libffi-fix-configure.patch delete mode 100644 recipes/python/python-2.6.5/10-distutils-fix-swig-parameter.patch delete mode 100644 recipes/python/python-2.6.5/11-distutils-never-modify-shebang-line.patch delete mode 100644 recipes/python/python-2.6.5/12-distutils-prefix-is-inside-staging-area.patch delete mode 100644 recipes/python/python-2.6.5/99-ignore-optimization-flag.patch delete mode 100644 recipes/python/python-2.6.5/debug.patch delete mode 100644 recipes/python/python-2.6.5/ipv6-cross.patch delete mode 100644 recipes/python/python-2.6.5/nohostlibs.patch delete mode 100644 recipes/python/python-2.6.5/sitecustomize.py create mode 100644 recipes/python/python-2.6.6/00-fix-parallel-make.patch create mode 100644 recipes/python/python-2.6.6/01-use-proper-tools-for-cross-build.patch create mode 100644 recipes/python/python-2.6.6/02-remove-test-for-cross.patch create mode 100644 recipes/python/python-2.6.6/03-fix-tkinter-detection.patch create mode 100644 recipes/python/python-2.6.6/04-default-is-optimized.patch create mode 100644 recipes/python/python-2.6.6/05-enable-ctypes-cross-build.patch create mode 100644 recipes/python/python-2.6.6/06-ctypes-libffi-fix-configure.patch create mode 100644 recipes/python/python-2.6.6/10-distutils-fix-swig-parameter.patch create mode 100644 recipes/python/python-2.6.6/11-distutils-never-modify-shebang-line.patch create mode 100644 recipes/python/python-2.6.6/12-distutils-prefix-is-inside-staging-area.patch create mode 100644 recipes/python/python-2.6.6/debug.patch create mode 100644 recipes/python/python-2.6.6/ipv6-cross.patch create mode 100644 recipes/python/python-2.6.6/nohostlibs.patch create mode 100644 recipes/python/python-2.6.6/sitecustomize.py delete mode 100644 recipes/python/python-native_2.6.5.bb create mode 100644 recipes/python/python-native_2.6.6.bb delete mode 100644 recipes/python/python_2.6.5.bb create mode 100644 recipes/python/python_2.6.6.bb
recipes/python/python-2.6.5/00-fix-bindir-libdir-for-cross.patch deleted +0 -20
@@ -1,20 +0,0 @@ -# $(exec_prefix) points to the wrong directory, when installing -# a cross-build. @bindir@ and @libdir@ works better and doesn't -# affect the native build. -# Signed-Off: Michael 'Mickey' Lauer <[email protected]> - -Index: Python-2.6.1/Makefile.pre.in -=================================================================== ---- Python-2.6.1.orig/Makefile.pre.in -+++ Python-2.6.1/Makefile.pre.in -@@ -86,8 +86,8 @@ exec_prefix= @exec_prefix@ - datarootdir= @datarootdir@ - - # Expanded directories --BINDIR= $(exec_prefix)/bin --LIBDIR= $(exec_prefix)/lib -+BINDIR= @bindir@ -+LIBDIR= @libdir@ - MANDIR= @mandir@ - INCLUDEDIR= @includedir@ - CONFINCLUDEDIR= $(exec_prefix)/include
recipes/python/python-2.6.5/00-fix-parallel-make.patch deleted +0 -40
@@ -1,40 +0,0 @@ -upstream: <http://bugs.python.org/issue10013> -comment: As in the comment in the issue tracker this is fixed for py3k a little differently <http://svn.python.org/view?view=rev&revision=84068>. This patch is taken from Fedora. - -diff -up Python-2.7/Makefile.pre.in.fix-parallel-make Python-2.7/Makefile.pre.in ---- Python-2.7/Makefile.pre.in.fix-parallel-make 2010-07-22 15:01:39.567996932 -0400 -+++ Python-2.7/Makefile.pre.in 2010-07-22 15:47:02.437998509 -0400 -@@ -197,6 +197,7 @@ SIGNAL_OBJS= @SIGNAL_OBJS@ - - ########################################################################## - # Grammar -+GRAMMAR_STAMP= $(srcdir)/grammar-stamp - GRAMMAR_H= $(srcdir)/Include/graminit.h - GRAMMAR_C= $(srcdir)/Python/graminit.c - GRAMMAR_INPUT= $(srcdir)/Grammar/Grammar -@@ -514,10 +515,24 @@ Modules/getpath.o: $(srcdir)/Modules/get - Modules/python.o: $(srcdir)/Modules/python.c - $(MAINCC) -c $(PY_CFLAGS) -o $@ $(srcdir)/Modules/python.c - -+# GNU "make" interprets rules with two dependents as two copies of the rule. -+# -+# In a parallel build this can lead to pgen being run twice, once for each of -+# GRAMMAR_H and GRAMMAR_C, leading to race conditions in which the compiler -+# reads a partially-overwritten copy of one of these files, leading to syntax -+# errors (or linker errors if the fragment happens to be syntactically valid C) -+# -+# See http://www.gnu.org/software/hello/manual/automake/Multiple-Outputs.html -+# for more information. -+# -+# Introduce ".grammar-stamp" as a contrived single output from PGEN to avoid -+# this: -+$(GRAMMAR_H) $(GRAMMAR_C): $(GRAMMAR_STAMP) - --$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT) -+$(GRAMMAR_STAMP): $(PGEN) $(GRAMMAR_INPUT) - -@$(INSTALL) -d Include - -$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) -+ touch $(GRAMMAR_STAMP) - - $(PGEN): $(PGENOBJS) - $(CC) $(OPT) $(LDFLAGS) $(PGENOBJS) $(LIBS) -o $(PGEN)
recipes/python/python-2.6.5/01-use-proper-tools-for-cross-build.patch deleted +0 -116
116 lines not on this page · raw message
recipes/python/python-2.6.5/02-remove-test-for-cross.patch deleted +0 -106
106 lines not on this page · raw message
recipes/python/python-2.6.5/03-fix-tkinter-detection.patch deleted +0 -40
@@ -1,40 +0,0 @@ -# We need to supply STAGING_INCDIR here, otherwise the Tk headers -# will not be found. -# Signed-Off: Michael 'Mickey' Lauer <[email protected]> - -Index: Python-2.6.1/setup.py -=================================================================== ---- Python-2.6.1.orig/setup.py -+++ Python-2.6.1/setup.py -@@ -1543,7 +1543,7 @@ class PyBuildExt(build_ext): - dotversion = dotversion[:-1] + '.' + dotversion[-1] - tcl_include_sub = [] - tk_include_sub = [] -- for dir in inc_dirs: -+ for dir in [os.getenv("STAGING_INCDIR")]: - tcl_include_sub += [dir + os.sep + "tcl" + dotversion] - tk_include_sub += [dir + os.sep + "tk" + dotversion] - tk_include_sub += tcl_include_sub -@@ -1562,22 +1562,6 @@ class PyBuildExt(build_ext): - if dir not in include_dirs: - include_dirs.append(dir) - -- # Check for various platform-specific directories -- if platform == 'sunos5': -- include_dirs.append('/usr/openwin/include') -- added_lib_dirs.append('/usr/openwin/lib') -- elif os.path.exists('/usr/X11R6/include'): -- include_dirs.append('/usr/X11R6/include') -- added_lib_dirs.append('/usr/X11R6/lib64') -- added_lib_dirs.append('/usr/X11R6/lib') -- elif os.path.exists('/usr/X11R5/include'): -- include_dirs.append('/usr/X11R5/include') -- added_lib_dirs.append('/usr/X11R5/lib') -- else: -- # Assume default location for X11 -- include_dirs.append('/usr/X11/include') -- added_lib_dirs.append('/usr/X11/lib') -- - # If Cygwin, then verify that X is installed before proceeding - if platform == 'cygwin': - x11_inc = find_file('X11/Xlib.h', [], include_dirs)
recipes/python/python-2.6.5/04-default-is-optimized.patch deleted +0 -18
@@ -1,18 +0,0 @@ -# When compiling for an embedded system, we need every bit of -# performance we can get. default to optimized with the option -# of opt-out. -# Signed-Off: Michael 'Mickey' Lauer <[email protected]> - -Index: Python-2.6.1/Python/compile.c -=================================================================== ---- Python-2.6.1.orig/Python/compile.c -+++ Python-2.6.1/Python/compile.c -@@ -32,7 +32,7 @@ - #include "symtable.h" - #include "opcode.h" - --int Py_OptimizeFlag = 0; -+int Py_OptimizeFlag = 1; - - #define DEFAULT_BLOCK_SIZE 16 - #define DEFAULT_BLOCKS 8
recipes/python/python-2.6.5/05-enable-ctypes-cross-build.patch deleted +0 -28
@@ -1,28 +0,0 @@ -# CTypes need to know the actual host we are building on. -# Signed-Off: Michael Dietrich <[email protected]> - -Index: Python-2.6.1/setup.py -=================================================================== ---- Python-2.6.1.orig/setup.py -+++ Python-2.6.1/setup.py -@@ -1656,16 +1656,16 @@ class PyBuildExt(build_ext): - ffi_configfile): - from distutils.dir_util import mkpath - mkpath(ffi_builddir) -- config_args = [] -+ config_args = ['--host=%s' % os.environ["HOST_SYS"], ] - - # Pass empty CFLAGS because we'll just append the resulting - # CFLAGS to Python's; -g or -O2 is to be avoided. -- cmd = "cd %s && env CFLAGS='' '%s/configure' %s" \ -- % (ffi_builddir, ffi_srcdir, " ".join(config_args)) -+ cmd = "(cd %s && autoconf -W cross) && (cd %s && env CFLAGS='' '%s/configure' %s)" \ -+ % (ffi_srcdir, ffi_builddir, ffi_srcdir, " ".join(config_args)) - - res = os.system(cmd) - if res or not os.path.exists(ffi_configfile): -- print "Failed to configure _ctypes module" -+ print "Failed to configure _ctypes module (res=%d) or missing conffile=%s" % ( res, ffi_configfile ) - return False - - fficonfig = {}
recipes/python/python-2.6.5/06-ctypes-libffi-fix-configure.patch deleted +0 -51
51 lines not on this page · raw message
recipes/python/python-2.6.5/10-distutils-fix-swig-parameter.patch deleted +0 -16
@@ -1,16 +0,0 @@ -# Some versions of SWIG do not use the extension parameter. -# Make it optional. -# Signed-Off: Michael 'Mickey' Lauer <[email protected]> -Index: Python-2.6.1/Lib/distutils/command/build_ext.py -=================================================================== ---- Python-2.6.1.orig/Lib/distutils/command/build_ext.py -+++ Python-2.6.1/Lib/distutils/command/build_ext.py -@@ -566,7 +566,7 @@ class build_ext (Command): - target_lang=language) - - -- def swig_sources (self, sources, extension): -+ def swig_sources (self, sources, extension=None): - - """Walk the list of source files in 'sources', looking for SWIG - interface (.i) files. Run SWIG on all that are found, and
recipes/python/python-2.6.5/11-distutils-never-modify-shebang-line.patch deleted +0 -18
@@ -1,18 +0,0 @@ -# Don't modify the she-bang line for a cross-build. -# Otherwise it points to our hostpython (which we do not want) -# -# Signed-Off: Michael 'Mickey' Lauer <[email protected]> - -Index: Python-2.6.1/Lib/distutils/command/build_scripts.py -=================================================================== ---- Python-2.6.1.orig/Lib/distutils/command/build_scripts.py -+++ Python-2.6.1/Lib/distutils/command/build_scripts.py -@@ -87,7 +87,7 @@ class build_scripts (Command): - continue - - match = first_line_re.match(first_line) -- if match: -+ if False: #match: - adjust = 1 - post_interp = match.group(1) or '' -
recipes/python/python-2.6.5/12-distutils-prefix-is-inside-staging-area.patch deleted +0 -60
60 lines not on this page · raw message
recipes/python/python-2.6.5/99-ignore-optimization-flag.patch deleted +0 -18
@@ -1,18 +0,0 @@ -# Reinstate the empty -O option to fix weird mixing of native and target -# binaries and libraries with LD_LIBRARY_PATH when host==target -# -# Signed-off-by: Denys Dmytriyenko <[email protected]> - -diff -uNr Python-2.6.5.orig//Modules/main.c Python-2.6.5/Modules/main.c ---- Python-2.6.5.orig//Modules/main.c 2009-10-27 13:48:52.000000000 +0100 -+++ Python-2.6.5/Modules/main.c 2010-08-16 21:25:04.000000000 +0200 -@@ -328,8 +328,7 @@ - - /* case 'J': reserved for Jython */ - -- case 'O': -- Py_OptimizeFlag++; -+ case 'O': /* ignore it */ - break; - - case 'B':
recipes/python/python-2.6.5/debug.patch deleted +0 -27
@@ -1,27 +0,0 @@ -Index: Python-2.6.1/Lib/distutils/unixccompiler.py -=================================================================== ---- Python-2.6.1.orig/Lib/distutils/unixccompiler.py 2009-11-13 16:04:54.000000000 +0000 -+++ Python-2.6.1/Lib/distutils/unixccompiler.py 2009-11-13 16:06:27.000000000 +0000 -@@ -300,6 +300,8 @@ - dylib_f = self.library_filename(lib, lib_type='dylib') - static_f = self.library_filename(lib, lib_type='static') - -+ print "Looking in %s for %s" % (lib, dirs) -+ - for dir in dirs: - shared = os.path.join(dir, shared_f) - dylib = os.path.join(dir, dylib_f) -@@ -309,10 +311,13 @@ - # assuming that *all* Unix C compilers do. And of course I'm - # ignoring even GCC's "-static" option. So sue me. - if os.path.exists(dylib): -+ print "Found %s" % (dylib) - return dylib - elif os.path.exists(shared): -+ print "Found %s" % (shared) - return shared - elif os.path.exists(static): -+ print "Found %s" % (static) - return static - - # Oops, didn't find it in *any* of 'dirs'
recipes/python/python-2.6.5/ipv6-cross.patch deleted +0 -13
@@ -1,13 +0,0 @@ -Index: Python-2.6.5/configure.in -=================================================================== ---- Python-2.6.5.orig/configure.in 2011-01-15 14:42:42.068656002 -0800 -+++ Python-2.6.5/configure.in 2011-01-15 15:18:39.668656002 -0800 -@@ -2951,7 +2951,7 @@ - buggygetaddrinfo=yes - ]) - --if test "$buggygetaddrinfo" = "yes"; then -+if test "$buggygetaddrinfo" = "yes" -a x"$cross_compiling" != "xyes"; then - if test "$ipv6" = "yes"; then - echo 'Fatal: You must get working getaddrinfo() function.' - echo ' or you can specify "--disable-ipv6"'.
recipes/python/python-2.6.5/nohostlibs.patch deleted +0 -53
53 lines not on this page · raw message
recipes/python/python-2.6.5/sitecustomize.py deleted +0 -45
45 lines not on this page · raw message
recipes/python/python-2.6.6/00-fix-parallel-make.patch new file +40 -0
@@ -0,0 +1,40 @@ +upstream: <http://bugs.python.org/issue10013> +comment: As in the comment in the issue tracker this is fixed for py3k a little differently <http://svn.python.org/view?view=rev&revision=84068>. This patch is taken from Fedora. + +diff -up Python-2.7/Makefile.pre.in.fix-parallel-make Python-2.7/Makefile.pre.in +--- Python-2.7/Makefile.pre.in.fix-parallel-make 2010-07-22 15:01:39.567996932 -0400 ++++ Python-2.7/Makefile.pre.in 2010-07-22 15:47:02.437998509 -0400 +@@ -197,6 +197,7 @@ SIGNAL_OBJS= @SIGNAL_OBJS@ + + ########################################################################## + # Grammar ++GRAMMAR_STAMP= $(srcdir)/grammar-stamp + GRAMMAR_H= $(srcdir)/Include/graminit.h + GRAMMAR_C= $(srcdir)/Python/graminit.c + GRAMMAR_INPUT= $(srcdir)/Grammar/Grammar +@@ -514,10 +515,24 @@ Modules/getpath.o: $(srcdir)/Modules/get + Modules/python.o: $(srcdir)/Modules/python.c + $(MAINCC) -c $(PY_CFLAGS) -o $@ $(srcdir)/Modules/python.c + ++# GNU "make" interprets rules with two dependents as two copies of the rule. ++# ++# In a parallel build this can lead to pgen being run twice, once for each of ++# GRAMMAR_H and GRAMMAR_C, leading to race conditions in which the compiler ++# reads a partially-overwritten copy of one of these files, leading to syntax ++# errors (or linker errors if the fragment happens to be syntactically valid C) ++# ++# See http://www.gnu.org/software/hello/manual/automake/Multiple-Outputs.html ++# for more information. ++# ++# Introduce ".grammar-stamp" as a contrived single output from PGEN to avoid ++# this: ++$(GRAMMAR_H) $(GRAMMAR_C): $(GRAMMAR_STAMP) + +-$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT) ++$(GRAMMAR_STAMP): $(PGEN) $(GRAMMAR_INPUT) + -@$(INSTALL) -d Include + -$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) ++ touch $(GRAMMAR_STAMP) + + $(PGEN): $(PGENOBJS) + $(CC) $(OPT) $(LDFLAGS) $(PGENOBJS) $(LIBS) -o $(PGEN)
recipes/python/python-2.6.6/01-use-proper-tools-for-cross-build.patch new file +116 -0
116 lines not on this page · raw message
recipes/python/python-2.6.6/02-remove-test-for-cross.patch new file +106 -0
106 lines not on this page · raw message
recipes/python/python-2.6.6/03-fix-tkinter-detection.patch new file +40 -0
@@ -0,0 +1,40 @@ +# We need to supply STAGING_INCDIR here, otherwise the Tk headers +# will not be found. +# Signed-Off: Michael 'Mickey' Lauer <[email protected]> + +Index: Python-2.6.1/setup.py +=================================================================== +--- Python-2.6.1.orig/setup.py ++++ Python-2.6.1/setup.py +@@ -1543,7 +1543,7 @@ class PyBuildExt(build_ext): + dotversion = dotversion[:-1] + '.' + dotversion[-1] + tcl_include_sub = [] + tk_include_sub = [] +- for dir in inc_dirs: ++ for dir in [os.getenv("STAGING_INCDIR")]: + tcl_include_sub += [dir + os.sep + "tcl" + dotversion] + tk_include_sub += [dir + os.sep + "tk" + dotversion] + tk_include_sub += tcl_include_sub +@@ -1562,22 +1562,6 @@ class PyBuildExt(build_ext): + if dir not in include_dirs: + include_dirs.append(dir) + +- # Check for various platform-specific directories +- if platform == 'sunos5': +- include_dirs.append('/usr/openwin/include') +- added_lib_dirs.append('/usr/openwin/lib') +- elif os.path.exists('/usr/X11R6/include'): +- include_dirs.append('/usr/X11R6/include') +- added_lib_dirs.append('/usr/X11R6/lib64') +- added_lib_dirs.append('/usr/X11R6/lib') +- elif os.path.exists('/usr/X11R5/include'): +- include_dirs.append('/usr/X11R5/include') +- added_lib_dirs.append('/usr/X11R5/lib') +- else: +- # Assume default location for X11 +- include_dirs.append('/usr/X11/include') +- added_lib_dirs.append('/usr/X11/lib') +- + # If Cygwin, then verify that X is installed before proceeding + if platform == 'cygwin': + x11_inc = find_file('X11/Xlib.h', [], include_dirs)
recipes/python/python-2.6.6/04-default-is-optimized.patch new file +57 -0
57 lines not on this page · raw message
recipes/python/python-2.6.6/05-enable-ctypes-cross-build.patch new file +28 -0
@@ -0,0 +1,28 @@ +# CTypes need to know the actual host we are building on. +# Signed-Off: Michael Dietrich <[email protected]> + +Index: Python-2.6.1/setup.py +=================================================================== +--- Python-2.6.1.orig/setup.py ++++ Python-2.6.1/setup.py +@@ -1656,16 +1656,16 @@ class PyBuildExt(build_ext): + ffi_configfile): + from distutils.dir_util import mkpath + mkpath(ffi_builddir) +- config_args = [] ++ config_args = ['--host=%s' % os.environ["HOST_SYS"], ] + + # Pass empty CFLAGS because we'll just append the resulting + # CFLAGS to Python's; -g or -O2 is to be avoided. +- cmd = "cd %s && env CFLAGS='' '%s/configure' %s" \ +- % (ffi_builddir, ffi_srcdir, " ".join(config_args)) ++ cmd = "(cd %s && autoconf -W cross) && (cd %s && env CFLAGS='' '%s/configure' %s)" \ ++ % (ffi_srcdir, ffi_builddir, ffi_srcdir, " ".join(config_args)) + + res = os.system(cmd) + if res or not os.path.exists(ffi_configfile): +- print "Failed to configure _ctypes module" ++ print "Failed to configure _ctypes module (res=%d) or missing conffile=%s" % ( res, ffi_configfile ) + return False + + fficonfig = {}
recipes/python/python-2.6.6/06-ctypes-libffi-fix-configure.patch new file +51 -0
51 lines not on this page · raw message
recipes/python/python-2.6.6/10-distutils-fix-swig-parameter.patch new file +16 -0
@@ -0,0 +1,16 @@ +# Some versions of SWIG do not use the extension parameter. +# Make it optional. +# Signed-Off: Michael 'Mickey' Lauer <[email protected]> +Index: Python-2.6.1/Lib/distutils/command/build_ext.py +=================================================================== +--- Python-2.6.1.orig/Lib/distutils/command/build_ext.py ++++ Python-2.6.1/Lib/distutils/command/build_ext.py +@@ -566,7 +566,7 @@ class build_ext (Command): + target_lang=language) + + +- def swig_sources (self, sources, extension): ++ def swig_sources (self, sources, extension=None): + + """Walk the list of source files in 'sources', looking for SWIG + interface (.i) files. Run SWIG on all that are found, and
recipes/python/python-2.6.6/11-distutils-never-modify-shebang-line.patch new file +18 -0
@@ -0,0 +1,18 @@ +# Don't modify the she-bang line for a cross-build. +# Otherwise it points to our hostpython (which we do not want) +# +# Signed-Off: Michael 'Mickey' Lauer <[email protected]> + +Index: Python-2.6.1/Lib/distutils/command/build_scripts.py +=================================================================== +--- Python-2.6.1.orig/Lib/distutils/command/build_scripts.py ++++ Python-2.6.1/Lib/distutils/command/build_scripts.py +@@ -87,7 +87,7 @@ class build_scripts (Command): + continue + + match = first_line_re.match(first_line) +- if match: ++ if False: #match: + adjust = 1 + post_interp = match.group(1) or '' +
recipes/python/python-2.6.6/12-distutils-prefix-is-inside-staging-area.patch new file +60 -0
60 lines not on this page · raw message
recipes/python/python-2.6.6/debug.patch new file +27 -0
@@ -0,0 +1,27 @@ +Index: Python-2.6.1/Lib/distutils/unixccompiler.py +=================================================================== +--- Python-2.6.1.orig/Lib/distutils/unixccompiler.py 2009-11-13 16:04:54.000000000 +0000 ++++ Python-2.6.1/Lib/distutils/unixccompiler.py 2009-11-13 16:06:27.000000000 +0000 +@@ -300,6 +300,8 @@ + dylib_f = self.library_filename(lib, lib_type='dylib') + static_f = self.library_filename(lib, lib_type='static') + ++ print "Looking in %s for %s" % (lib, dirs) ++ + for dir in dirs: + shared = os.path.join(dir, shared_f) + dylib = os.path.join(dir, dylib_f) +@@ -309,10 +311,13 @@ + # assuming that *all* Unix C compilers do. And of course I'm + # ignoring even GCC's "-static" option. So sue me. + if os.path.exists(dylib): ++ print "Found %s" % (dylib) + return dylib + elif os.path.exists(shared): ++ print "Found %s" % (shared) + return shared + elif os.path.exists(static): ++ print "Found %s" % (static) + return static + + # Oops, didn't find it in *any* of 'dirs'
recipes/python/python-2.6.6/ipv6-cross.patch new file +13 -0
@@ -0,0 +1,13 @@ +Index: Python-2.6.5/configure.in +=================================================================== +--- Python-2.6.5.orig/configure.in 2011-01-15 14:42:42.068656002 -0800 ++++ Python-2.6.5/configure.in 2011-01-15 15:18:39.668656002 -0800 +@@ -2951,7 +2951,7 @@ + buggygetaddrinfo=yes + ]) + +-if test "$buggygetaddrinfo" = "yes"; then ++if test "$buggygetaddrinfo" = "yes" -a x"$cross_compiling" != "xyes"; then + if test "$ipv6" = "yes"; then + echo 'Fatal: You must get working getaddrinfo() function.' + echo ' or you can specify "--disable-ipv6"'.
recipes/python/python-2.6.6/nohostlibs.patch new file +57 -0
57 lines not on this page · raw message
recipes/python/python-2.6.6/sitecustomize.py new file +45 -0
45 lines not on this page · raw message
recipes/python/python-native_2.6.5.bb deleted +0 -45
45 lines not on this page · raw message
recipes/python/python-native_2.6.6.bb new file +44 -0
44 lines not on this page · raw message
recipes/python/python_2.6.5.bb deleted +0 -134
134 lines not on this page · raw message
recipes/python/python_2.6.6.bb new file +132 -0
132 lines not on this page · raw message
Signature · 1 line
1.7.4.1
PATCH 2/5 python: merge few s/python/${PN}/g from poky
--- recipes/python/python_2.6.6.bb | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-)
recipes/python/python_2.6.6.bb +12 -12
@@ -92,18 +92,18 @@ do_install_append() { require python-${PYTHON_MAJMIN}-manifest.inc # manual dependency additions -RPROVIDES_python-core = "python" -RRECOMMENDS_python-core = "python-readline" -RRECOMMENDS_python-crypt = "openssl" +RPROVIDES_${PN}-core = "${PN}" +RRECOMMENDS_${PN}-core = "${PN}-readline" +RRECOMMENDS_${PN}-crypt = "openssl" # add sitecustomize -FILES_python-core += "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py" +FILES_${PN}-core += "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py" # ship 2to3 -FILES_python-core += "${bindir}/2to3" +FILES_${PN}-core += "${bindir}/2to3" # package libpython2 -PACKAGES =+ "libpython2" -FILES_libpython2 = "${libdir}/libpython*.so.*" +PACKAGES =+ "lib${PN}2" +FILES_lib${PN}2 = "${libdir}/libpython*.so.*" # additional stuff -dev
@@ -121,12 +121,12 @@ FILES_${PN}-dev += "\ " # catch debug extensions (isn't that already in python-core-dbg?) -FILES_python-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug" +FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug" # catch all the rest (unsorted) -PACKAGES += "python-misc" -FILES_python-misc = "${libdir}/python${PYTHON_MAJMIN}" +PACKAGES += "${PN}-misc" +FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}" # catch manpage -PACKAGES += "python-man" -FILES_python-man = "${datadir}/man" +PACKAGES += "${PN}-man" +FILES_${PN}-man = "${datadir}/man"
Signature · 1 line
1.7.4.1
PATCH 3/5 python: generate-manifest-2.6.py, sort packages when generating output file
In reply to Martin Jansa* iteritems and packages didn't have defined order, so every regeneration created huge patch, hard to review
* alphabetical order should work fine here as long as we have disjunct FILES
--- contrib/python/generate-manifest-2.6.py | 12 +- recipes/python/python-2.6-manifest.inc | 342 +++++++++++++++--------------- 2 files changed, 177 insertions(+), 177 deletions(-)
contrib/python/generate-manifest-2.6.py +6 -6
@@ -9,10 +9,10 @@ import os import sys import time -VERSION = "2.6.4" +VERSION = "2.6.6" __author__ = "Michael 'Mickey' Lauer <[email protected]>" -__version__ = "20100908" +__version__ = "20110214" class MakefileMaker:
@@ -65,7 +65,7 @@ class MakefileMaker: # provideLine = 'PROVIDES+="' - for name in self.packages: + for name in sorted(self.packages): provideLine += "%s " % name provideLine += '"'
@@ -77,7 +77,7 @@ class MakefileMaker: # packageLine = 'PACKAGES="python-core-dbg ' - for name in self.packages: + for name in sorted(self.packages): if name != 'python-core-dbg': packageLine += "%s " % name packageLine += 'python-modules"'
@@ -89,7 +89,7 @@ class MakefileMaker: # generate package variables # - for name, data in self.packages.iteritems(): + for name, data in sorted(self.packages.iteritems()): desc, deps, files = data #
@@ -122,7 +122,7 @@ class MakefileMaker: self.out( 'DESCRIPTION_python-modules="All Python modules"' ) line = 'RDEPENDS_python-modules="' - for name, data in self.packages.iteritems(): + for name, data in sorted(self.packages.iteritems()): if name not in ['python-core-dbg', 'python-dev']: line += "%s " % name
recipes/python/python-2.6-manifest.inc +171 -171
440 lines not on this page · raw message
Signature · 1 line
1.7.4.1
PATCH 4/5 python: move s/python/${PN}/g in generate-manifest-2.6.py and regenerate it
In reply to Martin Jansa--- contrib/python/generate-manifest-2.6.py | 144 ++++++------ recipes/python/python-2.6-manifest.inc | 394 +++++++++++++++--------------- 2 files changed, 269 insertions(+), 269 deletions(-)
contrib/python/generate-manifest-2.6.py +72 -72
@@ -76,11 +76,11 @@ class MakefileMaker: # generate package line # - packageLine = 'PACKAGES="python-core-dbg ' + packageLine = 'PACKAGES="${PN}-core-dbg ' for name in sorted(self.packages): - if name != 'python-core-dbg': + if name != '${PN}-core-dbg': packageLine += "%s " % name - packageLine += 'python-modules"' + packageLine += '${PN}-modules"' self.out( packageLine ) self.out( "" )
@@ -119,15 +119,15 @@ class MakefileMaker: self.out( line ) self.out( "" ) - self.out( 'DESCRIPTION_python-modules="All Python modules"' ) - line = 'RDEPENDS_python-modules="' + self.out( 'DESCRIPTION_${PN}-modules="All Python modules"' ) + line = 'RDEPENDS_${PN}-modules="' for name, data in sorted(self.packages.iteritems()): - if name not in ['python-core-dbg', 'python-dev']: + if name not in ['${PN}-core-dbg', '${PN}-dev']: line += "%s " % name self.out( "%s \"" % line ) - self.out( 'ALLOW_EMPTY_python-modules = "1"' ) + self.out( 'ALLOW_EMPTY_${PN}-modules = "1"' ) def doEpilog( self ): self.out( """""" )
@@ -152,7 +152,7 @@ if __name__ == "__main__": # Parameters: revision, name, description, dependencies, filenames # - m.addPackage( "python-core", "Python Interpreter and core modules (needed!)", "", + m.addPackage( "${PN}-core", "Python Interpreter and core modules (needed!)", "", "__future__.* _abcoll.* abc.* copy.* copy_reg.* ConfigParser.* " + "genericpath.* getopt.* linecache.* new.* " + "os.* posixpath.* struct.* " +
@@ -161,202 +161,202 @@ if __name__ == "__main__": "lib-dynload/binascii.so lib-dynload/_struct.so lib-dynload/time.so " + "lib-dynload/xreadlines.so types.* platform.* ${bindir}/python*" ) - m.addPackage( "python-core-dbg", "Python core module debug information", "python-core", + m.addPackage( "${PN}-core-dbg", "Python core module debug information", "${PN}-core", "config/.debug lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug" ) - m.addPackage( "python-dev", "Python Development Package", "python-core", + m.addPackage( "${PN}-dev", "Python Development Package", "${PN}-core", "${includedir} ${libdir}/libpython2.6.so config" ) # package - m.addPackage( "python-idle", "Python Integrated Development Environment", "python-core python-tkinter", + m.addPackage( "${PN}-idle", "Python Integrated Development Environment", "${PN}-core ${PN}-tkinter", "${bindir}/idle idlelib" ) # package - m.addPackage( "python-pydoc", "Python Interactive Help Support", "python-core python-lang python-stringold python-re", + m.addPackage( "${PN}-pydoc", "Python Interactive Help Support", "${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re", "${bindir}/pydoc pydoc.*" ) - m.addPackage( "python-smtpd", "Python Simple Mail Transport Daemon", "python-core python-netserver python-email python-mime", + m.addPackage( "${PN}-smtpd", "Python Simple Mail Transport Daemon", "${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime", "${bindir}/smtpd.*" ) - m.addPackage( "python-audio", "Python Audio Handling", "python-core", + m.addPackage( "${PN}-audio", "Python Audio Handling", "${PN}-core", "wave.* chunk.* sndhdr.* lib-dynload/ossaudiodev.so lib-dynload/audioop.so" ) - m.addPackage( "python-bsddb", "Python Berkeley Database Bindings", "python-core", + m.addPackage( "${PN}-bsddb", "Python Berkeley Database Bindings", "${PN}-core", "bsddb lib-dynload/_bsddb.so" ) # package - m.addPackage( "python-codecs", "Python Codecs, Encodings & i18n Support", "python-core python-lang", + m.addPackage( "${PN}-codecs", "Python Codecs, Encodings & i18n Support", "${PN}-core ${PN}-lang", "codecs.* encodings gettext.* locale.* lib-dynload/_locale.so lib-dynload/unicodedata.so stringprep.* xdrlib.*" ) - m.addPackage( "python-compile", "Python Bytecode Compilation Support", "python-core", + m.addPackage( "${PN}-compile", "Python Bytecode Compilation Support", "${PN}-core", "py_compile.* compileall.*" ) - m.addPackage( "python-compiler", "Python Compiler Support", "python-core", + m.addPackage( "${PN}-compiler", "Python Compiler Support", "${PN}-core", "compiler" ) # package - m.addPackage( "python-compression", "Python High Level Compression Support", "python-core python-zlib", + m.addPackage( "${PN}-compression", "Python High Level Compression Support", "${PN}-core ${PN}-zlib", "gzip.* zipfile.* tarfile.* lib-dynload/bz2.so" ) - m.addPackage( "python-crypt", "Python Basic Cryptographic and Hashing Support", "python-core", + m.addPackage( "${PN}-crypt", "Python Basic Cryptographic and Hashing Support", "${PN}-core", "hashlib.* md5.* sha.* lib-dynload/crypt.so lib-dynload/_hashlib.so lib-dynload/_sha256.so lib-dynload/_sha512.so" ) - m.addPackage( "python-textutils", "Python Option Parsing, Text Wrapping and Comma-Separated-Value Support", "python-core python-io python-re python-stringold", + m.addPackage( "${PN}-textutils", "Python Option Parsing, Text Wrapping and Comma-Separated-Value Support", "${PN}-core ${PN}-io ${PN}-re ${PN}-stringold", "lib-dynload/_csv.so csv.* optparse.* textwrap.*" ) - m.addPackage( "python-curses", "Python Curses Support", "python-core", + m.addPackage( "${PN}-curses", "Python Curses Support", "${PN}-core", "curses lib-dynload/_curses.so lib-dynload/_curses_panel.so" ) # directory + low level module - m.addPackage( "python-ctypes", "Python C Types Support", "python-core", + m.addPackage( "${PN}-ctypes", "Python C Types Support", "${PN}-core", "ctypes lib-dynload/_ctypes.so" ) # directory + low level module - m.addPackage( "python-datetime", "Python Calendar and Time support", "python-core python-codecs", + m.addPackage( "${PN}-datetime", "Python Calendar and Time support", "${PN}-core ${PN}-codecs", "_strptime.* calendar.* lib-dynload/datetime.so" ) - m.addPackage( "python-db", "Python File-Based Database Support", "python-core", + m.addPackage( "${PN}-db", "Python File-Based Database Support", "${PN}-core", "anydbm.* dumbdbm.* whichdb.* " ) - m.addPackage( "python-debugger", "Python Debugger", "python-core python-io python-lang python-re python-stringold python-shell python-pprint", + m.addPackage( "${PN}-debugger", "Python Debugger", "${PN}-core ${PN}-io ${PN}-lang ${PN}-re ${PN}-stringold ${PN}-shell ${PN}-pprint", "bdb.* pdb.*" ) - m.addPackage( "python-difflib", "Python helpers for computing deltas between objects.", "python-lang python-re", + m.addPackage( "${PN}-difflib", "Python helpers for computing deltas between objects.", "${PN}-lang ${PN}-re", "difflib.*" ) - m.addPackage( "python-distutils", "Python Distribution Utilities", "python-core", + m.addPackage( "${PN}-distutils", "Python Distribution Utilities", "${PN}-core", "config distutils" ) # package - m.addPackage( "python-doctest", "Python framework for running examples in docstrings.", "python-core python-lang python-io python-re python-unittest python-debugger python-difflib", + m.addPackage( "${PN}-doctest", "Python framework for running examples in docstrings.", "${PN}-core ${PN}-lang ${PN}-io ${PN}-re ${PN}-unittest ${PN}-debugger ${PN}-difflib", "doctest.*" ) # FIXME consider adding to some higher level package - m.addPackage( "python-elementtree", "Python elementree", "python-core", + m.addPackage( "${PN}-elementtree", "Python elementree", "${PN}-core", "lib-dynload/_elementtree.so" ) - m.addPackage( "python-email", "Python Email Support", "python-core python-io python-re python-mime python-audio python-image python-netclient", + m.addPackage( "${PN}-email", "Python Email Support", "${PN}-core ${PN}-io ${PN}-re ${PN}-mime ${PN}-audio ${PN}-image ${PN}-netclient", "imaplib.* email" ) # package - m.addPackage( "python-fcntl", "Python's fcntl Interface", "python-core", + m.addPackage( "${PN}-fcntl", "Python's fcntl Interface", "${PN}-core", "lib-dynload/fcntl.so" ) - m.addPackage( "python-hotshot", "Python Hotshot Profiler", "python-core", + m.addPackage( "${PN}-hotshot", "Python Hotshot Profiler", "${PN}-core", "hotshot lib-dynload/_hotshot.so" ) - m.addPackage( "python-html", "Python HTML Processing", "python-core", + m.addPackage( "${PN}-html", "Python HTML Processing", "${PN}-core", "formatter.* htmlentitydefs.* htmllib.* markupbase.* sgmllib.* " ) - m.addPackage( "python-gdbm", "Python GNU Database Support", "python-core", + m.addPackage( "${PN}-gdbm", "Python GNU Database Support", "${PN}-core", "lib-dynload/gdbm.so" ) - m.addPackage( "python-image", "Python Graphical Image Handling", "python-core", + m.addPackage( "${PN}-image", "Python Graphical Image Handling", "${PN}-core", "colorsys.* imghdr.* lib-dynload/imageop.so lib-dynload/rgbimg.so" ) - m.addPackage( "python-io", "Python Low-Level I/O", "python-core python-math", + m.addPackage( "${PN}-io", "Python Low-Level I/O", "${PN}-core ${PN}-math", "lib-dynload/_socket.so lib-dynload/_ssl.so lib-dynload/select.so lib-dynload/termios.so lib-dynload/cStringIO.so " + "pipes.* socket.* ssl.* tempfile.* StringIO.* " ) - m.addPackage( "python-json", "Python JSON Support", "python-core python-math python-re", + m.addPackage( "${PN}-json", "Python JSON Support", "${PN}-core ${PN}-math ${PN}-re", "json" ) # package - m.addPackage( "python-lang", "Python Low-Level Language Support", "python-core", + m.addPackage( "${PN}-lang", "Python Low-Level Language Support", "${PN}-core", "lib-dynload/_bisect.so lib-dynload/_collections.so lib-dynload/_heapq.so lib-dynload/_weakref.so lib-dynload/_functools.so " + "lib-dynload/array.so lib-dynload/itertools.so lib-dynload/operator.so lib-dynload/parser.so " + "atexit.* bisect.* code.* codeop.* collections.* dis.* functools.* heapq.* inspect.* keyword.* opcode.* symbol.* repr.* token.* " + "tokenize.* traceback.* linecache.* weakref.*" ) - m.addPackage( "python-logging", "Python Logging Support", "python-core python-io python-lang python-pickle python-stringold", + m.addPackage( "${PN}-logging", "Python Logging Support", "${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-stringold", "logging" ) # package - m.addPackage( "python-mailbox", "Python Mailbox Format Support", "python-core python-mime", + m.addPackage( "${PN}-mailbox", "Python Mailbox Format Support", "${PN}-core ${PN}-mime", "mailbox.*" ) - m.addPackage( "python-math", "Python Math Support", "python-core", + m.addPackage( "${PN}-math", "Python Math Support", "${PN}-core", "lib-dynload/cmath.so lib-dynload/math.so lib-dynload/_random.so random.* sets.*" ) - m.addPackage( "python-mime", "Python MIME Handling APIs", "python-core python-io", + m.addPackage( "${PN}-mime", "Python MIME Handling APIs", "${PN}-core ${PN}-io", "mimetools.* uu.* quopri.* rfc822.*" ) - m.addPackage( "python-mmap", "Python Memory-Mapped-File Support", "python-core python-io", + m.addPackage( "${PN}-mmap", "Python Memory-Mapped-File Support", "${PN}-core ${PN}-io", "lib-dynload/mmap.so " ) - m.addPackage( "python-multiprocessing", "Python Multiprocessing Support", "python-core python-io python-lang", + m.addPackage( "${PN}-multiprocessing", "Python Multiprocessing Support", "${PN}-core ${PN}-io ${PN}-lang", "lib-dynload/_multiprocessing.so multiprocessing" ) # package - m.addPackage( "python-netclient", "Python Internet Protocol Clients", "python-core python-crypt python-datetime python-io python-lang python-logging python-mime", + m.addPackage( "${PN}-netclient", "Python Internet Protocol Clients", "${PN}-core ${PN}-crypt ${PN}-datetime ${PN}-io ${PN}-lang ${PN}-logging ${PN}-mime", "*Cookie*.* " + "base64.* cookielib.* ftplib.* gopherlib.* hmac.* httplib.* mimetypes.* nntplib.* poplib.* smtplib.* telnetlib.* urllib.* urllib2.* urlparse.* uuid.* rfc822.* mimetools.*" ) - m.addPackage( "python-netserver", "Python Internet Protocol Servers", "python-core python-netclient", + m.addPackage( "${PN}-netserver", "Python Internet Protocol Servers", "${PN}-core ${PN}-netclient", "cgi.* *HTTPServer.* SocketServer.*" ) - m.addPackage( "python-numbers", "Python Number APIs", "python-core python-lang python-re", + m.addPackage( "${PN}-numbers", "Python Number APIs", "${PN}-core ${PN}-lang ${PN}-re", "decimal.* numbers.*" ) - m.addPackage( "python-pickle", "Python Persistence Support", "python-core python-codecs python-io python-re", + m.addPackage( "${PN}-pickle", "Python Persistence Support", "${PN}-core ${PN}-codecs ${PN}-io ${PN}-re", "pickle.* shelve.* lib-dynload/cPickle.so" ) - m.addPackage( "python-pkgutil", "Python Package Extension Utility Support", "python-core", + m.addPackage( "${PN}-pkgutil", "Python Package Extension Utility Support", "${PN}-core", "pkgutil.*") - m.addPackage( "python-pprint", "Python Pretty-Print Support", "python-core", + m.addPackage( "${PN}-pprint", "Python Pretty-Print Support", "${PN}-core", "pprint.*" ) - m.addPackage( "python-profile", "Python Basic Profiling Support", "python-core python-textutils", + m.addPackage( "${PN}-profile", "Python Basic Profiling Support", "${PN}-core ${PN}-textutils", "profile.* pstats.* cProfile.* lib-dynload/_lsprof.so" ) - m.addPackage( "python-re", "Python Regular Expression APIs", "python-core", + m.addPackage( "${PN}-re", "Python Regular Expression APIs", "${PN}-core", "re.* sre.* sre_compile.* sre_constants* sre_parse.*" ) # _sre is builtin - m.addPackage( "python-readline", "Python Readline Support", "python-core", + m.addPackage( "${PN}-readline", "Python Readline Support", "${PN}-core", "lib-dynload/readline.so rlcompleter.*" ) - m.addPackage( "python-resource", "Python Resource Control Interface", "python-core", + m.addPackage( "${PN}-resource", "Python Resource Control Interface", "${PN}-core", "lib-dynload/resource.so" ) - m.addPackage( "python-shell", "Python Shell-Like Functionality", "python-core python-re", + m.addPackage( "${PN}-shell", "Python Shell-Like Functionality", "${PN}-core ${PN}-re", "cmd.* commands.* dircache.* fnmatch.* glob.* popen2.* shlex.* shutil.*" ) - m.addPackage( "python-robotparser", "Python robots.txt parser", "python-core python-netclient", + m.addPackage( "${PN}-robotparser", "Python robots.txt parser", "${PN}-core ${PN}-netclient", "robotparser.*") - m.addPackage( "python-subprocess", "Python Subprocess Support", "python-core python-io python-re python-fcntl python-pickle", + m.addPackage( "${PN}-subprocess", "Python Subprocess Support", "${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle", "subprocess.*" ) - m.addPackage( "python-sqlite3", "Python Sqlite3 Database Support", "python-core python-datetime python-lang python-crypt python-io python-threading python-zlib", + m.addPackage( "${PN}-sqlite3", "Python Sqlite3 Database Support", "${PN}-core ${PN}-datetime ${PN}-lang ${PN}-crypt ${PN}-io ${PN}-threading ${PN}-zlib", "lib-dynload/_sqlite3.so sqlite3/dbapi2.* sqlite3/__init__.* sqlite3/dump.*" ) - m.addPackage( "python-sqlite3-tests", "Python Sqlite3 Database Support Tests", "python-core python-sqlite3", + m.addPackage( "${PN}-sqlite3-tests", "Python Sqlite3 Database Support Tests", "${PN}-core ${PN}-sqlite3", "sqlite3/test" ) - m.addPackage( "python-stringold", "Python String APIs [deprecated]", "python-core python-re", + m.addPackage( "${PN}-stringold", "Python String APIs [deprecated]", "${PN}-core ${PN}-re", "lib-dynload/strop.so string.*" ) - m.addPackage( "python-syslog", "Python Syslog Interface", "python-core", + m.addPackage( "${PN}-syslog", "Python Syslog Interface", "${PN}-core", "lib-dynload/syslog.so" ) - m.addPackage( "python-terminal", "Python Terminal Controlling Support", "python-core python-io", + m.addPackage( "${PN}-terminal", "Python Terminal Controlling Support", "${PN}-core ${PN}-io", "pty.* tty.*" ) - m.addPackage( "python-tests", "Python Tests", "python-core", + m.addPackage( "${PN}-tests", "Python Tests", "${PN}-core", "test" ) # package - m.addPackage( "python-threading", "Python Threading & Synchronization Support", "python-core python-lang", + m.addPackage( "${PN}-threading", "Python Threading & Synchronization Support", "${PN}-core ${PN}-lang", "_threading_local.* dummy_thread.* dummy_threading.* mutex.* threading.* Queue.*" ) - m.addPackage( "python-tkinter", "Python Tcl/Tk Bindings", "python-core", + m.addPackage( "${PN}-tkinter", "Python Tcl/Tk Bindings", "${PN}-core", "lib-dynload/_tkinter.so lib-tk" ) # package - m.addPackage( "python-unittest", "Python Unit Testing Framework", "python-core python-stringold python-lang", + m.addPackage( "${PN}-unittest", "Python Unit Testing Framework", "${PN}-core ${PN}-stringold ${PN}-lang", "unittest.*" ) - m.addPackage( "python-unixadmin", "Python Unix Administration Support", "python-core", + m.addPackage( "${PN}-unixadmin", "Python Unix Administration Support", "${PN}-core", "lib-dynload/nis.so lib-dynload/grp.so lib-dynload/pwd.so getpass.*" ) - m.addPackage( "python-xml", "Python basic XML support.", "python-core python-re", + m.addPackage( "${PN}-xml", "Python basic XML support.", "${PN}-core ${PN}-re", "lib-dynload/pyexpat.so xml xmllib.*" ) # package - m.addPackage( "python-xmlrpc", "Python XMLRPC Support", "python-core python-xml python-netserver python-lang", + m.addPackage( "${PN}-xmlrpc", "Python XMLRPC Support", "${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang", "xmlrpclib.* SimpleXMLRPCServer.*" ) - m.addPackage( "python-zlib", "Python zlib Support.", "python-core", + m.addPackage( "${PN}-zlib", "Python zlib Support.", "${PN}-core", "lib-dynload/zlib.so" ) - m.addPackage( "python-mailbox", "Python Mailbox Format Support", "python-core python-mime", + m.addPackage( "${PN}-mailbox", "Python Mailbox Format Support", "${PN}-core ${PN}-mime", "mailbox.*" ) m.make()
recipes/python/python-2.6-manifest.inc +197 -197
465 lines not on this page · raw message
Signature · 1 line
1.7.4.1
PATCH 5/5 python: generate-manifest-2.6.py, update few entries
In reply to Martin Jansa* config was in python-dev as well as python-distutils, keep in distutils
* linecache.* was in python-core as well as python-lang, keep in core
--- contrib/python/generate-manifest-2.6.py | 4 ++-- recipes/python/python-2.6-manifest.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
contrib/python/generate-manifest-2.6.py +2 -2
@@ -165,7 +165,7 @@ if __name__ == "__main__": "config/.debug lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug" ) m.addPackage( "${PN}-dev", "Python Development Package", "${PN}-core", - "${includedir} ${libdir}/libpython2.6.so config" ) # package + "${includedir} ${libdir}/libpython2.6.so" ) # package m.addPackage( "${PN}-idle", "Python Integrated Development Environment", "${PN}-core ${PN}-tkinter", "${bindir}/idle idlelib" ) # package
@@ -257,7 +257,7 @@ if __name__ == "__main__": "lib-dynload/_bisect.so lib-dynload/_collections.so lib-dynload/_heapq.so lib-dynload/_weakref.so lib-dynload/_functools.so " + "lib-dynload/array.so lib-dynload/itertools.so lib-dynload/operator.so lib-dynload/parser.so " + "atexit.* bisect.* code.* codeop.* collections.* dis.* functools.* heapq.* inspect.* keyword.* opcode.* symbol.* repr.* token.* " + - "tokenize.* traceback.* linecache.* weakref.*" ) + "tokenize.* traceback.* weakref.*" ) m.addPackage( "${PN}-logging", "Python Logging Support", "${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-stringold", "logging" ) # package
recipes/python/python-2.6-manifest.inc +2 -2
@@ -67,7 +67,7 @@ FILES_${PN}-debugger="${libdir}/python2.6/bdb.* ${libdir}/python2.6/pdb.* " DESCRIPTION_${PN}-dev="Python Development Package" RDEPENDS_${PN}-dev="${PN}-core" -FILES_${PN}-dev="${includedir} ${libdir}/libpython2.6.so ${libdir}/python2.6/config " +FILES_${PN}-dev="${includedir} ${libdir}/libpython2.6.so " DESCRIPTION_${PN}-difflib="Python helpers for computing deltas between objects." RDEPENDS_${PN}-difflib="${PN}-lang ${PN}-re"
@@ -123,7 +123,7 @@ FILES_${PN}-json="${libdir}/python2.6/json " DESCRIPTION_${PN}-lang="Python Low-Level Language Support" RDEPENDS_${PN}-lang="${PN}-core" -FILES_${PN}-lang="${libdir}/python2.6/lib-dynload/_bisect.so ${libdir}/python2.6/lib-dynload/_collections.so ${libdir}/python2.6/lib-dynload/_heapq.so ${libdir}/python2.6/lib-dynload/_weakref.so ${libdir}/python2.6/lib-dynload/_functools.so ${libdir}/python2.6/lib-dynload/array.so ${libdir}/python2.6/lib-dynload/itertools.so ${libdir}/python2.6/lib-dynload/operator.so ${libdir}/python2.6/lib-dynload/parser.so ${libdir}/python2.6/atexit.* ${libdir}/python2.6/bisect.* ${libdir}/python2.6/code.* ${libdir}/python2.6/codeop.* ${libdir}/python2.6/collections.* ${libdir}/python2.6/dis.* ${libdir}/python2.6/functools.* ${libdir}/python2.6/heapq.* ${libdir}/python2.6/inspect.* ${libdir}/python2.6/keyword.* ${libdir}/python2.6/opcode.* ${libdir}/python2.6/symbol.* ${libdir}/python2.6/repr.* ${libdir}/python2.6/token.* ${libdir}/python2.6/tokenize.* ${libdir}/python2.6/traceback.* ${libdir}/python2.6/linecache.* ${libdir}/python2.6/weakref.* " +FILES_${PN}-lang="${libdir}/python2.6/lib-dynload/_bisect.so ${libdir}/python2.6/lib-dynload/_collections.so ${libdir}/python2.6/lib-dynload/_heapq.so ${libdir}/python2.6/lib-dynload/_weakref.so ${libdir}/python2.6/lib-dynload/_functools.so ${libdir}/python2.6/lib-dynload/array.so ${libdir}/python2.6/lib-dynload/itertools.so ${libdir}/python2.6/lib-dynload/operator.so ${libdir}/python2.6/lib-dynload/parser.so ${libdir}/python2.6/atexit.* ${libdir}/python2.6/bisect.* ${libdir}/python2.6/code.* ${libdir}/python2.6/codeop.* ${libdir}/python2.6/collections.* ${libdir}/python2.6/dis.* ${libdir}/python2.6/functools.* ${libdir}/python2.6/heapq.* ${libdir}/python2.6/inspect.* ${libdir}/python2.6/keyword.* ${libdir}/python2.6/opcode.* ${libdir}/python2.6/symbol.* ${libdir}/python2.6/repr.* ${libdir}/python2.6/token.* ${libdir}/python2.6/tokenize.* ${libdir}/python2.6/traceback.* ${libdir}/python2.6/weakref.* " DESCRIPTION_${PN}-logging="Python Logging Support" RDEPENDS_${PN}-logging="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-stringold"
Signature · 1 line
1.7.4.1