Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/python/
Date: Tue, 31 Aug 2021 08:46:54
Message-Id: 1630399588.b98ecb02866c791b1001f379b1c294bae403fa42.mgorny@gentoo
1 commit: b98ecb02866c791b1001f379b1c294bae403fa42
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 31 08:46:28 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 31 08:46:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b98ecb02
7
8 dev-lang/python: Force wide-unicode on 2.7
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-lang/python/python-2.7.18_p12.ebuild | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/dev-lang/python/python-2.7.18_p12.ebuild b/dev-lang/python/python-2.7.18_p12.ebuild
16 index 0c975e2caf7..7eae23eb589 100644
17 --- a/dev-lang/python/python-2.7.18_p12.ebuild
18 +++ b/dev-lang/python/python-2.7.18_p12.ebuild
19 @@ -23,7 +23,7 @@ S="${WORKDIR}/${MY_P}"
20 LICENSE="PSF-2"
21 SLOT="${PYVER}"
22 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
23 -IUSE="berkdb bluetooth build elibc_uclibc examples gdbm hardened +ncurses +readline +sqlite +ssl tk +wide-unicode wininst +xml"
24 +IUSE="berkdb bluetooth build elibc_uclibc examples gdbm hardened +ncurses +readline +sqlite +ssl tk wininst +xml"
25
26 # Do not add a dependency on dev-lang/python to this ebuild.
27 # If you need to apply a patch which requires python for bootstrapping, please
28 @@ -192,7 +192,7 @@ src_configure() {
29 --enable-shared
30 --enable-ipv6
31 --with-threads
32 - $(use wide-unicode && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2")
33 + --enable-unicode=ucs4
34 --infodir='${prefix}/share/info'
35 --mandir='${prefix}/share/man'
36 --with-computed-gotos