Commit Graph

114 Commits

Author SHA1 Message Date
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
07ddeca733 python: have bin/python${_MAJOR_VERSION}m back
and convert bin/python${_MAJOR_VERSION} from hardlink to symlink
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
3af95bb483 python(2): remove easy_install in prerm 2018-05-21 00:08:10 +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
cd2f88cb1e python: Update from 3.6.4 to 3.6.5 2018-03-30 23:03:04 +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
be3f1342bc python: Remove more tests folders 2018-01-03 01:46:00 +01:00
Fredrik Fornwall
17861bfa38 python: Update from 3.6.3 to 3.6.4 2017-12-20 00:42:37 +01:00
Fredrik Fornwall
2014dc8bf1 python: Fix build for x86_64 with NDK r16 2017-11-17 01:37:31 +01:00
Fredrik Fornwall
95a637a4e3 python: Update from 3.6.2 to 3.6.3 2017-10-06 07:59:57 +02:00
Leonid Pliushch
ca4a51a6b3 python: fix hardcoded paths 2017-09-17 01:50:01 +02:00
Fredrik Fornwall
8ac5e89a03 Rebuild packages linking against libintl.so
The libintl.so library was a symlink to libandroid-support. We
now provide the functions inline in libintl.h so libintl.so has
been removed.

Fixes #1283.
2017-08-17 11:12:17 +02:00
its-pointless
c2a0bc2bab put shebang in scripts 2017-08-17 00:26:27 +02:00
Fredrik Fornwall
a12b629592 python: Enable --enable-loadable-sqlite-extensions 2017-07-20 20:30:15 +02:00
Fredrik Fornwall
f03731c8d1 python: Fix 32-bit builds 2017-07-19 00:59:00 +02:00
Fredrik Fornwall
055c53dd86 python: Update from 3.6.1 to 3.6.2 2017-07-19 00:45:42 +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
62d73a31dd python: Restore CCSHARED="-fPIC" for Android
Fixes "unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC"
on arm.
2017-03-24 00:15:32 +01:00
Fredrik Fornwall
0a1ce09534 python: Update from 3.6.0 to 3.6.1 2017-03-23 23:04:31 +01:00
Fredrik Fornwall
72f69cdc35 Use termux_error_exit in more cases 2017-03-05 03:30:38 +01:00
Fredrik Fornwall
206d821d87 python3: Fix build with clang for real 2017-01-17 22:11:14 +01:00
Fredrik Fornwall
96decc21cb python: Fix build issue when using clang 2017-01-16 11:49:20 +01:00
Fredrik Fornwall
449d39d04a python: Update from 3.5 to 3.6 2017-01-15 19:37:14 +01:00
Fredrik Fornwall
af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall
2b0e9dc9e2 Fix build of python after build-package.sh rewrite 2017-01-07 00:38:04 -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
32ef012d3c python: Do not remove bin/python*-config 2016-09-16 05:34:30 -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
e229609ba1 python: Update from 3.5.1 to 3.5.2
The local fileutils.c patch can now be removed as it has been
merged upstream:
35003947f3
2016-07-04 17:22:12 -04:00
Fredrik Fornwall
5d4f5d9362 python: set ac_cv_posix_semaphores_enabled=no 2016-06-06 19:28:22 -04:00
Fredrik Fornwall
8f19a179fe python: Rebuild with sqlite3 module for i686
Also add tests that desired modules are built to avoid packaging
errors. Fixes #284.
2016-05-23 02:02:39 -04:00
Fredrik Fornwall
82fa510263 python: Bump build revision after ioctl fix 2016-05-18 20:03:21 -04:00
Fredrik Fornwall
a99fdd984c Merge pull request #279 from michalbednarski/python-setinheritable
python: Make os.set_inheritable work on sockets
2016-05-19 01:39:37 +02:00
Fredrik Fornwall
6945bd1ee2 python: float=hard -> float=softfp for arm 2016-05-18 18:49:44 -04:00
Michał Bednarski
5b5125f332 python: Make os.set_inheritable work on sockets
As SELinux policy disallows ioctl on sockets we have to fall back
to fcntl on EACCES
2016-05-17 22:19:10 +02: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
f16ed1269b python: Keep pyvenv. Fixes #83. 2015-12-09 07:33:59 -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
89a13ec524 python: $PREFIX/bin/sh instead of /system/bin/sh 2015-12-02 05:55:58 -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
55af4ded25 python: Fix dlfcn patch for 64 bit 2015-09-17 10:55:44 -04:00
Fredrik Fornwall
343a9157bb python: Show pip install progress 2015-09-17 10:52:37 -04:00
Fredrik Fornwall
3cea6702d5 python: Add ac_cv_func_gethostbyname_r=no as configure arg 2015-09-15 11:30:32 -04:00
Fredrik Fornwall
8bdc9f3a8f python: Update to 3.5.0 2015-09-14 20:24:58 -04:00
Fredrik Fornwall
d519a96dc8 python: Cleanup build 2015-08-25 17:51:02 -04:00
Fredrik Fornwall
204d1f9a7f python: gethostbyaddr_r exists in bionic nowadays 2015-08-25 17:33:16 -04:00
Fredrik Fornwall
b672d699ec python: Drop old patch 2015-08-25 17:30:13 -04:00
Fredrik Fornwall
ea46e793ed python: Remove __pycache__ directories from package 2015-08-11 20:40:31 -04:00
Fredrik Fornwall
ae85ec31ef Fix installing pip packages containing C code
A test case is to install dependencies:
 $ apt install gcc python-dev libgmp-dev libmpfr-dev libmpc-dev
and then install gmpy2:
 $ pip install gmpy2

Thanks +Rick Gutleber for the heads up!
2015-07-24 20:18:52 -04:00
Fredrik Fornwall
4413a3b8e2 python: Install pip 2015-07-22 21:46:33 -04:00
Fredrik Fornwall
f849a015df python: Patch for tempfile paths 2015-07-21 20:00:29 -04:00
Fredrik Fornwall
e7fcdfa2bb Remove broken WIFCONTINUED macro
Bump build revision on affected packages.
2015-07-11 17:16:59 -04:00
Fredrik Fornwall
59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00