From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/python/divmod.inc | 17 ++ .../files/06-libffi-enable-default-mips.patch | 12 + .../python/files/pyrex-fix-optimized-mode.patch | 13 + recipes/python/fix-path.inc | 22 ++ recipes/python/python-2.6-manifest.inc | 263 +++++++++++++++++++ .../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-2.6.1/99-ignore-optimization-flag.patch | 19 ++ recipes/python/python-2.6.1/sitecustomize.py | 45 ++++ recipes/python/python-ao_0.82.bb | 19 ++ recipes/python/python-cheetah_2.0.1.bb | 13 + recipes/python/python-coherence_0.6.2.bb | 20 ++ recipes/python/python-coherence_svn.bb | 25 ++ recipes/python/python-configobj_4.5.3.bb | 10 + recipes/python/python-connexion_svn.bb | 29 +++ recipes/python/python-constraint_1.1.bb | 13 + recipes/python/python-cython-native_0.10.3.bb | 10 + recipes/python/python-cython_0.10.3.bb | 13 + recipes/python/python-daap_0.7.1.bb | 12 + recipes/python/python-dbus_0.83.0.bb | 22 ++ recipes/python/python-dialog_2.7.bb | 11 + recipes/python/python-divmodaxiom_0.5.30.bb | 8 + .../python/python-divmodepsilon-native_0.5.11.bb | 11 + recipes/python/python-divmodepsilon_0.5.11.bb | 7 + recipes/python/python-django_1.0.2.bb | 28 ++ recipes/python/python-docutils-native_0.5.bb | 8 + recipes/python/python-docutils_0.5.bb | 10 + recipes/python/python-dweba_0.9.9+1.0.0pre14.bb | 14 + recipes/python/python-ecore_svn.bb | 7 + recipes/python/python-edbus_svn.bb | 6 + .../python-edje/0001-fix-unicode-conversion.patch | 41 +++ recipes/python/python-edje_svn.bb | 5 + recipes/python/python-efl.inc | 38 +++ recipes/python/python-egenix-mx-base_3.1.1.bb | 19 ++ recipes/python/python-elementary_svn.bb | 9 + .../python-elementtree_1.2.7-20070827-preview.bb | 14 + recipes/python/python-emotion_svn.bb | 3 + recipes/python/python-epsilon_svn.bb | 4 + recipes/python/python-etk_svn.bb | 9 + recipes/python/python-evas_svn.bb | 6 + recipes/python/python-fam_1.1.1.bb | 14 + recipes/python/python-flup_1.0.1.bb | 11 + recipes/python/python-fnorb_1.3.bb | 11 + recipes/python/python-formencode_1.2.1.bb | 11 + recipes/python/python-fpconst_0.7.2.bb | 15 ++ recipes/python/python-fugrep_0.50.bb | 11 + recipes/python/python-fuse_0.2.bb | 13 + recipes/python/python-fusil_1.1.bb | 22 ++ recipes/python/python-gammu_0.26.bb | 10 + recipes/python/python-gdata_1.2.4.bb | 15 ++ recipes/python/python-gmpy_1.0.1.bb | 12 + recipes/python/python-gnosis_1.2.2.bb | 12 + .../import-gobject-instead-of-pygtk.patch | 19 ++ recipes/python/python-gst/python-path.patch | 33 +++ recipes/python/python-gst_0.10.10.bb | 35 +++ recipes/python/python-imaging/path.patch | 37 +++ recipes/python/python-imaging_1.1.6.bb | 30 +++ recipes/python/python-imdbpy_3.9.bb | 14 + recipes/python/python-inotify_0.1.0.bb | 10 + recipes/python/python-irclib_0.4.6.bb | 11 + recipes/python/python-libgmail_0.1.11.bb | 31 +++ .../fix-future-in-setup.patch | 16 ++ recipes/python/python-logilab-common_0.37.1.bb | 14 + .../python-lxml/use-pkgconfig-to-detect.patch | 31 +++ recipes/python/python-m2crypto/install.patch | 24 ++ recipes/python/python-m2crypto_0.18.2.bb | 19 ++ recipes/python/python-mad_0.6.bb | 21 ++ recipes/python/python-mako_0.2.2.bb | 12 + recipes/python/python-mysqldb/mysqlpath.patch | 19 ++ recipes/python/python-mysqldb/site.patch | 22 ++ recipes/python/python-mysqldb_1.2.1.bb | 20 ++ .../00-fix-bindir-libdir-for-cross.patch | 20 ++ .../04-default-is-optimized.patch | 18 ++ .../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/python-native-2.6.1/sitecustomize.py | 45 ++++ recipes/python/python-native_2.6.1.bb | 28 ++ recipes/python/python-netfilter_0.5.5.bb | 12 + recipes/python/python-nevow_0.9.32.bb | 10 + recipes/python/python-numarray_1.1.1.bb | 13 + recipes/python/python-numeric/no-lapack.patch | 33 +++ recipes/python/python-numeric_23.7.bb | 16 ++ recipes/python/python-numpy/arm/config.h | 21 ++ recipes/python/python-numpy/arm/numpyconfig.h | 17 ++ recipes/python/python-numpy/trycompile.diff | 33 +++ .../python/python-numpy/unbreak-assumptions.diff | 16 ++ recipes/python/python-numpy_1.1.1.bb | 27 ++ recipes/python/python-ogg_1.3.bb | 24 ++ recipes/python/python-opendir/opendir.pyx | 149 +++++++++++ recipes/python/python-opendir/setup.py | 25 ++ recipes/python/python-opendir_1.0.bb | 15 ++ recipes/python/python-pexpect_2.3.bb | 20 ++ recipes/python/python-psyco_1.6.bb | 14 + recipes/python/python-ptrace_0.5.bb | 9 + recipes/python/python-pyalsa_1.0.16.bb | 12 + recipes/python/python-pyalsaaudio_0.4.bb | 12 + recipes/python/python-pybluez_0.15.bb | 10 + recipes/python/python-pycairo/fix-setup-py.patch | 24 ++ recipes/python/python-pycairo_1.4.0.bb | 21 ++ recipes/python/python-pycairo_1.8.0.bb | 24 ++ recipes/python/python-pycap_0.1.6.bb | 12 + recipes/python/python-pychecker_0.8.18.bb | 12 + recipes/python/python-pycodes/no-docs.patch | 18 ++ recipes/python/python-pycodes_1.2.bb | 14 + recipes/python/python-pycrypto_2.0.1.bb | 12 + recipes/python/python-pycrypto_git.bb | 13 + recipes/python/python-pycurl/no-static-link.patch | 14 + recipes/python/python-pycurl_7.18.2.bb | 17 ++ .../python-pydirectfb/fix-directfb-detection.patch | 16 ++ recipes/python/python-pyephem_3.7.3.3.bb | 11 + recipes/python/python-pyfits_1.3.bb | 12 + recipes/python/python-pyflakes_0.3.0.bb | 12 + recipes/python/python-pyftpdlib_0.5.1.bb | 12 + recipes/python/python-pygame-1.8.1/Setup | 63 +++++ recipes/python/python-pygame_1.8.1.bb | 30 +++ recipes/python/python-pygobject-native_2.14.2.bb | 16 ++ recipes/python/python-pygobject-native_2.16.0.bb | 18 ++ .../python-pygobject/generate-constants.patch | 18 ++ recipes/python/python-pygobject/python-path.patch | 46 ++++ recipes/python/python-pygobject_2.14.2.bb | 32 +++ recipes/python/python-pygobject_2.16.0.bb | 38 +++ recipes/python/python-pygoogle_0.6.bb | 16 ++ recipes/python/python-pygtk-1.2/acinclude.m4 | 90 +++++++ .../python-pygtk-1.2/remove-imlib-et-al.patch | 31 +++ recipes/python/python-pygtk-1.2_0.6.12.bb | 25 ++ recipes/python/python-pygtk/acinclude.m4 | 90 +++++++ recipes/python/python-pygtk/fix-gtkunixprint.patch | 16 ++ recipes/python/python-pygtk/nodocs.patch | 13 + .../prevent_to_get_display_during_import.patch | 18 ++ recipes/python/python-pygtk_2.10.4.bb | 64 +++++ recipes/python/python-pygtk_2.6.3.bb | 34 +++ recipes/python/python-pygtk_2.8.6.bb | 27 ++ recipes/python/python-pyid3lib_0.5.1.bb | 14 + recipes/python/python-pyiw-0.3.3/Makefile | 18 ++ recipes/python/python-pylinda/honor-datadir.patch | 15 ++ recipes/python/python-pylinda_0.6.bb | 15 ++ recipes/python/python-pylint_0.15.2.bb | 16 ++ recipes/python/python-pylirc_0.0.5.bb | 11 + recipes/python/python-pymetar_0.14.bb | 11 + recipes/python/python-pymp3_0.3.4.bb | 29 +++ recipes/python/python-pyode/install.patch | 16 ++ recipes/python/python-pyode_1.2.0.bb | 19 ++ recipes/python/python-pyopenssl_0.8.bb | 15 ++ recipes/python/python-pyqt/01_configure.dpatch | 288 +++++++++++++++++++++ recipes/python/python-pyqt/02_htmllinks.dpatch | 18 ++ recipes/python/python-pyqt/03_qreal.dpatch | 18 ++ .../04_qreal_api_fixes-for-4.4.3.dpatch | 260 +++++++++++++++++++ .../python/python-pyqt/04_qreal_api_fixes.dpatch | 259 ++++++++++++++++++ .../python/python-pyqt/assistantclient-fix.patch | 13 + recipes/python/python-pyqt/cross-compile.patch | 33 +++ recipes/python/python-pyqt_4.4.3.bb | 73 ++++++ recipes/python/python-pyrad_1.1.bb | 12 + recipes/python/python-pyraf_1.7.bb | 14 + recipes/python/python-pyreverse/fix-future.patch | 16 ++ recipes/python/python-pyrex-native_0.9.8.5.bb | 10 + recipes/python/python-pyrex_0.9.8.5.bb | 16 ++ .../python-pyro/pyro-unattended-install.patch | 16 ++ recipes/python/python-pyro_3.8.1.bb | 31 +++ recipes/python/python-pyrtc_git.bb | 16 ++ recipes/python/python-pyserial_2.4.bb | 19 ++ recipes/python/python-pysqlite2/fix-setup.patch | 9 + recipes/python/python-pysqlite2_2.4.0.bb | 32 +++ recipes/python/python-pytester_0.6.0.bb | 14 + recipes/python/python-pyusb_0.4.1.bb | 12 + recipes/python/python-pyvisa_1.3.bb | 15 ++ recipes/python/python-pyweather_0.7.0.bb | 12 + recipes/python/python-pyxdg_0.15.bb | 9 + recipes/python/python-pyxml_0.8.4.bb | 14 + recipes/python/python-pyxmlrpc_0.8.8.3.bb | 11 + recipes/python/python-pyyaml/setup.py | 64 +++++ recipes/python/python-pyyaml_svn.bb | 20 ++ recipes/python/python-pyzeroconf_0.12.bb | 18 ++ recipes/python/python-rpyc_3.02.bb | 11 + recipes/python/python-scapy_2.0.0.9.bb | 20 ++ recipes/python/python-scons-native_1.2.0.bb | 14 + recipes/python/python-scons_1.2.0.bb | 10 + recipes/python/python-setuptools-native_0.6c9.bb | 9 + .../python/python-setuptools/fix-log-usage.patch | 13 + recipes/python/python-setuptools_0.6c9.bb | 25 ++ recipes/python/python-sgmlop_1.1.bb | 10 + recipes/python/python-simplejson_2.0.7.bb | 20 ++ recipes/python/python-sip.inc | 42 +++ recipes/python/python-sip_4.7.9.bb | 2 + recipes/python/python-soappy/fix-future.patch | 54 ++++ recipes/python/python-soappy/fpconst.py | 111 ++++++++ recipes/python/python-soappy_0.11.6.bb | 19 ++ recipes/python/python-sphinx_0.5.1.bb | 9 + recipes/python/python-sphinxsearch_0.1.bb | 12 + recipes/python/python-spydi_0.9.7.bb | 14 + recipes/python/python-sqlalchemy_0.5.0.bb | 13 + recipes/python/python-sqlobject_0.10.4.bb | 16 ++ recipes/python/python-tlslite_0.3.8.bb | 14 + recipes/python/python-traits_3.0.3.bb | 18 ++ .../python-twisted-2.5.0/remove-zope-check.patch | 18 ++ recipes/python/python-twisted-native_8.2.0.bb | 9 + recipes/python/python-twisted_2.5.0.bb | 197 ++++++++++++++ recipes/python/python-twisted_8.2.0.bb | 212 +++++++++++++++ .../python/python-vorbis/disable-oggcheck.patch | 16 ++ recipes/python/python-vorbis_1.4.bb | 23 ++ recipes/python/python-webpy_0.31.bb | 17 ++ recipes/python/python-xappy_0.5.bb | 15 ++ recipes/python/python-xlib_0.14.bb | 10 + recipes/python/python.inc | 23 ++ recipes/python/python_2.6.1.bb | 117 +++++++++ 209 files changed, 6016 insertions(+) create mode 100644 recipes/python/divmod.inc create mode 100644 recipes/python/files/06-libffi-enable-default-mips.patch create mode 100644 recipes/python/files/pyrex-fix-optimized-mode.patch create mode 100644 recipes/python/fix-path.inc create mode 100644 recipes/python/python-2.6-manifest.inc create mode 100644 recipes/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch create mode 100644 recipes/python/python-2.6.1/01-use-proper-tools-for-cross-build.patch create mode 100644 recipes/python/python-2.6.1/02-remove-test-for-cross.patch create mode 100644 recipes/python/python-2.6.1/03-fix-tkinter-detection.patch create mode 100644 recipes/python/python-2.6.1/04-default-is-optimized.patch create mode 100644 recipes/python/python-2.6.1/05-enable-ctypes-cross-build.patch create mode 100644 recipes/python/python-2.6.1/99-ignore-optimization-flag.patch create mode 100644 recipes/python/python-2.6.1/sitecustomize.py create mode 100644 recipes/python/python-ao_0.82.bb create mode 100644 recipes/python/python-cheetah_2.0.1.bb create mode 100644 recipes/python/python-coherence_0.6.2.bb create mode 100644 recipes/python/python-coherence_svn.bb create mode 100644 recipes/python/python-configobj_4.5.3.bb create mode 100644 recipes/python/python-connexion_svn.bb create mode 100644 recipes/python/python-constraint_1.1.bb create mode 100644 recipes/python/python-cython-native_0.10.3.bb create mode 100644 recipes/python/python-cython_0.10.3.bb create mode 100644 recipes/python/python-daap_0.7.1.bb create mode 100644 recipes/python/python-dbus_0.83.0.bb create mode 100644 recipes/python/python-dialog_2.7.bb create mode 100644 recipes/python/python-divmodaxiom_0.5.30.bb create mode 100644 recipes/python/python-divmodepsilon-native_0.5.11.bb create mode 100644 recipes/python/python-divmodepsilon_0.5.11.bb create mode 100644 recipes/python/python-django_1.0.2.bb create mode 100644 recipes/python/python-docutils-native_0.5.bb create mode 100644 recipes/python/python-docutils_0.5.bb create mode 100644 recipes/python/python-dweba_0.9.9+1.0.0pre14.bb create mode 100644 recipes/python/python-ecore_svn.bb create mode 100644 recipes/python/python-edbus_svn.bb create mode 100644 recipes/python/python-edje/0001-fix-unicode-conversion.patch create mode 100644 recipes/python/python-edje_svn.bb create mode 100644 recipes/python/python-efl.inc create mode 100644 recipes/python/python-egenix-mx-base_3.1.1.bb create mode 100644 recipes/python/python-elementary_svn.bb create mode 100644 recipes/python/python-elementtree_1.2.7-20070827-preview.bb create mode 100644 recipes/python/python-emotion_svn.bb create mode 100644 recipes/python/python-epsilon_svn.bb create mode 100644 recipes/python/python-etk_svn.bb create mode 100644 recipes/python/python-evas_svn.bb create mode 100644 recipes/python/python-fam_1.1.1.bb create mode 100644 recipes/python/python-flup_1.0.1.bb create mode 100644 recipes/python/python-fnorb_1.3.bb create mode 100644 recipes/python/python-formencode_1.2.1.bb create mode 100644 recipes/python/python-fpconst_0.7.2.bb create mode 100644 recipes/python/python-fugrep_0.50.bb create mode 100644 recipes/python/python-fuse_0.2.bb create mode 100644 recipes/python/python-fusil_1.1.bb create mode 100644 recipes/python/python-gammu_0.26.bb create mode 100644 recipes/python/python-gdata_1.2.4.bb create mode 100644 recipes/python/python-gmpy_1.0.1.bb create mode 100644 recipes/python/python-gnosis_1.2.2.bb create mode 100644 recipes/python/python-gst/import-gobject-instead-of-pygtk.patch create mode 100644 recipes/python/python-gst/python-path.patch create mode 100644 recipes/python/python-gst_0.10.10.bb create mode 100644 recipes/python/python-imaging/path.patch create mode 100644 recipes/python/python-imaging_1.1.6.bb create mode 100644 recipes/python/python-imdbpy_3.9.bb create mode 100644 recipes/python/python-inotify_0.1.0.bb create mode 100644 recipes/python/python-irclib_0.4.6.bb create mode 100644 recipes/python/python-libgmail_0.1.11.bb create mode 100644 recipes/python/python-logilab-common/fix-future-in-setup.patch create mode 100644 recipes/python/python-logilab-common_0.37.1.bb create mode 100644 recipes/python/python-lxml/use-pkgconfig-to-detect.patch create mode 100644 recipes/python/python-m2crypto/install.patch create mode 100644 recipes/python/python-m2crypto_0.18.2.bb create mode 100644 recipes/python/python-mad_0.6.bb create mode 100644 recipes/python/python-mako_0.2.2.bb create mode 100644 recipes/python/python-mysqldb/mysqlpath.patch create mode 100644 recipes/python/python-mysqldb/site.patch create mode 100644 recipes/python/python-mysqldb_1.2.1.bb create mode 100644 recipes/python/python-native-2.6.1/00-fix-bindir-libdir-for-cross.patch create mode 100644 recipes/python/python-native-2.6.1/04-default-is-optimized.patch create mode 100644 recipes/python/python-native-2.6.1/10-distutils-fix-swig-parameter.patch create mode 100644 recipes/python/python-native-2.6.1/11-distutils-never-modify-shebang-line.patch create mode 100644 recipes/python/python-native-2.6.1/12-distutils-prefix-is-inside-staging-area.patch create mode 100644 recipes/python/python-native-2.6.1/sitecustomize.py create mode 100644 recipes/python/python-native_2.6.1.bb create mode 100644 recipes/python/python-netfilter_0.5.5.bb create mode 100644 recipes/python/python-nevow_0.9.32.bb create mode 100644 recipes/python/python-numarray_1.1.1.bb create mode 100644 recipes/python/python-numeric/no-lapack.patch create mode 100644 recipes/python/python-numeric_23.7.bb create mode 100644 recipes/python/python-numpy/arm/config.h create mode 100644 recipes/python/python-numpy/arm/numpyconfig.h create mode 100644 recipes/python/python-numpy/trycompile.diff create mode 100644 recipes/python/python-numpy/unbreak-assumptions.diff create mode 100644 recipes/python/python-numpy_1.1.1.bb create mode 100644 recipes/python/python-ogg_1.3.bb create mode 100644 recipes/python/python-opendir/opendir.pyx create mode 100644 recipes/python/python-opendir/setup.py create mode 100644 recipes/python/python-opendir_1.0.bb create mode 100644 recipes/python/python-pexpect_2.3.bb create mode 100644 recipes/python/python-psyco_1.6.bb create mode 100644 recipes/python/python-ptrace_0.5.bb create mode 100644 recipes/python/python-pyalsa_1.0.16.bb create mode 100644 recipes/python/python-pyalsaaudio_0.4.bb create mode 100644 recipes/python/python-pybluez_0.15.bb create mode 100644 recipes/python/python-pycairo/fix-setup-py.patch create mode 100644 recipes/python/python-pycairo_1.4.0.bb create mode 100644 recipes/python/python-pycairo_1.8.0.bb create mode 100644 recipes/python/python-pycap_0.1.6.bb create mode 100644 recipes/python/python-pychecker_0.8.18.bb create mode 100644 recipes/python/python-pycodes/no-docs.patch create mode 100644 recipes/python/python-pycodes_1.2.bb create mode 100644 recipes/python/python-pycrypto_2.0.1.bb create mode 100644 recipes/python/python-pycrypto_git.bb create mode 100644 recipes/python/python-pycurl/no-static-link.patch create mode 100644 recipes/python/python-pycurl_7.18.2.bb create mode 100644 recipes/python/python-pydirectfb/fix-directfb-detection.patch create mode 100644 recipes/python/python-pyephem_3.7.3.3.bb create mode 100644 recipes/python/python-pyfits_1.3.bb create mode 100644 recipes/python/python-pyflakes_0.3.0.bb create mode 100644 recipes/python/python-pyftpdlib_0.5.1.bb create mode 100644 recipes/python/python-pygame-1.8.1/Setup create mode 100644 recipes/python/python-pygame_1.8.1.bb create mode 100644 recipes/python/python-pygobject-native_2.14.2.bb create mode 100644 recipes/python/python-pygobject-native_2.16.0.bb create mode 100644 recipes/python/python-pygobject/generate-constants.patch create mode 100644 recipes/python/python-pygobject/python-path.patch create mode 100644 recipes/python/python-pygobject_2.14.2.bb create mode 100644 recipes/python/python-pygobject_2.16.0.bb create mode 100644 recipes/python/python-pygoogle_0.6.bb create mode 100644 recipes/python/python-pygtk-1.2/acinclude.m4 create mode 100644 recipes/python/python-pygtk-1.2/remove-imlib-et-al.patch create mode 100644 recipes/python/python-pygtk-1.2_0.6.12.bb create mode 100644 recipes/python/python-pygtk/acinclude.m4 create mode 100644 recipes/python/python-pygtk/fix-gtkunixprint.patch create mode 100644 recipes/python/python-pygtk/nodocs.patch create mode 100644 recipes/python/python-pygtk/prevent_to_get_display_during_import.patch create mode 100644 recipes/python/python-pygtk_2.10.4.bb create mode 100644 recipes/python/python-pygtk_2.6.3.bb create mode 100644 recipes/python/python-pygtk_2.8.6.bb create mode 100644 recipes/python/python-pyid3lib_0.5.1.bb create mode 100644 recipes/python/python-pyiw-0.3.3/Makefile create mode 100644 recipes/python/python-pylinda/honor-datadir.patch create mode 100644 recipes/python/python-pylinda_0.6.bb create mode 100644 recipes/python/python-pylint_0.15.2.bb create mode 100644 recipes/python/python-pylirc_0.0.5.bb create mode 100644 recipes/python/python-pymetar_0.14.bb create mode 100644 recipes/python/python-pymp3_0.3.4.bb create mode 100644 recipes/python/python-pyode/install.patch create mode 100644 recipes/python/python-pyode_1.2.0.bb create mode 100644 recipes/python/python-pyopenssl_0.8.bb create mode 100644 recipes/python/python-pyqt/01_configure.dpatch create mode 100644 recipes/python/python-pyqt/02_htmllinks.dpatch create mode 100644 recipes/python/python-pyqt/03_qreal.dpatch create mode 100644 recipes/python/python-pyqt/04_qreal_api_fixes-for-4.4.3.dpatch create mode 100644 recipes/python/python-pyqt/04_qreal_api_fixes.dpatch create mode 100644 recipes/python/python-pyqt/assistantclient-fix.patch create mode 100644 recipes/python/python-pyqt/cross-compile.patch create mode 100644 recipes/python/python-pyqt_4.4.3.bb create mode 100644 recipes/python/python-pyrad_1.1.bb create mode 100644 recipes/python/python-pyraf_1.7.bb create mode 100644 recipes/python/python-pyreverse/fix-future.patch create mode 100644 recipes/python/python-pyrex-native_0.9.8.5.bb create mode 100644 recipes/python/python-pyrex_0.9.8.5.bb create mode 100644 recipes/python/python-pyro/pyro-unattended-install.patch create mode 100644 recipes/python/python-pyro_3.8.1.bb create mode 100644 recipes/python/python-pyrtc_git.bb create mode 100644 recipes/python/python-pyserial_2.4.bb create mode 100644 recipes/python/python-pysqlite2/fix-setup.patch create mode 100644 recipes/python/python-pysqlite2_2.4.0.bb create mode 100644 recipes/python/python-pytester_0.6.0.bb create mode 100644 recipes/python/python-pyusb_0.4.1.bb create mode 100644 recipes/python/python-pyvisa_1.3.bb create mode 100644 recipes/python/python-pyweather_0.7.0.bb create mode 100644 recipes/python/python-pyxdg_0.15.bb create mode 100644 recipes/python/python-pyxml_0.8.4.bb create mode 100644 recipes/python/python-pyxmlrpc_0.8.8.3.bb create mode 100644 recipes/python/python-pyyaml/setup.py create mode 100644 recipes/python/python-pyyaml_svn.bb create mode 100644 recipes/python/python-pyzeroconf_0.12.bb create mode 100644 recipes/python/python-rpyc_3.02.bb create mode 100644 recipes/python/python-scapy_2.0.0.9.bb create mode 100644 recipes/python/python-scons-native_1.2.0.bb create mode 100644 recipes/python/python-scons_1.2.0.bb create mode 100644 recipes/python/python-setuptools-native_0.6c9.bb create mode 100644 recipes/python/python-setuptools/fix-log-usage.patch create mode 100644 recipes/python/python-setuptools_0.6c9.bb create mode 100644 recipes/python/python-sgmlop_1.1.bb create mode 100644 recipes/python/python-simplejson_2.0.7.bb create mode 100644 recipes/python/python-sip.inc create mode 100644 recipes/python/python-sip_4.7.9.bb create mode 100644 recipes/python/python-soappy/fix-future.patch create mode 100644 recipes/python/python-soappy/fpconst.py create mode 100644 recipes/python/python-soappy_0.11.6.bb create mode 100644 recipes/python/python-sphinx_0.5.1.bb create mode 100644 recipes/python/python-sphinxsearch_0.1.bb create mode 100644 recipes/python/python-spydi_0.9.7.bb create mode 100644 recipes/python/python-sqlalchemy_0.5.0.bb create mode 100644 recipes/python/python-sqlobject_0.10.4.bb create mode 100644 recipes/python/python-tlslite_0.3.8.bb create mode 100644 recipes/python/python-traits_3.0.3.bb create mode 100644 recipes/python/python-twisted-2.5.0/remove-zope-check.patch create mode 100644 recipes/python/python-twisted-native_8.2.0.bb create mode 100644 recipes/python/python-twisted_2.5.0.bb create mode 100644 recipes/python/python-twisted_8.2.0.bb create mode 100644 recipes/python/python-vorbis/disable-oggcheck.patch create mode 100644 recipes/python/python-vorbis_1.4.bb create mode 100644 recipes/python/python-webpy_0.31.bb create mode 100644 recipes/python/python-xappy_0.5.bb create mode 100644 recipes/python/python-xlib_0.14.bb create mode 100644 recipes/python/python.inc create mode 100644 recipes/python/python_2.6.1.bb (limited to 'recipes/python') diff --git a/recipes/python/divmod.inc b/recipes/python/divmod.inc new file mode 100644 index 0000000000..20be1b2e38 --- /dev/null +++ b/recipes/python/divmod.inc @@ -0,0 +1,17 @@ +SRC_URI = "http://divmod.org/trac/attachment/wiki/SoftwareReleases/${REALPN}-${PV}.tar.gz?format=raw" + +DEPENDS += "python-twisted-native" + +do_unpack2() { + cd ${WORKDIR} + tar zxvf ${REALPN}-${PV}.tar.gz?format=raw +} + +addtask unpack2 after do_unpack before do_configure + +inherit distutils + +S = "${WORKDIR}/${REALPN}-${PV}" + + + diff --git a/recipes/python/files/06-libffi-enable-default-mips.patch b/recipes/python/files/06-libffi-enable-default-mips.patch new file mode 100644 index 0000000000..b01f0c751d --- /dev/null +++ b/recipes/python/files/06-libffi-enable-default-mips.patch @@ -0,0 +1,12 @@ +Index: Python-2.6.1/Modules/_ctypes/libffi/fficonfig.py.in +=================================================================== +--- Python-2.6.1.orig/Modules/_ctypes/libffi/fficonfig.py.in ++++ Python-2.6.1/Modules/_ctypes/libffi/fficonfig.py.in +@@ -5,6 +5,7 @@ src/prep_cif.c + ffi_platforms = { + 'MIPS_IRIX': ['src/mips/ffi.c', 'src/mips/o32.S', 'src/mips/n32.S'], + 'MIPS_LINUX': ['src/mips/ffi.c', 'src/mips/o32.S'], ++ 'MIPS': ['src/mips/ffi.c', 'src/mips/o32.S'], + 'X86': ['src/x86/ffi.c', 'src/x86/sysv.S'], + 'X86_FREEBSD': ['src/x86/ffi.c', 'src/x86/sysv.S'], + 'X86_WIN32': ['src/x86/ffi.c', 'src/x86/win32.S'], diff --git a/recipes/python/files/pyrex-fix-optimized-mode.patch b/recipes/python/files/pyrex-fix-optimized-mode.patch new file mode 100644 index 0000000000..a1f5bb29ba --- /dev/null +++ b/recipes/python/files/pyrex-fix-optimized-mode.patch @@ -0,0 +1,13 @@ +Index: Pyrex-0.9.8.4/Pyrex/Distutils/extension.py +=================================================================== +--- Pyrex-0.9.8.4.orig/Pyrex/Distutils/extension.py ++++ Pyrex-0.9.8.4/Pyrex/Distutils/extension.py +@@ -15,7 +15,7 @@ except ImportError: + warnings = None + + class Extension(_Extension.Extension): +- _Extension.Extension.__doc__ + \ ++ _Extension.Extension.__doc__ or "" + \ + """pyrex_include_dirs : [string] + list of directories to search for Pyrex header files (.pxd) (in + Unix form for portability) diff --git a/recipes/python/fix-path.inc b/recipes/python/fix-path.inc new file mode 100644 index 0000000000..0738c59ada --- /dev/null +++ b/recipes/python/fix-path.inc @@ -0,0 +1,22 @@ +do_install_append() { + for i in `find ${D} -name "*.py"` ; do \ + sed -i -e s:${D}::g $i + done + + for i in `find ${D} -name "*.la"` ; do \ + sed -i -e s:${STAGING_LIBDIR}:${libdir}:g $i + done + + if test -e ${D}${bindir} ; then + for i in ${D}${bindir}/* ; do \ + sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i + done + fi + + if test -e ${D}${sbindir} ; then + for i in ${D}${sbindir}/* ; do \ + sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i + done + fi +} + diff --git a/recipes/python/python-2.6-manifest.inc b/recipes/python/python-2.6-manifest.inc new file mode 100644 index 0000000000..b8b8d1c27c --- /dev/null +++ b/recipes/python/python-2.6-manifest.inc @@ -0,0 +1,263 @@ +# WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file. +# Generator: '../org.openembedded.dev/contrib/python/generate-manifest-2.6.py' Version 20081214 (C) 2002-2008 Michael 'Mickey' Lauer +# Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy + + + +PROVIDES+="python-profile python-threading python-distutils python-doctest python-codecs python-ctypes python-pickle python-bzip2 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-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-stringold python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " + +PACKAGES="python-profile python-threading python-distutils python-doctest python-codecs python-ctypes python-pickle python-bzip2 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-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-stringold python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb 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" +FILES_python-profile="${libdir}/python2.6/profile.* ${libdir}/python2.6/pstats.* ${libdir}/python2.6/cProfile.* ${libdir}/python2.6/lib-dynload/_lsprof.so " + +DESCRIPTION_python-threading="Python Threading & Synchronization Support" +RDEPENDS_python-threading="python-core python-lang" +FILES_python-threading="${libdir}/python2.6/_threading_local.* ${libdir}/python2.6/dummy_thread.* ${libdir}/python2.6/dummy_threading.* ${libdir}/python2.6/mutex.* ${libdir}/python2.6/threading.* ${libdir}/python2.6/Queue.* " + +DESCRIPTION_python-distutils="Python Distribution Utilities" +RDEPENDS_python-distutils="python-core" +FILES_python-distutils="${libdir}/python2.6/config ${libdir}/python2.6/distutils " + +DESCRIPTION_python-doctest="Python framework for running examples in docstrings." +RDEPENDS_python-doctest="python-core python-lang python-io python-re python-unittest python-debugger python-difflib" +FILES_python-doctest="${libdir}/python2.6/doctest.* " + +DESCRIPTION_python-codecs="Python Codecs, Encodings & i18n Support" +RDEPENDS_python-codecs="python-core python-lang" +FILES_python-codecs="${libdir}/python2.6/codecs.* ${libdir}/python2.6/encodings ${libdir}/python2.6/gettext.* ${libdir}/python2.6/locale.* ${libdir}/python2.6/lib-dynload/_locale.so ${libdir}/python2.6/lib-dynload/unicodedata.so ${libdir}/python2.6/stringprep.* ${libdir}/python2.6/xdrlib.* " + +DESCRIPTION_python-ctypes="Python C Types Support" +RDEPENDS_python-ctypes="python-core" +FILES_python-ctypes="${libdir}/python2.6/ctypes ${libdir}/python2.6/lib-dynload/_ctypes.so " + +DESCRIPTION_python-pickle="Python Persistence Support" +RDEPENDS_python-pickle="python-core python-codecs python-io python-re" +FILES_python-pickle="${libdir}/python2.6/pickle.* ${libdir}/python2.6/shelve.* ${libdir}/python2.6/lib-dynload/cPickle.so " + +DESCRIPTION_python-bzip2="Python bzip2 support" +RDEPENDS_python-bzip2="python-core" +FILES_python-bzip2="${libdir}/python2.6/lib-dynload/bz2.so " + +DESCRIPTION_python-datetime="Python Calendar and Time support" +RDEPENDS_python-datetime="python-core python-codecs" +FILES_python-datetime="${libdir}/python2.6/_strptime.* ${libdir}/python2.6/calendar.* ${libdir}/python2.6/lib-dynload/datetime.so " + +DESCRIPTION_python-core="Python Interpreter and core modules (needed!)" +RDEPENDS_python-core="" +FILES_python-core="${libdir}/python2.6/__future__.* ${libdir}/python2.6/_abcoll.* ${libdir}/python2.6/abc.* ${libdir}/python2.6/copy.* ${libdir}/python2.6/copy_reg.* ${libdir}/python2.6/ConfigParser.* ${libdir}/python2.6/genericpath.* ${libdir}/python2.6/getopt.* ${libdir}/python2.6/linecache.* ${libdir}/python2.6/new.* ${libdir}/python2.6/os.* ${libdir}/python2.6/posixpath.* ${libdir}/python2.6/struct.* ${libdir}/python2.6/warnings.* ${libdir}/python2.6/site.* ${libdir}/python2.6/stat.* ${libdir}/python2.6/UserDict.* ${libdir}/python2.6/UserList.* ${libdir}/python2.6/UserString.* ${libdir}/python2.6/lib-dynload/binascii.so ${libdir}/python2.6/lib-dynload/_struct.so ${libdir}/python2.6/lib-dynload/time.so ${libdir}/python2.6/lib-dynload/xreadlines.so ${libdir}/python2.6/types.* ${bindir}/python* " + +DESCRIPTION_python-io="Python Low-Level I/O" +RDEPENDS_python-io="python-core python-math" +FILES_python-io="${libdir}/python2.6/lib-dynload/_socket.so ${libdir}/python2.6/lib-dynload/_ssl.so ${libdir}/python2.6/lib-dynload/select.so ${libdir}/python2.6/lib-dynload/termios.so ${libdir}/python2.6/lib-dynload/cStringIO.so ${libdir}/python2.6/pipes.* ${libdir}/python2.6/socket.* ${libdir}/python2.6/tempfile.* ${libdir}/python2.6/StringIO.* " + +DESCRIPTION_python-compiler="Python Compiler Support" +RDEPENDS_python-compiler="python-core" +FILES_python-compiler="${libdir}/python2.6/compiler " + +DESCRIPTION_python-compression="Python High Level Compression Support" +RDEPENDS_python-compression="python-core python-zlib" +FILES_python-compression="${libdir}/python2.6/gzip.* ${libdir}/python2.6/zipfile.* ${libdir}/python2.6/tarfile.* " + +DESCRIPTION_python-re="Python Regular Expression APIs" +RDEPENDS_python-re="python-core" +FILES_python-re="${libdir}/python2.6/re.* ${libdir}/python2.6/sre.* ${libdir}/python2.6/sre_compile.* ${libdir}/python2.6/sre_constants* ${libdir}/python2.6/sre_parse.* " + +DESCRIPTION_python-xmlrpc="Python XMLRPC Support" +RDEPENDS_python-xmlrpc="python-core python-xml python-netserver python-lang" +FILES_python-xmlrpc="${libdir}/python2.6/xmlrpclib.* ${libdir}/python2.6/SimpleXMLRPCServer.* " + +DESCRIPTION_python-terminal="Python Terminal Controlling Support" +RDEPENDS_python-terminal="python-core python-io" +FILES_python-terminal="${libdir}/python2.6/pty.* ${libdir}/python2.6/tty.* " + +DESCRIPTION_python-email="Python Email Support" +RDEPENDS_python-email="python-core python-io python-re python-mime python-audio python-image" +FILES_python-email="${libdir}/python2.6/email " + +DESCRIPTION_python-image="Python Graphical Image Handling" +RDEPENDS_python-image="python-core" +FILES_python-image="${libdir}/python2.6/colorsys.* ${libdir}/python2.6/imghdr.* ${libdir}/python2.6/lib-dynload/imageop.so ${libdir}/python2.6/lib-dynload/rgbimg.so " + +DESCRIPTION_python-tests="Python Tests" +RDEPENDS_python-tests="python-core" +FILES_python-tests="${libdir}/python2.6/test " + +DESCRIPTION_python-core-dbg="Python core module debug information" +RDEPENDS_python-core-dbg="python-core" +FILES_python-core-dbg="${libdir}/python2.6/lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug " + +DESCRIPTION_python-resource="Python Resource Control Interface" +RDEPENDS_python-resource="python-core" +FILES_python-resource="${libdir}/python2.6/lib-dynload/resource.so " + +DESCRIPTION_python-devel="Python Development Package" +RDEPENDS_python-devel="python-core" +FILES_python-devel="${includedir} ${libdir}/python2.6/config " + +DESCRIPTION_python-difflib="Python helpers for computing deltas between objects." +RDEPENDS_python-difflib="python-lang python-re" +FILES_python-difflib="${libdir}/python2.6/difflib.* " + +DESCRIPTION_python-math="Python Math Support" +RDEPENDS_python-math="python-core" +FILES_python-math="${libdir}/python2.6/lib-dynload/cmath.so ${libdir}/python2.6/lib-dynload/math.so ${libdir}/python2.6/lib-dynload/_random.so ${libdir}/python2.6/random.* ${libdir}/python2.6/sets.* " + +DESCRIPTION_python-syslog="Python's Syslog Interface" +RDEPENDS_python-syslog="python-core" +FILES_python-syslog="${libdir}/python2.6/lib-dynload/syslog.so " + +DESCRIPTION_python-hotshot="Python Hotshot Profiler" +RDEPENDS_python-hotshot="python-core" +FILES_python-hotshot="${libdir}/python2.6/hotshot ${libdir}/python2.6/lib-dynload/_hotshot.so " + +DESCRIPTION_python-unixadmin="Python Unix Administration Support" +RDEPENDS_python-unixadmin="python-core" +FILES_python-unixadmin="${libdir}/python2.6/lib-dynload/nis.so ${libdir}/python2.6/lib-dynload/grp.so ${libdir}/python2.6/lib-dynload/pwd.so ${libdir}/python2.6/getpass.* " + +DESCRIPTION_python-textutils="Python Option Parsing, Text Wrapping and Comma-Separated-Value Support" +RDEPENDS_python-textutils="python-core python-io python-re python-stringold" +FILES_python-textutils="${libdir}/python2.6/lib-dynload/_csv.so ${libdir}/python2.6/csv.* ${libdir}/python2.6/optparse.* ${libdir}/python2.6/textwrap.* " + +DESCRIPTION_python-tkinter="Python Tcl/Tk Bindings" +RDEPENDS_python-tkinter="python-core" +FILES_python-tkinter="${libdir}/python2.6/lib-dynload/_tkinter.so ${libdir}/python2.6/lib-tk " + +DESCRIPTION_python-gdbm="Python GNU Database Support" +RDEPENDS_python-gdbm="python-core" +FILES_python-gdbm="${libdir}/python2.6/lib-dynload/gdbm.so " + +DESCRIPTION_python-elementtree="Python elementree" +RDEPENDS_python-elementtree="python-core" +FILES_python-elementtree="${libdir}/python2.6/lib-dynload/_elementtree.so " + +DESCRIPTION_python-fcntl="Python's fcntl Interface" +RDEPENDS_python-fcntl="python-core" +FILES_python-fcntl="${libdir}/python2.6/lib-dynload/fcntl.so " + +DESCRIPTION_python-netclient="Python Internet Protocol Clients" +RDEPENDS_python-netclient="python-core python-crypt python-datetime python-io python-lang python-logging python-mime" +FILES_python-netclient="${libdir}/python2.6/*Cookie*.* ${libdir}/python2.6/base64.* ${libdir}/python2.6/cookielib.* ${libdir}/python2.6/ftplib.* ${libdir}/python2.6/gopherlib.* ${libdir}/python2.6/hmac.* ${libdir}/python2.6/httplib.* ${libdir}/python2.6/mimetypes.* ${libdir}/python2.6/nntplib.* ${libdir}/python2.6/poplib.* ${libdir}/python2.6/smtplib.* ${libdir}/python2.6/telnetlib.* ${libdir}/python2.6/urllib.* ${libdir}/python2.6/urllib2.* ${libdir}/python2.6/urlparse.* ${libdir}/python2.6/uuid.* " + +DESCRIPTION_python-pprint="Python Pretty-Print Support" +RDEPENDS_python-pprint="python-core" +FILES_python-pprint="${libdir}/python2.6/pprint.* " + +DESCRIPTION_python-netserver="Python Internet Protocol Servers" +RDEPENDS_python-netserver="python-core python-netclient" +FILES_python-netserver="${libdir}/python2.6/cgi.* ${libdir}/python2.6/BaseHTTPServer.* ${libdir}/python2.6/SimpleHTTPServer.* ${libdir}/python2.6/SocketServer.* " + +DESCRIPTION_python-curses="Python Curses Support" +RDEPENDS_python-curses="python-core" +FILES_python-curses="${libdir}/python2.6/curses ${libdir}/python2.6/lib-dynload/_curses.so ${libdir}/python2.6/lib-dynload/_curses_panel.so " + +DESCRIPTION_python-smtpd="Python Simple Mail Transport Daemon" +RDEPENDS_python-smtpd="python-core python-netserver python-email python-mime" +FILES_python-smtpd="${bindir}/smtpd.* " + +DESCRIPTION_python-html="Python HTML Processing" +RDEPENDS_python-html="python-core" +FILES_python-html="${libdir}/python2.6/formatter.* ${libdir}/python2.6/htmlentitydefs.* ${libdir}/python2.6/htmllib.* ${libdir}/python2.6/markupbase.* ${libdir}/python2.6/sgmllib.* " + +DESCRIPTION_python-readline="Python Readline Support" +RDEPENDS_python-readline="python-core" +FILES_python-readline="${libdir}/python2.6/lib-dynload/readline.so ${libdir}/python2.6/rlcompleter.* " + +DESCRIPTION_python-subprocess="Python Subprocess Support" +RDEPENDS_python-subprocess="python-core python-io python-re python-fcntl python-pickle" +FILES_python-subprocess="${libdir}/python2.6/subprocess.* " + +DESCRIPTION_python-pydoc="Python Interactive Help Support" +RDEPENDS_python-pydoc="python-core python-lang python-stringold python-re" +FILES_python-pydoc="${bindir}/pydoc ${libdir}/python2.6/pydoc.* " + +DESCRIPTION_python-logging="Python Logging Support" +RDEPENDS_python-logging="python-core python-io python-lang python-pickle python-stringold" +FILES_python-logging="${libdir}/python2.6/logging " + +DESCRIPTION_python-mailbox="Python Mailbox Format Support" +RDEPENDS_python-mailbox="python-core python-mime" +FILES_python-mailbox="${libdir}/python2.6/mailbox.* " + +DESCRIPTION_python-xml="Python basic XML support." +RDEPENDS_python-xml="python-core python-re" +FILES_python-xml="${libdir}/python2.6/lib-dynload/pyexpat.so ${libdir}/python2.6/xml ${libdir}/python2.6/xmllib.* " + +DESCRIPTION_python-mime="Python MIME Handling APIs" +RDEPENDS_python-mime="python-core python-io" +FILES_python-mime="${libdir}/python2.6/mimetools.* ${libdir}/python2.6/uu.* ${libdir}/python2.6/quopri.* ${libdir}/python2.6/rfc822.* " + +DESCRIPTION_python-sqlite3="Python Sqlite3 Database Support" +RDEPENDS_python-sqlite3="python-core python-datetime python-lang python-crypt python-io python-threading python-zlib" +FILES_python-sqlite3="${libdir}/python2.6/lib-dynload/_sqlite3.so ${libdir}/python2.6/sqlite3/dbapi2.* ${libdir}/python2.6/sqlite3/__init__.* " + +DESCRIPTION_python-sqlite3-tests="Python Sqlite3 Database Support Tests" +RDEPENDS_python-sqlite3-tests="python-core python-sqlite3" +FILES_python-sqlite3-tests="${libdir}/python2.6/sqlite3/test " + +DESCRIPTION_python-unittest="Python Unit Testing Framework" +RDEPENDS_python-unittest="python-core python-stringold python-lang" +FILES_python-unittest="${libdir}/python2.6/unittest.* " + +DESCRIPTION_python-stringold="Python String APIs [deprecated]" +RDEPENDS_python-stringold="python-core python-re" +FILES_python-stringold="${libdir}/python2.6/lib-dynload/strop.so ${libdir}/python2.6/string.* " + +DESCRIPTION_python-robotparser="Python robots.txt parser" +RDEPENDS_python-robotparser="python-core python-netclient" +FILES_python-robotparser="${libdir}/python2.6/robotparser.* " + +DESCRIPTION_python-compile="Python Bytecode Compilation Support" +RDEPENDS_python-compile="python-core" +FILES_python-compile="${libdir}/python2.6/py_compile.* ${libdir}/python2.6/compileall.* " + +DESCRIPTION_python-debugger="Python Debugger" +RDEPENDS_python-debugger="python-core python-io python-lang python-re python-stringold python-shell python-pprint" +FILES_python-debugger="${libdir}/python2.6/bdb.* ${libdir}/python2.6/pdb.* " + +DESCRIPTION_python-pkgutil="Python Package Extension Utility Support" +RDEPENDS_python-pkgutil="python-core" +FILES_python-pkgutil="${libdir}/python2.6/pkgutil.* " + +DESCRIPTION_python-shell="Python Shell-Like Functionality" +RDEPENDS_python-shell="python-core python-re" +FILES_python-shell="${libdir}/python2.6/cmd.* ${libdir}/python2.6/commands.* ${libdir}/python2.6/dircache.* ${libdir}/python2.6/fnmatch.* ${libdir}/python2.6/glob.* ${libdir}/python2.6/popen2.* ${libdir}/python2.6/shlex.* ${libdir}/python2.6/shutil.* " + +DESCRIPTION_python-bsddb="Python Berkeley Database Bindings" +RDEPENDS_python-bsddb="python-core" +FILES_python-bsddb="${libdir}/python2.6/bsddb ${libdir}/python2.6/lib-dynload/_bsddb.so " + +DESCRIPTION_python-mmap="Python Memory-Mapped-File Support" +RDEPENDS_python-mmap="python-core python-io" +FILES_python-mmap="${libdir}/python2.6/lib-dynload/mmap.so " + +DESCRIPTION_python-zlib="Python zlib Support." +RDEPENDS_python-zlib="python-core" +FILES_python-zlib="${libdir}/python2.6/lib-dynload/zlib.so " + +DESCRIPTION_python-db="Python File-Based Database Support" +RDEPENDS_python-db="python-core" +FILES_python-db="${libdir}/python2.6/anydbm.* ${libdir}/python2.6/dumbdbm.* ${libdir}/python2.6/whichdb.* " + +DESCRIPTION_python-crypt="Python Basic Cryptographic and Hashing Support" +RDEPENDS_python-crypt="python-core" +FILES_python-crypt="${libdir}/python2.6/hashlib.* ${libdir}/python2.6/md5.* ${libdir}/python2.6/sha.* ${libdir}/python2.6/lib-dynload/crypt.so ${libdir}/python2.6/lib-dynload/_hashlib.so ${libdir}/python2.6/lib-dynload/_sha256.so ${libdir}/python2.6/lib-dynload/_sha512.so " + +DESCRIPTION_python-idle="Python Integrated Development Environment" +RDEPENDS_python-idle="python-core python-tkinter" +FILES_python-idle="${bindir}/idle ${libdir}/python2.6/idlelib " + +DESCRIPTION_python-lang="Python Low-Level Language Support" +RDEPENDS_python-lang="python-core" +FILES_python-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.* " + +DESCRIPTION_python-audio="Python Audio Handling" +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-codecs python-ctypes python-pickle python-bzip2 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-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-stringold python-robotparser python-compile python-debugger python-pkgutil python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio " +ALLOW_EMPTY_python-modules = "1" + + diff --git a/recipes/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch b/recipes/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch new file mode 100644 index 0000000000..2559e3a0e4 --- /dev/null +++ b/recipes/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch @@ -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 + +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 diff --git a/recipes/python/python-2.6.1/01-use-proper-tools-for-cross-build.patch b/recipes/python/python-2.6.1/01-use-proper-tools-for-cross-build.patch new file mode 100644 index 0000000000..e89faa4fb0 --- /dev/null +++ b/recipes/python/python-2.6.1/01-use-proper-tools-for-cross-build.patch @@ -0,0 +1,116 @@ +# We need to ensure our host tools get run during build, not the freshly +# built cross-tools (this will not work), so we introduce HOSTPYTHON and HOSTPGEN. +# Signed-Off: Michael 'Mickey' Lauer + +Index: Python-2.6.1/Makefile.pre.in +=================================================================== +--- Python-2.6.1.orig/Makefile.pre.in ++++ Python-2.6.1/Makefile.pre.in +@@ -175,6 +175,7 @@ UNICODE_OBJS= @UNICODE_OBJS@ + + PYTHON= python$(EXE) + BUILDPYTHON= python$(BUILDEXE) ++HOSTPYTHON= $(BUILDPYTHON) + + # The task to run while instrument when building the profile-opt target + PROFILE_TASK= $(srcdir)/Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck +@@ -205,7 +206,7 @@ GRAMMAR_INPUT= $(srcdir)/Grammar/Grammar + ########################################################################## + # Parser + PGEN= Parser/pgen$(EXE) +- ++HOSTPGEN= $(PGEN)$(EXE) + POBJS= \ + Parser/acceler.o \ + Parser/grammar1.o \ +@@ -394,8 +395,8 @@ platform: $(BUILDPYTHON) + # Build the shared modules + sharedmods: $(BUILDPYTHON) + @case $$MAKEFLAGS in \ +- *s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py -q build;; \ +- *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py build;; \ ++ *s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' $(HOSTPYTHON) -E $(srcdir)/setup.py -q build;; \ ++ *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' $(HOSTPYTHON) -E $(srcdir)/setup.py build;; \ + esac + + # Build static library +@@ -513,7 +514,7 @@ Modules/python.o: $(srcdir)/Modules/pyth + + $(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT) + -@$(INSTALL) -d Include +- -$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) ++ -$(HOSTPGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) + + $(PGEN): $(PGENOBJS) + $(CC) $(OPT) $(LDFLAGS) $(PGENOBJS) $(LIBS) -o $(PGEN) +@@ -879,23 +880,23 @@ libinstall: build_all $(srcdir)/Lib/$(PL + done + $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt + PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ +- ./$(BUILDPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ ++ $(HOSTPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ + -d $(LIBDEST) -f \ + -x 'bad_coding|badsyntax|site-packages' $(DESTDIR)$(LIBDEST) + PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ +- ./$(BUILDPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ ++ $(HOSTPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ + -d $(LIBDEST) -f \ + -x 'bad_coding|badsyntax|site-packages' $(DESTDIR)$(LIBDEST) + -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ +- ./$(BUILDPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \ ++ $(HOSTPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \ + -d $(LIBDEST)/site-packages -f \ + -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages + -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ +- ./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \ ++ $(HOSTPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \ + -d $(LIBDEST)/site-packages -f \ + -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages + -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ +- ./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()" ++ $(HOSTPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()" + + # Create the PLATDIR source directory, if one wasn't distributed.. + $(srcdir)/Lib/$(PLATDIR): +@@ -993,7 +994,7 @@ libainstall: all + # Install the dynamically loadable modules + # This goes into $(exec_prefix) + sharedinstall: +- $(RUNSHARED) ./$(BUILDPYTHON) -E $(srcdir)/setup.py install \ ++ $(RUNSHARED) $(HOSTPYTHON) -E $(srcdir)/setup.py install \ + --prefix=$(prefix) \ + --install-scripts=$(BINDIR) \ + --install-platlib=$(DESTSHARED) \ +Index: Python-2.6.1/setup.py +=================================================================== +--- Python-2.6.1.orig/setup.py ++++ Python-2.6.1/setup.py +@@ -276,6 +276,7 @@ class PyBuildExt(build_ext): + self.failed.append(ext.name) + self.announce('*** WARNING: renaming "%s" since importing it' + ' failed: %s' % (ext.name, why), level=3) ++ return + assert not self.inplace + basename, tail = os.path.splitext(ext_filename) + newname = basename + "_failed" + tail +@@ -310,8 +311,8 @@ class PyBuildExt(build_ext): + + def detect_modules(self): + # Ensure that /usr/local is always used +- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') +- add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') ++ # add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') ++ # add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') + + # Add paths specified in the environment variables LDFLAGS and + # CPPFLAGS for header and library files. +@@ -410,6 +411,9 @@ class PyBuildExt(build_ext): + + # XXX Omitted modules: gl, pure, dl, SGI-specific modules + ++ lib_dirs = [ os.getenv( "STAGING_LIBDIR" ) ] ++ inc_dirs = [ os.getenv( "STAGING_INCDIR" ) ] ++ + # + # The following modules are all pretty straightforward, and compile + # on pretty much any POSIXish platform. diff --git a/recipes/python/python-2.6.1/02-remove-test-for-cross.patch b/recipes/python/python-2.6.1/02-remove-test-for-cross.patch new file mode 100644 index 0000000000..48386ea462 --- /dev/null +++ b/recipes/python/python-2.6.1/02-remove-test-for-cross.patch @@ -0,0 +1,94 @@ +# OpenEmbedded prepopulates the autotools site cache, so if this +# would be using AC_TRY_CACHE, we could patch it in a more sane way +# Alas, I don't have enough autotalent to do that. +# +# Signed-Off: Michael 'Mickey' Lauer +Index: Python-2.6.1/configure.in +=================================================================== +--- Python-2.6.1.orig/configure.in ++++ Python-2.6.1/configure.in +@@ -2556,38 +2556,6 @@ AC_CHECK_LIB(c, inet_aton, [$ac_cv_prog_ + AC_CHECK_LIB(resolv, inet_aton) + ) + +-# On Tru64, chflags seems to be present, but calling it will +-# exit Python +-AC_MSG_CHECKING(for chflags) +-AC_TRY_RUN([ +-#include +-#include +-int main(int argc, char*argv[]) +-{ +- if(chflags(argv[0], 0) != 0) +- return 1; +- return 0; +-} +-],AC_DEFINE(HAVE_CHFLAGS, 1, Define to 1 if you have the `chflags' function.) +- AC_MSG_RESULT(yes), +- AC_MSG_RESULT(no) +-) +- +-AC_MSG_CHECKING(for lchflags) +-AC_TRY_RUN([ +-#include +-#include +-int main(int argc, char*argv[]) +-{ +- if(lchflags(argv[0], 0) != 0) +- return 1; +- return 0; +-} +-],AC_DEFINE(HAVE_LCHFLAGS, 1, Define to 1 if you have the `lchflags' function.) +- AC_MSG_RESULT(yes), +- AC_MSG_RESULT(no) +-) +- + dnl Check if system zlib has *Copy() functions + dnl + dnl On MacOSX the linker will search for dylibs on the entire linker path +@@ -3649,45 +3617,6 @@ else + AC_MSG_RESULT(no) + fi + +-AC_MSG_CHECKING(for %zd printf() format support) +-AC_TRY_RUN([#include +-#include +-#include +- +-#ifdef HAVE_SYS_TYPES_H +-#include +-#endif +- +-#ifdef HAVE_SSIZE_T +-typedef ssize_t Py_ssize_t; +-#elif SIZEOF_VOID_P == SIZEOF_LONG +-typedef long Py_ssize_t; +-#else +-typedef int Py_ssize_t; +-#endif +- +-int main() +-{ +- char buffer[256]; +- +- if(sprintf(buffer, "%zd", (size_t)123) < 0) +- return 1; +- +- if (strcmp(buffer, "123")) +- return 1; +- +- if (sprintf(buffer, "%zd", (Py_ssize_t)-123) < 0) +- return 1; +- +- if (strcmp(buffer, "-123")) +- return 1; +- +- return 0; +-}], +-[AC_MSG_RESULT(yes) +- AC_DEFINE(PY_FORMAT_SIZE_T, "z", [Define to printf format modifier for Py_ssize_t])], +- AC_MSG_RESULT(no)) +- + AC_CHECK_TYPE(socklen_t,, + AC_DEFINE(socklen_t,int, + Define to `int' if does not define.),[ diff --git a/recipes/python/python-2.6.1/03-fix-tkinter-detection.patch b/recipes/python/python-2.6.1/03-fix-tkinter-detection.patch new file mode 100644 index 0000000000..a1a385a07c --- /dev/null +++ b/recipes/python/python-2.6.1/03-fix-tkinter-detection.patch @@ -0,0 +1,40 @@ +# We need to supply STAGING_INCDIR here, otherwise the Tk headers +# will not be found. +# Signed-Off: Michael 'Mickey' Lauer + +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) diff --git a/recipes/python/python-2.6.1/04-default-is-optimized.patch b/recipes/python/python-2.6.1/04-default-is-optimized.patch new file mode 100644 index 0000000000..805f4f696c --- /dev/null +++ b/recipes/python/python-2.6.1/04-default-is-optimized.patch @@ -0,0 +1,52 @@ +# 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 + +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 +Index: Python-2.6.1/Modules/main.c +=================================================================== +--- Python-2.6.1.orig/Modules/main.c ++++ Python-2.6.1/Modules/main.c +@@ -40,7 +40,7 @@ static char **orig_argv; + static int orig_argc; + + /* command line options */ +-#define BASE_OPTS "3bBc:dEhiJm:OQ:sStuUvVW:xX?" ++#define BASE_OPTS "3bBc:dEhiJm:NOQ:sStuUvVW:xX?" + + #ifndef RISCOS + #define PROGRAM_OPTS BASE_OPTS +@@ -69,8 +69,7 @@ Options and arguments (and corresponding + static char *usage_2 = "\ + if stdin does not appear to be a terminal; also PYTHONINSPECT=x\n\ + -m mod : run library module as a script (terminates option list)\n\ +--O : optimize generated bytecode slightly; also PYTHONOPTIMIZE=x\n\ +--OO : remove doc-strings in addition to the -O optimizations\n\ ++-N : do NOT optimize generated bytecode\n\ + -Q arg : division options: -Qold (default), -Qwarn, -Qwarnall, -Qnew\n\ + -s : don't add user site directory to sys.path; also PYTHONNOUSERSITE\n\ + -S : don't imply 'import site' on initialization\n\ +@@ -353,8 +352,8 @@ Py_Main(int argc, char **argv) + + /* case 'J': reserved for Jython */ + +- case 'O': +- Py_OptimizeFlag++; ++ case 'N': ++ Py_OptimizeFlag=0; + break; + + case 'B': diff --git a/recipes/python/python-2.6.1/05-enable-ctypes-cross-build.patch b/recipes/python/python-2.6.1/05-enable-ctypes-cross-build.patch new file mode 100644 index 0000000000..874b8be01d --- /dev/null +++ b/recipes/python/python-2.6.1/05-enable-ctypes-cross-build.patch @@ -0,0 +1,28 @@ +# CTypes need to know the actual host we are building on. +# Signed-Off: Michael Dietrich + +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 (ret=%d) or missing conffile=%s" % ( ret, ffi_configfile ) + return False + + fficonfig = {} diff --git a/recipes/python/python-2.6.1/99-ignore-optimization-flag.patch b/recipes/python/python-2.6.1/99-ignore-optimization-flag.patch new file mode 100644 index 0000000000..02dc44c847 --- /dev/null +++ b/recipes/python/python-2.6.1/99-ignore-optimization-flag.patch @@ -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 + +Index: Python-2.6.1/Modules/main.c +========