summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@fastmail.co.uk>2014-05-17 11:31:19 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-08-05 15:56:31 (GMT)
commit64463b54d225bd26086f7285d9eb3e27e69d440a (patch)
treeb06565b96e48eb79cacd51481a70487b4ea667d0
parent998fb00b9099791dd7fc1ef4b68a6e5049e0d5a2 (diff)
downloaddefinitions-64463b54d225bd26086f7285d9eb3e27e69d440a.tar.gz
Build cpython with readline and ncurses
At the moment if you try to use the arrow keys in a python shell then you just get some unhelpful output. This builds cpython with readline so the arrow keys can do useful things It also adds ncurses as a build dependency, so that the 'curses' module can be imported.
-rw-r--r--core.morph7
1 files changed, 7 insertions, 0 deletions
diff --git a/core.morph b/core.morph
index 16d874a..04f0b2d 100644
--- a/core.morph
+++ b/core.morph
@@ -100,6 +100,11 @@ chunks:
ref: 8deafa68e52b230018c0318dc7959ff9af3ad2a5
unpetrify-ref: baserock/morph
build-depends: []
+- name: readline
+ repo: upstream:readline
+ ref: 518937ab89be812ccd45e9b8c1ce4ad721d35ef6
+ unpetrify-ref: baserock/genivi/baseline
+ build-depends: []
- name: cpython
repo: upstream:cpython
ref: fa86445bfd4fb8e5441d685d92bf8a8ee237f022
@@ -108,6 +113,8 @@ chunks:
- openssl-new
- bzip2
- sqlite3
+ - ncurses
+ - readline
- name: libtool
repo: upstream:libtool
ref: d388b7f2dc628b22006025d01179bc09b8aabe81