python3: add python3-readline subpackage 15659/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 19 May 2021 09:16:20 +0000 (12:16 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 19 May 2021 11:17:00 +0000 (14:17 +0300)
commit49faf5d7cacf91aeb0c72447f0f5a069c891c3a9
treea73488fe0692080f98673d9c00db6eac64cbb836
parent35264e0a2c2a6f231264ce9c6ebf280a5bd2d35d
python3: add python3-readline subpackage

Python3 comes with a built-in readline module. It wasn't included up until
now; mostly because it wasn't considered.

This change introduces it as a sub-package of the main Python3 package.
readline support is included in Python.

libreadline pulls libncursesw as a package, so python3-ncurses was
updated to pull libncursesw as well.
It should be the same package; mostly done for consistency.

Resolves the issue reported here:
  https://forum.openwrt.org/t/python3-repl-missing-readline/90039

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/python3/Makefile
lang/python/python3/files/python3-package-ncurses.mk
lang/python/python3/files/python3-package-readline.mk [new file with mode: 0644]