Commit Graph

63 Commits

Author SHA1 Message Date
Leonid Pliushch
11ae34095b python2: bump revision 2020-07-09 01:34:09 +03:00
Leonid Pliushch
48847992ea python2: remove /bin/applets from PATH 2020-07-09 01:34:04 +03:00
Henrik Grimler
dcb926abd4 Copy LICENSE file for some licenses instead of using generic one (#5478)
* termux-licenses: remove licenses that contain copyright information

These licenses cannot be taken from the common termux-licenses package as the copyright information needs to be distributed with the package as well.

271 packages in the main repository needs to be rebuilt after this change.

* termux_step_install_license: remove duplicated comment

* Bump packages that has a license with copyright information

We need to include this copyright information in the package so need
to rebuild them now that termux_step_install_license has been
modified.

The affected licenses are: MIT, ISC, PythonPL, Openfont-1.1, ZLIB,
Libpng, BSD, BSD 2-Clause, BSD 3-Clause.

* zlib: extract license file from zlib.h

* xorgproto: include all individual license files in package

* libgcrypt: include LICENSE file in package

It contains some copyright information so needs to be included in package

* libcrypt: add a dummy BSD 2-Clause license

According to homepage it is suppose to be BSD 2-Clause, but original
project did not include a license file

* libandroid-spawn: add LICENSE file to package

* libandroid-glob: add license file to package

* licenses: allow for comma separated TERMUX_PKG_LICENSE_FILE

%ci:no-build

* libicu: fix so that termux_step_install_license finds license file

%ci:no-build

* termux_step_install_license: check for license file as "License"

%ci:no-build

* libtiff: specify TERMUX_PKG_LICENSE_FILE

%ci:no-build

* asciidoctor: install license to standard location

* krb5: specify license file

* libdb: specify path to license file

%ci:no-build

* libprotobuf: specify path to license file

* darkhttpd: extract license file from darkhttpd.c

* w3m: ensure host libraries are not picked up

* w3m: extract LICENSE file from dock/README

* liblua{,52}: extract license files from doc/readme.html

* termux_step_install_license: look for License.txt as well

* dart: specify path to LICENSE file

* nim: specify license file

* runit: specify license file

* termux_step_install_license: look for LICENSE.TXT as well

* ossp-uuid: extract LICENSE from README

* pigz: extract LICENSE from pigz.c

* ttyrec: extract LICENSE from ttyrec.c

%ci:no-build

* bmon: specify license files

Most of the source files are licensed under MIT, it is not clear (to me) which
parts that are licensed under BSD 2-Clause.

%ci:no-build

* wordgrinder: specify license files

* fdupes: add LICENSE

* autossh: add LICENSE patch

* cmake: specify LICENSE file

* dos2unix: specify LICENSE file

* gnuplot: specify LICENSE file

* termux_step_install_license: look for variants of "copyright" also

* picolisp: specify LICENSE file

* lua-lpeg: extract license file

* tidy: specify license file

* gflags: specify LICENSE file

* timewarrior: fix src url

It seems to have been changed.

* postgresql: specify license file

* ttyrec: fix license patch header

* fossil: specify license file

* fmt: specify license file

* i2pd: specify license file

* leptonica: specify license file

* imgflo: add license file patch

* ired: add license file from ired github repo

* libzen: specify license file

* libmediainfo: specify license file

* mediainfo: specify license file

* tty-clock: add license patch

* samefile: add license patch

* quickjs: add license patch

* docbook-xml: add LICENSE patch

* docbook-xsl: specify LICENSE files

* gnuplot: configure with --without-latex

* timewarrior: add libshared to SRCURL as well

The non-release archives does not contain gitsubmodules so we need to
download it manually.

* restic: switch back to using 0.9.6 archive

* dart: revert revision bump

dart's SDK does not fully support python3 yet, and trying to solve
that is not entirely trivial. We save the dart bump (and upgrade to
2.8.4) for another day.

%ci:no-build
2020-07-07 18:45:45 +02:00
Leonid Pliushch
8a5a875f84 python2: recommend 'clang', 'make' and 'pkg-config' 2020-06-27 14:03:27 +03:00
Leonid Pliushch
f98d5473f2 python2: update to 2.7.18
Last Python v2 release.
2020-04-22 03:44:17 +03:00
Leonid Pliushch
5123b0cffa fix formatting of some build.sh 2020-01-13 03:00:07 +02:00
Fredrik Fornwall
89a1c5d0b1 python2: Update from 2.7.16 to 2.17.7 2019-10-23 10:09:49 +02:00
Leonid Pliushch
6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
Leonid Pliushch
a9b08c2cc8 libffi: disable versioning + rebuild dependent packages 2019-06-28 20:34:04 +03:00
Leonid Pliushch
11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Leonid Pliushch
c9b80cf42d libutil: remove package - replaced by libc from Android 7 or newer 2019-03-10 15:42:58 +02:00
Fredrik Fornwall
96274858f4 python2: Update from 2.7.15 to 2.7.16 2019-03-06 23:04:04 +01:00
Leonid Pliushch
54036eac1a bump revision of all packages dependent on readline 2019-02-20 17:48:39 +02:00
Wetitpig
d50c847f11 Shell script compliance 2019-02-15 18:01:09 +02:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Fredrik Fornwall
a97ae8c9dd Revision-bump more packages 2019-01-27 16:08:59 +01:00
Leonid Pliushch
6a3865aa08 fix licenses where possible
Some packages have license set to "custom" and this
should be fixed.
2019-01-21 17:17:53 +02:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall
6594df9010 python: Revision-bump after TCSAFLUSH patch 2019-01-16 21:58:48 +01:00
Fredrik Fornwall
3ff3e9cbfa python&python2: Bump revision 2018-09-23 17:16:25 +02:00
Leonid Pliushch
c776c0439a python(2): dev package requires libcrypto-dev 2018-09-23 16:42:52 +02:00
Fredrik Fornwall
fd72a74c42 openssl: Update from 1.0.2 to 1.1.1 (#2775) 2018-09-11 22:43:19 +02:00
Fredrik Fornwall
4066c5845f Bump gdbm-using packages 2018-06-21 02:11:50 +02:00
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