kumquat-buildroot/package/python3
Thomas De Schampheleire c3d539b53f host python/python3: conditionally disable unicodedata
The host python always had --disable-unicodedata, regardless of the
corresponding configuration option BR2_PACKAGE_PYTHON_UNICODEDATA.
Since the host python is used to byte-compile python modules, this meant
that such modules could not contain unicode strings. For example, following
statement in a python module:
    print u"\N{SOLIDUS}"

would cause the byte-compilation to fail with message:
    SyntaxError: ("(unicode error) \\N escapes not supported (can't load
    unicodedata module)",

Instead, conditionally disable unicodedata based on
BR2_PACKAGE_PYTHON_UNICODEDATA, also for the host python.

This fixes bug #6542 (https://bugs.busybox.net/show_bug.cgi?id=6542)

Reported-by: Gernot Vormayr <gvormayr@gmail.com>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-18 23:09:05 +01:00
..
Config.in
python3-000-generate-sysconfigdata-buildir.patch
python3-001-support-for-build.patch
python3-002-no-host-headers-libs.patch
python3-003-staging-header-libs.patch
python3-004-no-import-when-cross-compiling.patch
python3-005-do-not-generate-pyo-files.patch
python3-006-reread-environment.patch
python3-007-change-pyconfig-h-location.patch
python3-008-no-rpath.patch
python3-009-verbose-module-build.patch
python3-010-distutils-cross-compilation-support.patch
python3-011-cross-compile-getaddrinfo.patch
python3-012-disable-extensions.patch
python3-100-optional-test-modules.patch
python3-101-optional-pydoc.patch
python3-102-optional-2to3.patch
python3-103-optional-sqlite.patch
python3-104-optional-tk.patch
python3-105-optional-curses.patch
python3-106-optional-expat.patch
python3-107-optional-codecs-cjk.patch
python3-108-optional-nis.patch
python3-109-optional-unicodedata.patch
python3-110-optional-idle.patch
python3-112-old-stdlib-cache.patch
python3.mk