python: import 2.6.5 from poky
PATCH 1/2 python: import 2.6.5 from poky
* without legacy staging
* fix QA issue libpython2: non -dev package contains symlink .so: libpython2 path
* use FILESPATHPKG
--- recipes/python/python-2.6-manifest.inc | 12 +- .../00-fix-bindir-libdir-for-cross.patch | 20 +++ .../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/nohostlibs.patch | 53 ++++++++ recipes/python/python-2.6.5/sitecustomize.py | 45 +++++++ recipes/python/python-native_2.6.5.bb | 35 ++++++ recipes/python/python.inc | 2 +- recipes/python/python_2.6.5.bb | 126 ++++++++++++++++++++ 18 files changed, 784 insertions(+), 7 deletions(-) create mode 100644 recipes/python/python-2.6.5/00-fix-bindir-libdir-for-cross.patch create mode 100644 recipes/python/python-2.6.5/01-use-proper-tools-for-cross-build.patch create mode 100644 recipes/python/python-2.6.5/02-remove-test-for-cross.patch create mode 100644 recipes/python/python-2.6.5/03-fix-tkinter-detection.patch create mode 100644 recipes/python/python-2.6.5/04-default-is-optimized.patch create mode 100644 recipes/python/python-2.6.5/05-enable-ctypes-cross-build.patch create mode 100644 recipes/python/python-2.6.5/06-ctypes-libffi-fix-configure.patch create mode 100644 recipes/python/python-2.6.5/10-distutils-fix-swig-parameter.patch create mode 100644 recipes/python/python-2.6.5/11-distutils-never-modify-shebang-line.patch create mode 100644 recipes/python/python-2.6.5/12-distutils-prefix-is-inside-staging-area.patch create mode 100644 recipes/python/python-2.6.5/99-ignore-optimization-flag.patch create mode 100644 recipes/python/python-2.6.5/debug.patch create mode 100644 recipes/python/python-2.6.5/nohostlibs.patch create mode 100644 recipes/python/python-2.6.5/sitecustomize.py create mode 100644 recipes/python/python-native_2.6.5.bb create mode 100644 recipes/python/python_2.6.5.bb
recipes/python/python-2.6-manifest.inc +6 -6
@@ -5,9 +5,9 @@ -PROVIDES+="python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-core-dbg python-resource python-json python-devel python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " +PROVIDES+="python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-core-dbg python-resource python-json python-dev python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " -PACKAGES="python-core-dbg python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-devel python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio python-modules" +PACKAGES="python-core-dbg python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-dev python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio python-modules" DESCRIPTION_python-profile="Python Basic Profiling Support" RDEPENDS_python-profile="python-core python-textutils"
@@ -97,9 +97,9 @@ DESCRIPTION_python-json="Python JSON Support" RDEPENDS_python-json="python-core python-math python-re" FILES_python-json="${libdir}/python2.6/json " -DESCRIPTION_python-devel="Python Development Package" -RDEPENDS_python-devel="python-core" -FILES_python-devel="${includedir} ${libdir}/libpython2.6.so ${libdir}/python2.6/config " +DESCRIPTION_python-dev="Python Development Package" +RDEPENDS_python-dev="python-core" +FILES_python-dev="${includedir} ${libdir}/libpython2.6.so ${libdir}/python2.6/config " DESCRIPTION_python-difflib="Python helpers for computing deltas between objects." RDEPENDS_python-difflib="python-lang python-re"
@@ -266,7 +266,7 @@ RDEPENDS_python-audio="python-core" FILES_python-audio="${libdir}/python2.6/wave.* ${libdir}/python2.6/chunk.* ${libdir}/python2.6/sndhdr.* ${libdir}/python2.6/lib-dynload/ossaudiodev.so ${libdir}/python2.6/lib-dynload/audioop.so " DESCRIPTION_python-modules="All Python modules" -RDEPENDS_python-modules="python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-devel python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " +RDEPENDS_python-modules="python-profile python-threading python-distutils python-doctest python-stringold python-codecs python-ctypes python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-tests python-resource python-json python-dev python-difflib python-math python-syslog python-hotshot python-unixadmin python-textutils python-tkinter python-gdbm python-elementtree python-fcntl python-netclient python-pprint python-netserver python-curses python-smtpd python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-sqlite3 python-sqlite3-tests python-unittest python-multiprocessing python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-numbers python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " ALLOW_EMPTY_python-modules = "1"
recipes/python/python-2.6.5/00-fix-bindir-libdir-for-cross.patch new file +20 -0
@@ -0,0 +1,20 @@ +# $(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/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.5/02-remove-test-for-cross.patch new file +106 -0
106 lines not on this page · raw message
recipes/python/python-2.6.5/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.5/04-default-is-optimized.patch new file +18 -0
@@ -0,0 +1,18 @@ +# 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 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.5/06-ctypes-libffi-fix-configure.patch new file +51 -0
51 lines not on this page · raw message
recipes/python/python-2.6.5/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.5/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.5/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.5/99-ignore-optimization-flag.patch new file +18 -0
@@ -0,0 +1,18 @@ +# 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 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.5/nohostlibs.patch new file +53 -0
53 lines not on this page · raw message
recipes/python/python-2.6.5/sitecustomize.py new file +45 -0
45 lines not on this page · raw message
recipes/python/python-native_2.6.5.bb new file +35 -0
@@ -0,0 +1,35 @@ +require python.inc +DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native sqlite3-native" +PR = "${INC_PR}.0" + +FILESPATHPKG .= ":python-${PV}:python" +SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ + file://00-fix-bindir-libdir-for-cross.patch \ + file://04-default-is-optimized.patch \ + file://05-enable-ctypes-cross-build.patch \ + file://06-ctypes-libffi-fix-configure.patch \ + file://10-distutils-fix-swig-parameter.patch \ + file://11-distutils-never-modify-shebang-line.patch \ + file://12-distutils-prefix-is-inside-staging-area.patch \ + file://debug.patch \ + file://nohostlibs.patch" +SRC_URI[md5sum] = "6bef0417e71a1a1737ccf5750420fdb3" +SRC_URI[sha256sum] = "62da62eb685621ede2be1275f11b89fa0e0be578db8daa5320d0a7855c0a9ebc" + +S = "${WORKDIR}/Python-${PV}" + +inherit native + +EXTRA_OEMAKE = '\ + BUILD_SYS="" \ + HOST_SYS="" \ + LIBC="" \ + STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE} \ + STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \ +' + +do_install() { + oe_runmake 'DESTDIR=${D}' install + install -d ${D}${bindir}/ + install -m 0755 Parser/pgen ${D}${bindir}/ +}
recipes/python/python.inc +1 -1
@@ -4,7 +4,7 @@ LICENSE = "PSF" SECTION = "devel/python" PRIORITY = "optional" # bump this on every change in contrib/python/generate-manifest-2.6.py -INC_PR = "ml10" +INC_PR = "ml11" DEFAULT_PREFERENCE = "-26"
recipes/python/python_2.6.5.bb new file +126 -0
126 lines not on this page · raw message
Signature · 1 line
1.7.2
PATCH 2/2 python: move 2.6.[124] to obsolete, move all distributions to 2.6.5
--- .../include/angstrom-2008-preferred-versions.inc | 1 - .../include/kaeilos-2009-preferred-versions.inc | 1 - .../00-fix-bindir-libdir-for-cross.patch | 20 +++ .../01-use-proper-tools-for-cross-build.patch | 116 +++++++++++++++++ .../python-2.6.1/02-remove-test-for-cross.patch | 94 ++++++++++++++ .../python-2.6.1/03-fix-tkinter-detection.patch | 40 ++++++ .../python-2.6.1/04-default-is-optimized.patch | 52 ++++++++ .../05-enable-ctypes-cross-build.patch | 28 ++++ .../python/python-2.6.1/07-export-grammer.patch | 10 ++ .../python-2.6.1/99-ignore-optimization-flag.patch | 19 +++ .../obsolete/python/python-2.6.1/sitecustomize.py | 45 +++++++ .../00-fix-bindir-libdir-for-cross.patch | 20 +++ .../01-use-proper-tools-for-cross-build.patch | 116 +++++++++++++++++ .../python-2.6.2/02-remove-test-for-cross.patch | 94 ++++++++++++++ .../python-2.6.2/03-fix-tkinter-detection.patch | 40 ++++++ .../python-2.6.2/04-default-is-optimized.patch | 52 ++++++++ .../05-enable-ctypes-cross-build.patch | 28 ++++ .../python-2.6.2/99-ignore-optimization-flag.patch | 19 +++ .../obsolete/python/python-2.6.2/sitecustomize.py | 45 +++++++ .../00-fix-bindir-libdir-for-cross.patch | 20 +++ .../01-use-proper-tools-for-cross-build.patch | 116 +++++++++++++++++ .../python-2.6.4/02-remove-test-for-cross.patch | 94 ++++++++++++++ .../python-2.6.4/03-fix-tkinter-detection.patch | 40 ++++++ .../python-2.6.4/04-default-is-optimized.patch | 52 ++++++++ .../05-enable-ctypes-cross-build.patch | 28 ++++ .../06-ctypes-libffi-fix-configure.patch | 51 ++++++++ .../python-2.6.4/99-ignore-optimization-flag.patch | 19 +++ .../obsolete/python/python-2.6.4/sitecustomize.py | 45 +++++++ recipes/obsolete/python/python_2.6.1.bb | 113 +++++++++++++++++ recipes/obsolete/python/python_2.6.2.bb | 130 +++++++++++++++++++ recipes/obsolete/python/python_2.6.4.bb | 131 ++++++++++++++++++++ .../00-fix-bindir-libdir-for-cross.patch | 20 --- .../01-use-proper-tools-for-cross-build.patch | 116 ----------------- .../python-2.6.1/02-remove-test-for-cross.patch | 94 -------------- .../python-2.6.1/03-fix-tkinter-detection.patch | 40 ------ .../python-2.6.1/04-default-is-optimized.patch | 52 -------- .../05-enable-ctypes-cross-build.patch | 28 ---- .../python/python-2.6.1/07-export-grammer.patch | 10 -- .../python-2.6.1/99-ignore-optimization-flag.patch | 19 --- recipes/python/python-2.6.1/sitecustomize.py | 45 ------- .../00-fix-bindir-libdir-for-cross.patch | 20 --- .../01-use-proper-tools-for-cross-build.patch | 116 ----------------- .../python-2.6.2/02-remove-test-for-cross.patch | 94 -------------- .../python-2.6.2/03-fix-tkinter-detection.patch | 40 ------ .../python-2.6.2/04-default-is-optimized.patch | 52 -------- .../05-enable-ctypes-cross-build.patch | 28 ---- .../python-2.6.2/99-ignore-optimization-flag.patch | 19 --- recipes/python/python-2.6.2/sitecustomize.py | 45 ------- .../00-fix-bindir-libdir-for-cross.patch | 20 --- .../01-use-proper-tools-for-cross-build.patch | 116 ----------------- .../python-2.6.4/02-remove-test-for-cross.patch | 94 -------------- .../python-2.6.4/03-fix-tkinter-detection.patch | 40 ------ .../python-2.6.4/04-default-is-optimized.patch | 52 -------- .../05-enable-ctypes-cross-build.patch | 28 ---- .../06-ctypes-libffi-fix-configure.patch | 51 -------- .../python-2.6.4/99-ignore-optimization-flag.patch | 19 --- recipes/python/python-2.6.4/sitecustomize.py | 45 ------- recipes/python/python_2.6.1.bb | 113 ----------------- recipes/python/python_2.6.2.bb | 130 ------------------- recipes/python/python_2.6.4.bb | 131 -------------------- 60 files changed, 1677 insertions(+), 1679 deletions(-) create mode 100644 recipes/obsolete/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch create mode 100644 recipes/obsolete/python/python-2.6.1/01-use-proper-tools-for-cross-build.patch create mode 100644 recipes/obsolete/python/python-2.6.1/02-remove-test-for-cross.patch create mode 100644 recipes/obsolete/python/python-2.6.1/03-fix-tkinter-detection.patch create mode 100644 recipes/obsolete/python/python-2.6.1/04-default-is-optimized.patch create mode 100644 recipes/obsolete/python/python-2.6.1/05-enable-ctypes-cross-build.patch create mode 100644 recipes/obsolete/python/python-2.6.1/07-export-grammer.patch create mode 100644 recipes/obsolete/python/python-2.6.1/99-ignore-optimization-flag.patch create mode 100644 recipes/obsolete/python/python-2.6.1/sitecustomize.py create mode 100644 recipes/obsolete/python/python-2.6.2/00-fix-bindir-libdir-for-cross.patch create mode 100644 recipes/obsolete/python/python-2.6.2/01-use-proper-tools-for-cross-build.patch create mode 100644 recipes/obsolete/python/python-2.6.2/02-remove-test-for-cross.patch create mode 100644 recipes/obsolete/python/python-2.6.2/03-fix-tkinter-detection.patch create mode 100644 recipes/obsolete/python/python-2.6.2/04-default-is-optimized.patch create mode 100644 recipes/obsolete/python/python-2.6.2/05-enable-ctypes-cross-build.patch create mode 100644 recipes/obsolete/python/python-2.6.2/99-ignore-optimization-flag.patch create mode 100644 recipes/obsolete/python/python-2.6.2/sitecustomize.py create mode 100644 recipes/obsolete/python/python-2.6.4/00-fix-bindir-libdir-for-cross.patch create mode 100644 recipes/obsolete/python/python-2.6.4/01-use-proper-tools-for-cross-build.patch create mode 100644 recipes/obsolete/python/python-2.6.4/02-remove-test-for-cross.patch create mode 100644 recipes/obsolete/python/python-2.6.4/03-fix-tkinter-detection.patch create mode 100644 recipes/obsolete/python/python-2.6.4/04-default-is-optimized.patch create mode 100644 recipes/obsolete/python/python-2.6.4/05-enable-ctypes-cross-build.patch create mode 100644 recipes/obsolete/python/python-2.6.4/06-ctypes-libffi-fix-configure.patch create mode 100644 recipes/obsolete/python/python-2.6.4/99-ignore-optimization-flag.patch create mode 100644 recipes/obsolete/python/python-2.6.4/sitecustomize.py create mode 100644 recipes/obsolete/python/python_2.6.1.bb create mode 100644 recipes/obsolete/python/python_2.6.2.bb create mode 100644 recipes/obsolete/python/python_2.6.4.bb delete mode 100644 recipes/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch delete mode 100644 recipes/python/python-2.6.1/01-use-proper-tools-for-cross-build.patch delete mode 100644 recipes/python/python-2.6.1/02-remove-test-for-cross.patch delete mode 100644 recipes/python/python-2.6.1/03-fix-tkinter-detection.patch delete mode 100644 recipes/python/python-2.6.1/04-default-is-optimized.patch delete mode 100644 recipes/python/python-2.6.1/05-enable-ctypes-cross-build.patch delete mode 100644 recipes/python/python-2.6.1/07-export-grammer.patch delete mode 100644 recipes/python/python-2.6.1/99-ignore-optimization-flag.patch delete mode 100644 recipes/python/python-2.6.1/sitecustomize.py delete mode 100644 recipes/python/python-2.6.2/00-fix-bindir-libdir-for-cross.patch delete mode 100644 recipes/python/python-2.6.2/01-use-proper-tools-for-cross-build.patch delete mode 100644 recipes/python/python-2.6.2/02-remove-test-for-cross.patch delete mode 100644 recipes/python/python-2.6.2/03-fix-tkinter-detection.patch delete mode 100644 recipes/python/python-2.6.2/04-default-is-optimized.patch delete mode 100644 recipes/python/python-2.6.2/05-enable-ctypes-cross-build.patch delete mode 100644 recipes/python/python-2.6.2/99-ignore-optimization-flag.patch delete mode 100644 recipes/python/python-2.6.2/sitecustomize.py delete mode 100644 recipes/python/python-2.6.4/00-fix-bindir-libdir-for-cross.patch delete mode 100644 recipes/python/python-2.6.4/01-use-proper-tools-for-cross-build.patch delete mode 100644 recipes/python/python-2.6.4/02-remove-test-for-cross.patch delete mode 100644 recipes/python/python-2.6.4/03-fix-tkinter-detection.patch delete mode 100644 recipes/python/python-2.6.4/04-default-is-optimized.patch delete mode 100644 recipes/python/python-2.6.4/05-enable-ctypes-cross-build.patch delete mode 100644 recipes/python/python-2.6.4/06-ctypes-libffi-fix-configure.patch delete mode 100644 recipes/python/python-2.6.4/99-ignore-optimization-flag.patch delete mode 100644 recipes/python/python-2.6.4/sitecustomize.py delete mode 100644 recipes/python/python_2.6.1.bb delete mode 100644 recipes/python/python_2.6.2.bb delete mode 100644 recipes/python/python_2.6.4.bb
conf/distro/include/angstrom-2008-preferred-versions.inc +0 -1
@@ -45,7 +45,6 @@ PREFERRED_VERSION_pango-native = "1.24.4" PREFERRED_VERSION_pkgconfig = "0.23" PREFERRED_VERSION_pkgconfig-native = "0.23" PREFERRED_VERSION_pulseaudio = "0.9.15" -PREFERRED_VERSION_python = "2.6.4" PREFERRED_VERSION_python-pycairo = "1.8.0" PREFERRED_VERSION_qt4-tools-native = "${ANGSTROM_QT_VERSION}" PREFERRED_VERSION_qt4-tools-sdk = "${ANGSTROM_QT_VERSION}"
conf/distro/include/kaeilos-2009-preferred-versions.inc +0 -1
@@ -50,7 +50,6 @@ PREFERRED_VERSION_pango-native = "1.24.4" PREFERRED_VERSION_pkgconfig = "0.23" PREFERRED_VERSION_pkgconfig-native = "0.23" PREFERRED_VERSION_pulseaudio = "0.9.15" -PREFERRED_VERSION_python = "2.6.4" PREFERRED_VERSION_python-pycairo = "1.8.0" KAEILOS_WX_VERSION ?= "2.8.10"
recipes/obsolete/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch new file +20 -0
@@ -0,0 +1,20 @@ +# $(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/obsolete/python/python-2.6.1/01-use-proper-tools-for-cross-build.patch new file +116 -0
116 lines not on this page · raw message
recipes/obsolete/python/python-2.6.1/02-remove-test-for-cross.patch new file +94 -0
94 lines not on this page · raw message
recipes/obsolete/python/python-2.6.1/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/obsolete/python/python-2.6.1/04-default-is-optimized.patch new file +52 -0
52 lines not on this page · raw message
recipes/obsolete/python/python-2.6.1/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/obsolete/python/python-2.6.1/07-export-grammer.patch new file +10 -0
@@ -0,0 +1,10 @@ +--- Python-2.6.1.orig/Parser/printgrammar.c 2008-04-13 15:35:56.000000000 -0500 ++++ Python-2.6.1/Parser/printgrammar.c 2008-12-28 00:01:28.675633800 -0600 +@@ -16,6 +16,7 @@ + fprintf(fp, "/* Generated by Parser/pgen */\n\n"); + fprintf(fp, "#include \"pgenheaders.h\"\n"); + fprintf(fp, "#include \"grammar.h\"\n"); ++ fprintf(fp, "PyAPI_DATA(grammar) _PyParser_Grammar;\n"); + printdfas(g, fp); + printlabels(g, fp); + fprintf(fp, "grammar _PyParser_Grammar = {\n");
recipes/obsolete/python/python-2.6.1/99-ignore-optimization-flag.patch new file +19 -0
@@ -0,0 +1,19 @@ +# 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]> + +Index: Python-2.6.1/Modules/main.c +=================================================================== +--- Python-2.6.1-orig/Modules/main.c ++++ Python-2.6.1/Modules/main.c +@@ -352,6 +352,9 @@ Py_Main(int argc, char **argv) + + /* case 'J': reserved for Jython */ + ++ case 'O': /* ignore it */ ++ break; ++ + case 'N': + Py_OptimizeFlag=0; + break;
recipes/obsolete/python/python-2.6.1/sitecustomize.py new file +45 -0
45 lines not on this page · raw message
recipes/obsolete/python/python-2.6.2/00-fix-bindir-libdir-for-cross.patch new file +20 -0
@@ -0,0 +1,20 @@ +# $(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/obsolete/python/python-2.6.2/01-use-proper-tools-for-cross-build.patch new file +116 -0
116 lines not on this page · raw message
recipes/obsolete/python/python-2.6.2/02-remove-test-for-cross.patch new file +94 -0
94 lines not on this page · raw message
recipes/obsolete/python/python-2.6.2/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/obsolete/python/python-2.6.2/04-default-is-optimized.patch new file +52 -0
52 lines not on this page · raw message
recipes/obsolete/python/python-2.6.2/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/obsolete/python/python-2.6.2/99-ignore-optimization-flag.patch new file +19 -0
@@ -0,0 +1,19 @@ +# 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]> + +Index: Python-2.6.1/Modules/main.c +=================================================================== +--- Python-2.6.1-orig/Modules/main.c ++++ Python-2.6.1/Modules/main.c +@@ -352,6 +352,9 @@ Py_Main(int argc, char **argv) + + /* case 'J': reserved for Jython */ + ++ case 'O': /* ignore it */ ++ break; ++ + case 'N': + Py_OptimizeFlag=0; + break;
recipes/obsolete/python/python-2.6.2/sitecustomize.py new file +45 -0
45 lines not on this page · raw message
recipes/obsolete/python/python-2.6.4/00-fix-bindir-libdir-for-cross.patch new file +20 -0
@@ -0,0 +1,20 @@ +# $(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/obsolete/python/python-2.6.4/01-use-proper-tools-for-cross-build.patch new file +116 -0
116 lines not on this page · raw message
recipes/obsolete/python/python-2.6.4/02-remove-test-for-cross.patch new file +94 -0
94 lines not on this page · raw message
recipes/obsolete/python/python-2.6.4/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/obsolete/python/python-2.6.4/04-default-is-optimized.patch new file +52 -0
52 lines not on this page · raw message
recipes/obsolete/python/python-2.6.4/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/obsolete/python/python-2.6.4/06-ctypes-libffi-fix-configure.patch new file +51 -0
51 lines not on this page · raw message
recipes/obsolete/python/python-2.6.4/99-ignore-optimization-flag.patch new file +19 -0
@@ -0,0 +1,19 @@ +# 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]> + +Index: Python-2.6.1/Modules/main.c +=================================================================== +--- Python-2.6.1-orig/Modules/main.c ++++ Python-2.6.1/Modules/main.c +@@ -352,6 +352,9 @@ Py_Main(int argc, char **argv) + + /* case 'J': reserved for Jython */ + ++ case 'O': /* ignore it */ ++ break; ++ + case 'N': + Py_OptimizeFlag=0; + break;
recipes/obsolete/python/python-2.6.4/sitecustomize.py new file +45 -0
45 lines not on this page · raw message
recipes/obsolete/python/python_2.6.1.bb new file +113 -0
113 lines not on this page · raw message
recipes/obsolete/python/python_2.6.2.bb new file +130 -0
130 lines not on this page · raw message
recipes/obsolete/python/python_2.6.4.bb new file +131 -0
131 lines not on this page · raw message
recipes/python/python-2.6.1/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.1/01-use-proper-tools-for-cross-build.patch deleted +0 -116
116 lines not on this page · raw message
recipes/python/python-2.6.1/02-remove-test-for-cross.patch deleted +0 -94
94 lines not on this page · raw message
recipes/python/python-2.6.1/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.1/04-default-is-optimized.patch deleted +0 -52
52 lines not on this page · raw message
recipes/python/python-2.6.1/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.1/07-export-grammer.patch deleted +0 -10
@@ -1,10 +0,0 @@ ---- Python-2.6.1.orig/Parser/printgrammar.c 2008-04-13 15:35:56.000000000 -0500 -+++ Python-2.6.1/Parser/printgrammar.c 2008-12-28 00:01:28.675633800 -0600 -@@ -16,6 +16,7 @@ - fprintf(fp, "/* Generated by Parser/pgen */\n\n"); - fprintf(fp, "#include \"pgenheaders.h\"\n"); - fprintf(fp, "#include \"grammar.h\"\n"); -+ fprintf(fp, "PyAPI_DATA(grammar) _PyParser_Grammar;\n"); - printdfas(g, fp); - printlabels(g, fp); - fprintf(fp, "grammar _PyParser_Grammar = {\n");
recipes/python/python-2.6.1/99-ignore-optimization-flag.patch deleted +0 -19
@@ -1,19 +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]> - -Index: Python-2.6.1/Modules/main.c -=================================================================== ---- Python-2.6.1-orig/Modules/main.c -+++ Python-2.6.1/Modules/main.c -@@ -352,6 +352,9 @@ Py_Main(int argc, char **argv) - - /* case 'J': reserved for Jython */ - -+ case 'O': /* ignore it */ -+ break; -+ - case 'N': - Py_OptimizeFlag=0; - break;
recipes/python/python-2.6.1/sitecustomize.py deleted +0 -45
45 lines not on this page · raw message
recipes/python/python-2.6.2/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.2/01-use-proper-tools-for-cross-build.patch deleted +0 -116
116 lines not on this page · raw message
recipes/python/python-2.6.2/02-remove-test-for-cross.patch deleted +0 -94
94 lines not on this page · raw message
recipes/python/python-2.6.2/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.2/04-default-is-optimized.patch deleted +0 -52
52 lines not on this page · raw message
recipes/python/python-2.6.2/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.2/99-ignore-optimization-flag.patch deleted +0 -19
@@ -1,19 +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]> - -Index: Python-2.6.1/Modules/main.c -=================================================================== ---- Python-2.6.1-orig/Modules/main.c -+++ Python-2.6.1/Modules/main.c -@@ -352,6 +352,9 @@ Py_Main(int argc, char **argv) - - /* case 'J': reserved for Jython */ - -+ case 'O': /* ignore it */ -+ break; -+ - case 'N': - Py_OptimizeFlag=0; - break;
recipes/python/python-2.6.2/sitecustomize.py deleted +0 -45
45 lines not on this page · raw message
recipes/python/python-2.6.4/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.4/01-use-proper-tools-for-cross-build.patch deleted +0 -116
116 lines not on this page · raw message
recipes/python/python-2.6.4/02-remove-test-for-cross.patch deleted +0 -94
94 lines not on this page · raw message
recipes/python/python-2.6.4/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.4/04-default-is-optimized.patch deleted +0 -52
52 lines not on this page · raw message
recipes/python/python-2.6.4/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.4/06-ctypes-libffi-fix-configure.patch deleted +0 -51
51 lines not on this page · raw message
recipes/python/python-2.6.4/99-ignore-optimization-flag.patch deleted +0 -19
@@ -1,19 +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]> - -Index: Python-2.6.1/Modules/main.c -=================================================================== ---- Python-2.6.1-orig/Modules/main.c -+++ Python-2.6.1/Modules/main.c -@@ -352,6 +352,9 @@ Py_Main(int argc, char **argv) - - /* case 'J': reserved for Jython */ - -+ case 'O': /* ignore it */ -+ break; -+ - case 'N': - Py_OptimizeFlag=0; - break;
recipes/python/python-2.6.4/sitecustomize.py deleted +0 -45
45 lines not on this page · raw message
recipes/python/python_2.6.1.bb deleted +0 -113
6 lines not on this page · raw message
recipes/python/python_2.6.2.bb deleted +0 -130
130 lines not on this page · raw message
recipes/python/python_2.6.4.bb deleted +0 -131
131 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.2
Part of the diff is not shown here. View the raw message.