Commit Graph

39 Commits

Author SHA1 Message Date
Tom Yan
3a270b8aa3 python(2): bump revision after updates 2018-05-21 00:08:28 +02:00
Tom Yan
999d9feaab python(2): match TERMUX_PKG_RM_AFTER_INSTALL 2018-05-21 00:08:28 +02:00
Tom Yan
3d3547d115 python(2): fix bin/ and share/man/
Justification for the changes:

$ dpkg -S smtpd.py
python: /data/data/com.termux/files/usr/lib/python3.6/smtpd.py
python2: /data/data/com.termux/files/usr/lib/python2.7/smtpd.py
python2: /data/data/com.termux/files/usr/bin/smtpd.py

$ ls -l $PREFIX/bin/python-config
lrwxrwxrwx    1 u0_a312  u0_a312         14 May 18 01:09 /data/data/com.termux/files/usr/bin/python-config -> python2-config

$ ls -l $PREFIX/share/man/man1/python2.1
lrwxrwxrwx    1 u0_a312  u0_a312          9 May 18 01:09 /data/data/com.termux/files/usr/share/man/man1/python2.1 -> python2.1

$ dpkg -S bin/2to3
python: /data/data/com.termux/files/usr/bin/2to3
python: /data/data/com.termux/files/usr/bin/2to3-3.6

$ dpkg -S bin/pydoc
python2: /data/data/com.termux/files/usr/bin/pydoc
python: /data/data/com.termux/files/usr/bin/pydoc3.6
python: /data/data/com.termux/files/usr/bin/pydoc3
2018-05-21 00:08:28 +02:00
Tom Yan
18d2585c33 python(2): improve cache cleanup command
by using + instead of ;
2018-05-21 00:08:10 +02:00
Tom Yan
cf0b9522d3 python2: fix cache cleanup command
python2 does not produce __pycache__ directories but only *.pyc
files.
2018-05-21 00:08:10 +02:00
Tom Yan
3af95bb483 python(2): remove easy_install in prerm 2018-05-21 00:08:10 +02:00
Fredrik Fornwall
135be814eb python2: Update from 2.7.14 to 2.7.15 2018-05-13 02:46:43 +02:00
Fredrik Fornwall
3b68f37c35 python: Fix "rounding errors"
By @its-pointless (great work!). Fixes #2236.
2018-04-04 00:17:22 +02:00
Fredrik Fornwall
a073a49808 Rebuild gdbm-using packages
gdbm 14.4.1 bumped the library version.
2018-01-07 05:42:55 +01:00
Fredrik Fornwall
2014dc8bf1 python: Fix build for x86_64 with NDK r16 2017-11-17 01:37:31 +01:00
Sayem Chowdhury
535b93f6ed python2: Update from 2.7.13 to 2.7.14 (#1636) 2017-10-08 21:43:13 +02:00
Leonid Pliushch
44c8ae2844 python2: fix hardcoded paths 2017-09-17 01:50:24 +02:00
its-pointless
c2a0bc2bab put shebang in scripts 2017-08-17 00:26:27 +02:00
Fredrik Fornwall
70dd6b3190 Remove TERMUX_TAR and TERMUX_TOUCH
These can be removed now that OS X is not supported directly (OS X
users can still use Docker to build though).

Fixes #936.
2017-04-18 08:19:48 +02:00
Fredrik Fornwall
7d055a16ba Use termux_error_exit 2017-04-09 15:10:01 +02:00
Fredrik Fornwall
b8352277e3 Use more source checksums 2017-03-04 21:54:30 +01:00
Fredrik Fornwall
9760338bc2 python: Fix build with clang for real 2017-01-17 22:06:27 +01:00
Fredrik Fornwall
5631d5a23d python2: Fix issues when building with clang 2017-01-17 10:05:20 +01:00
Fredrik Fornwall
2b0e9dc9e2 Fix build of python after build-package.sh rewrite 2017-01-07 00:38:04 -05:00
Fredrik Fornwall
3da0288bb3 python2: Update from 2.7.12 to 2.7.13 2016-12-20 22:17:50 -05:00
Fredrik Fornwall
bbe295173d python&python2: Do not disable ipv6 support
Fixes #573.
2016-12-03 16:18:51 -05:00
Fredrik Fornwall
a9e7faf25c Bump some build revisions for rebuild with ELF fix 2016-09-28 09:47:02 -04:00
Fredrik Fornwall
83d11d6e04 Update readline to v7 and bash to v4.4
As a consequence of updating readline to version 7 we bump the
build revision of all packaging linking to it as the soname has
changed.
2016-09-17 18:29:14 -04:00
Fredrik Fornwall
b2a8800c2c python&python2: Fix PATH handling
After changes to build-package.sh the PATH setup in python&python2
caused the toolchain strip not to be found, causing broken binaries
due to non-stripped elf symbol versioning.

Fixes #460.
2016-09-16 07:29:54 -04:00
Fredrik Fornwall
a578e0de71 python: Fix prerm trigger
The prerm trigger should clean up only when the package is being
uninstalled, not when updating.
2016-07-19 18:54:58 -04:00
Fredrik Fornwall
315a0ef6f9 python: Better cleanup of __pycache__ folders
Fixes #87, so future updates of the python package should not
require ranger having to be re-installed.
2016-07-04 18:18:29 -04:00
Fredrik Fornwall
cfd457dace python2: Update from 2.7.11 to 2.7.12 2016-07-04 17:26:26 -04:00
Fredrik Fornwall
f4d0939e17 python: Build a working crypt module (closes #230) 2016-04-23 09:03:07 -04:00
Fredrik Fornwall
13a414dd30 libsqlite: Update for real 2016-02-29 02:19:10 -05:00
Fredrik Fornwall
3ea39a774c python: Show that this is python 3 in description 2016-02-28 01:49:55 -05:00
Fredrik Fornwall
f3da7d340b python: Ensure curses.panel module is built 2016-01-03 08:18:40 -05:00
Fredrik Fornwall
6c5b26e115 python: Update 2.7.10 to 2.7.11 and 3.5.0 to 3.5.1 2015-12-08 02:44:04 -05:00
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