summaryrefslogtreecommitdiffstats
path: root/rules/python3.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-04-19 20:50:16 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-04-21 07:30:03 +0200
commit6c79cb5ac373b1cccf531e8be3ed1b9722ed1622 (patch)
tree4b51ce4c13129450c7abb96883a1407e8a7d9638 /rules/python3.in
parent12aab9286219400de76c73ae6a33eb4495253b20 (diff)
downloadptxdist-6c79cb5ac373b1cccf531e8be3ed1b9722ed1622.tar.gz
ptxdist-6c79cb5ac373b1cccf531e8be3ed1b9722ed1622.tar.xz
[python3] create a separate python3 package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/python3.in')
-rw-r--r--rules/python3.in62
1 files changed, 62 insertions, 0 deletions
diff --git a/rules/python3.in b/rules/python3.in
new file mode 100644
index 000000000..bcb2ca50d
--- /dev/null
+++ b/rules/python3.in
@@ -0,0 +1,62 @@
+## SECTION=scripting_languages
+
+menuconfig PYTHON3
+ tristate "python3 "
+ select LIBC_DL
+ select LIBC_UTIL
+ select LIBC_PTHREAD
+ select HOST_PYTHON3
+ select GCCLIBS_CXX
+ select NCURSES if PYTHON3_NCURSES
+ select SQLITE if PYTHON3_SQLITE
+ select BZIP2 if PYTHON3_BZ2
+ select BZIP2_LIBBZ2 if PYTHON3_BZ2
+ select ZLIB if PYTHON3_ZLIB
+ select READLINE if PYTHON3_READLINE
+ select DB if PYTHON3_DB
+ help
+ Python is a dynamic object-oriented programming
+ language that can be used for many kinds of
+ software development. It offers strong support
+ for integration with other languages and tools,
+ comes with extensive standard libraries, and
+ can be learned in a few days.
+
+if PYTHON3
+
+config PYTHON3_NCURSES
+ bool "ncurses bindings"
+
+config PYTHON3_SQLITE
+ bool "sqlite bindings"
+
+config PYTHON3_BZ2
+ bool "libbz2 bindings"
+
+config PYTHON3_ZLIB
+ bool "zlib bindings"
+
+config PYTHON3_READLINE
+ bool "readline bindings"
+
+config PYTHON3_DB
+ bool "db bindings"
+
+config PYTHON3_SYMLINK
+ bool
+ prompt "install symbolic link /usr/bin/python"
+ default y
+
+config PYTHON3_LIBTK
+ bool
+ prompt "Include lib-tk packages"
+
+config PYTHON3_IDLELIB
+ bool
+ prompt "Include idlelib packages"
+
+config PYTHON3_DISTUTILS
+ bool
+ prompt "Include distutils packages"
+
+endif