added python unicode selection to menu
PATCH 1/1 added python unicode selection to menu
From: Matthew Weber <[email protected]>
Signed-off-by Matt Weber <[email protected]>
--- package/python/Config.in | 18 ++++++++++++++++++ package/python/python.mk | 6 ++++++ 2 files changed, 24 insertions(+), 0 deletions(-)
package/python/Config.in +18 -0
@@ -83,6 +83,24 @@ config BR2_PACKAGE_PYTHON_UNICODEDATA help Unicode character database (used by stringprep module) (large). +if BR2_PACKAGE_PYTHON_UNICODEDATA + +choice +>.......prompt "Python unicode database format" +>.......default BR2_PACKAGE_PYTHON_UCS2 +>.......help +>....... Select Python unicode database format for target + +config BR2_PACKAGE_PYTHON_UCS2 +>.......bool "Universal Character Set 2-byte (UCS2)" + +config BR2_PACKAGE_PYTHON_UCS4 +>.......bool "Universal Character Set 4-byte (UCS4)" + +endchoice + +endif + config BR2_PACKAGE_PYTHON_SQLITE bool "sqlite module" select BR2_PACKAGE_SQLITE
package/python/python.mk +6 -0
@@ -96,6 +96,12 @@ ifneq ($(BR2_PACKAGE_PYTHON_UNICODEDATA),y) PYTHON_CONF_OPT += --disable-unicodedata endif +# Default is UCS2 w/o a conf opt +ifeq ($(BR2_PACKAGE_PYTHON_UCS4),y) +HOST_PYTHON_CONF_OPT += --enable-unicode=ucs4 +PYTHON_CONF_OPT += --enable-unicode=ucs4 +endif + ifeq ($(BR2_PACKAGE_PYTHON_BZIP2),y) PYTHON_DEPENDENCIES += bzip2 else
Signature · 1 line
1.7.1
PATCH 1/1 added python unicode selection to menu
Ignore this patch, submitting a new one later to fix a formatting issue in the first section of the patch.
Quoted 56 lines · Matt Weber
From: Matthew Weber <[email protected]>
Signed-off-by Matt Weber <[email protected]>--- package/python/Config.in | 18 ++++++++++++++++++ package/python/python.mk | 6 ++++++ 2 files changed, 24 insertions(+), 0 deletions(-)package/python/Config.in +18
-0@@ -83,6 +83,24 @@ config BR2_PACKAGE_PYTHON_UNICODEDATA help Unicode character database (used by stringprep module) (large). +if BR2_PACKAGE_PYTHON_UNICODEDATA + +choice +>.......prompt "Python unicode database format" +>.......default BR2_PACKAGE_PYTHON_UCS2 +>.......help +>....... Select Python unicode database format for target + +config BR2_PACKAGE_PYTHON_UCS2 +>.......bool "Universal Character Set 2-byte (UCS2)" + +config BR2_PACKAGE_PYTHON_UCS4 +>.......bool "Universal Character Set 4-byte (UCS4)" + +endchoice + +endif + config BR2_PACKAGE_PYTHON_SQLITE bool "sqlite module" select BR2_PACKAGE_SQLITEpackage/python/python.mk +6
-1@@ -96,6 +96,12 @@ ifneq ($(BR2_PACKAGE_PYTHON_UNICODEDATA),y) PYTHON_CONF_OPT += --disable-unicodedata endif +# Default is UCS2 w/o a conf opt +ifeq ($(BR2_PACKAGE_PYTHON_UCS4),y) +HOST_PYTHON_CONF_OPT += --enable-unicode=ucs4 +PYTHON_CONF_OPT += --enable-unicode=ucs4 +endif + ifeq ($(BR2_PACKAGE_PYTHON_BZIP2),y) PYTHON_DEPENDENCIES += bzip2 else --
Quoted 3 lines
1.7.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130118/80a448a8/attachment.html>