1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/lang/python35
Danilo G. Baio a4046066e9 lang/python{27,33,34,35,36}: Make Python curses module work with Unicode
Use readline from ports (USES= readline:port) and patch
setup.py to ignore readline from base. The patch is necessary for
FreeBSD < 1100000, as after this the readline library became an
INTERNALLIB, see base r268461 [1]

Link devel/readline against termcapw instead of termcap is part of
this change, see ports r444463 [2]

Note that this is the **ports** approach for getting Python curses
module working with Unicode. The other way is splitting libncurses
into separate libncurses and libtinfo in base, for which an open
issue exists [3].

Apart from Python language ports, at least www/rtv and
sysutils/py-ranger ports have been tested to work correctly
(display Unicode) after this change.

[1] https://svnweb.freebsd.org/changeset/base/268461
[2] https://svnweb.freebsd.org/changeset/ports/444463
[3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197317

PR:		171246, 197317
Reported by:	Vitaly Magerya <vmagerya gmail com>
Reviewed by:	garga, koobs, miwi, sunpoet
Approved by:	garga (mentor), sunpoet (python, with hat)
Differential Revision:	https://reviews.freebsd.org/D11127
2017-06-28 02:37:53 +00:00
..
files - Update to 3.5.3 2017-01-23 02:35:42 +00:00
distinfo - Update to 3.5.3 2017-01-23 02:35:42 +00:00
Makefile lang/python{27,33,34,35,36}: Make Python curses module work with Unicode 2017-06-28 02:37:53 +00:00
Makefile.version - Update to 3.5.3 2017-01-23 02:35:42 +00:00
pkg-descr Modernize port 2017-04-16 11:08:39 +00:00
pkg-plist lang/python{27,33,34,35,36}: Install GDB debugging script 2017-06-06 12:56:47 +00:00