commit:     b98ecb02866c791b1001f379b1c294bae403fa42
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 31 08:46:28 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 31 08:46:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b98ecb02

dev-lang/python: Force wide-unicode on 2.7

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-lang/python/python-2.7.18_p12.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/python/python-2.7.18_p12.ebuild 
b/dev-lang/python/python-2.7.18_p12.ebuild
index 0c975e2caf7..7eae23eb589 100644
--- a/dev-lang/python/python-2.7.18_p12.ebuild
+++ b/dev-lang/python/python-2.7.18_p12.ebuild
@@ -23,7 +23,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="PSF-2"
 SLOT="${PYVER}"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
-IUSE="berkdb bluetooth build elibc_uclibc examples gdbm hardened +ncurses 
+readline +sqlite +ssl tk +wide-unicode wininst +xml"
+IUSE="berkdb bluetooth build elibc_uclibc examples gdbm hardened +ncurses 
+readline +sqlite +ssl tk wininst +xml"
 
 # Do not add a dependency on dev-lang/python to this ebuild.
 # If you need to apply a patch which requires python for bootstrapping, please
@@ -192,7 +192,7 @@ src_configure() {
                --enable-shared
                --enable-ipv6
                --with-threads
-               $(use wide-unicode && echo "--enable-unicode=ucs4" || echo 
"--enable-unicode=ucs2")
+               --enable-unicode=ucs4
                --infodir='${prefix}/share/info'
                --mandir='${prefix}/share/man'
                --with-computed-gotos

Reply via email to