Commit Graph

7 Commits

Author SHA1 Message Date
Fredrik Fornwall
488acbe2bb python: Add module dependencies 2015-12-02 13:29:44 -05:00
Fredrik Fornwall
fb8edfde9c python2: Improve unicode support
Add --enable-unicode=ucs4 and note that langinfo.h exists. One
result is that sys.stdout.encoding now is UTF-8 instead of None,
which allows e.g. bpython to launch without messing with the
PYTHONIOENCODING environment variable (see #35).
2015-11-15 17:24:35 -05:00
Fredrik Fornwall
3152547b65 Fix python (and python2) syslog module
Since the syslog api is a wrapper around the native Android logging
system, we need to link the syslog module against liblog. Fixes #41.
2015-11-07 17:44:51 -05:00
Fredrik Fornwall
2df87e72e2 Compile python as if link(2) is not available
From Android 6.0 on hard links are not permitted, so remove
link to force e.g. _vendor/lockfile/linklockfile.py to use
other mechanisms. Fixes #29.
2015-10-21 14:36:57 -04:00
Fredrik Fornwall
670cdeeabc python2: Fix C extension flags to not contain termux.spec 2015-09-30 17:33:01 -04:00
Fredrik Fornwall
58fd730b81 python2: Patch /bin/sh path in subprocess.py
This fixes #13.
2015-09-26 18:31:06 -04:00
Fredrik Fornwall
9bcd2ca977 Add initial python2 package 2015-09-16 21:08:59 -04:00