From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3-bin/, dev-python/pypy3-bin/files/
Date: Thu, 5 May 2016 09:14:01 +0000 (UTC) [thread overview]
Message-ID: <1462438753.7488e1201b5655cee6968fe29f8c68409ffcc9ad.monsieurp@gentoo> (raw)
commit: 7488e1201b5655cee6968fe29f8c68409ffcc9ad
Author: PPed72 <paolo.pedroni <AT> iol <DOT> it>
AuthorDate: Mon May 2 08:39:04 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu May 5 08:59:13 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7488e120
dev-python/pypy3-bin: fix regression in tkinter
Gentoo-bug: 533384
Fix binary package as well as per mgorny request
Closes: https://github.com/gentoo/gentoo/pull/1326
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
.../files/pypy3-2.4.0-fix-tkinter-regression.patch | 74 ++++++++++++++++++++++
dev-python/pypy3-bin/pypy3-bin-2.4.0-r4.ebuild | 1 +
2 files changed, 75 insertions(+)
diff --git a/dev-python/pypy3-bin/files/pypy3-2.4.0-fix-tkinter-regression.patch b/dev-python/pypy3-bin/files/pypy3-2.4.0-fix-tkinter-regression.patch
new file mode 100644
index 0000000..a92152e
--- /dev/null
+++ b/dev-python/pypy3-bin/files/pypy3-2.4.0-fix-tkinter-regression.patch
@@ -0,0 +1,74 @@
+# HG changeset patch
+# User Philip Jenvey <pjenvey@underboss.org>
+# Date 1414136649 25200
+# Branch py3k
+# Node ID 8c340acffe279d63dd2df525173713b2054619c8
+# Parent a87e6542c186bdc7408ea027aed83c62820a9c49
+issue1899: fix broken bytes usage from default
+
+diff --git a/lib_pypy/_tkinter/app.py b/lib_pypy/_tkinter/app.py
+--- a/lib_pypy/_tkinter/app.py
++++ b/lib_pypy/_tkinter/app.py
+@@ -439,7 +439,7 @@
+ if isinstance(s, int):
+ return s
+ s = s.encode('utf-8')
+- if '\x00' in s:
++ if b'\x00' in s:
+ raise TypeError
+ v = tkffi.new("int*")
+ res = tklib.Tcl_GetBoolean(self.interp, s, v)
+@@ -451,7 +451,7 @@
+ if isinstance(s, int):
+ return s
+ s = s.encode('utf-8')
+- if '\x00' in s:
++ if b'\x00' in s:
+ raise TypeError
+ v = tkffi.new("int*")
+ res = tklib.Tcl_GetInt(self.interp, s, v)
+@@ -463,7 +463,7 @@
+ if isinstance(s, float):
+ return s
+ s = s.encode('utf-8')
+- if '\x00' in s:
++ if b'\x00' in s:
+ raise TypeError
+ v = tkffi.new("double*")
+ res = tklib.Tcl_GetDouble(self.interp, s, v)
+@@ -472,7 +472,7 @@
+ return v[0]
+
+ def exprboolean(self, s):
+- if '\x00' in s:
++ if b'\x00' in s:
+ raise TypeError
+ v = tkffi.new("int*")
+ res = tklib.Tcl_ExprBoolean(self.interp, s, v)
+@@ -481,7 +481,7 @@
+ return v[0]
+
+ def exprlong(self, s):
+- if '\x00' in s:
++ if b'\x00' in s:
+ raise TypeError
+ v = tkffi.new("long*")
+ res = tklib.Tcl_ExprLong(self.interp, s, v)
+@@ -490,7 +490,7 @@
+ return v[0]
+
+ def exprdouble(self, s):
+- if '\x00' in s:
++ if b'\x00' in s:
+ raise TypeError
+ v = tkffi.new("double*")
+ res = tklib.Tcl_ExprDouble(self.interp, s, v)
+@@ -499,7 +499,7 @@
+ return v[0]
+
+ def exprstring(self, s):
+- if '\x00' in s:
++ if b'\x00' in s:
+ raise TypeError
+ res = tklib.Tcl_ExprString(self.interp, s)
+ if res == tklib.TCL_ERROR:
diff --git a/dev-python/pypy3-bin/pypy3-bin-2.4.0-r4.ebuild b/dev-python/pypy3-bin/pypy3-bin-2.4.0-r4.ebuild
index adee3b6..d80da51 100644
--- a/dev-python/pypy3-bin/pypy3-bin-2.4.0-r4.ebuild
+++ b/dev-python/pypy3-bin/pypy3-bin-2.4.0-r4.ebuild
@@ -87,6 +87,7 @@ src_prepare() {
"${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch"
epatch "${FILESDIR}/2.4.0-ncurses6.patch"
epatch "${FILESDIR}"/pypy3-2.4.0-libressl.patch
+ epatch "${FILESDIR}/pypy3-2.4.0-fix-tkinter-regression.patch"
sed -e "s^@EPREFIX@^${EPREFIX}^" \
-e "s^@libdir@^$(get_libdir)^" \
next reply other threads:[~2016-05-05 9:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-05 9:14 Patrice Clement [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-12-30 11:59 [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3-bin/, dev-python/pypy3-bin/files/ Michał Górny
2019-11-01 8:07 Michał Górny
2019-11-01 8:07 Michał Górny
2019-10-18 16:24 Michał Górny
2017-10-15 9:38 Michał Górny
2016-06-09 19:46 Michał Górny
2016-03-03 10:47 Michał Górny
2016-03-03 10:47 Michał Górny
2016-02-06 22:45 Michał Górny
2016-02-06 22:45 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462438753.7488e1201b5655cee6968fe29f8c68409ffcc9ad.monsieurp@gentoo \
--to=monsieurp@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox