From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mox3/files/, dev-python/mox3/
Date: Thu, 16 Feb 2017 09:06:16 +0000 (UTC) [thread overview]
Message-ID: <1487235970.88ef7616ba87731e8c5b0d2177136449ab219d5e.zmedico@gentoo> (raw)
commit: 88ef7616ba87731e8c5b0d2177136449ab219d5e
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 08:14:18 2017 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 09:06:10 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ef7616
dev-python/mox3: PYTHON_COMPAT: add python3_6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
.../mox3/files/mox3-0.12.0-RegexTest-python3.6.patch | 18 ++++++++++++++++++
dev-python/mox3/mox3-0.10.0.ebuild | 4 ++--
dev-python/mox3/mox3-0.12.0.ebuild | 6 ++++--
3 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/dev-python/mox3/files/mox3-0.12.0-RegexTest-python3.6.patch b/dev-python/mox3/files/mox3-0.12.0-RegexTest-python3.6.patch
new file mode 100644
index 0000000000..8c118e6a9c
--- /dev/null
+++ b/dev-python/mox3/files/mox3-0.12.0-RegexTest-python3.6.patch
@@ -0,0 +1,18 @@
+From: Zac Medico <zmedico@gentoo.org>
+Subject: [PATCH] RegexTest: python3.6 compatibility
+
+https://bugs.launchpad.net/python-mox3/+bug/1665266
+
+--- mox3-0.12.0/mox3/tests/test_mox.py
++++ mox3-0.12.0/mox3/tests/test_mox.py
+@@ -316,8 +316,8 @@
+
+ def testReprWithFlags(self):
+ """repr should return the regular expression pattern and flags."""
+- self.assertTrue(repr(mox.Regex(r"a\s+b", flags=4)) ==
+- "<regular expression 'a\s+b', flags=4>")
++ self.assertTrue(repr(mox.Regex(r"a\s+b", flags=8)) ==
++ r"<regular expression 'a\s+b', flags=8>")
+
+
+ class IsTest(testtools.TestCase):
diff --git a/dev-python/mox3/mox3-0.10.0.ebuild b/dev-python/mox3/mox3-0.10.0.ebuild
index 5404e3405e..15856263ac 100644
--- a/dev-python/mox3/mox3-0.10.0.ebuild
+++ b/dev-python/mox3/mox3-0.10.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-PYTHON_COMPAT=( python2_7 python3_4 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
DISTUTILS_IN_SOURCE_BUILD=TRUE
inherit distutils-r1
diff --git a/dev-python/mox3/mox3-0.12.0.ebuild b/dev-python/mox3/mox3-0.12.0.ebuild
index 2ceca6dc06..c412788fc1 100644
--- a/dev-python/mox3/mox3-0.12.0.ebuild
+++ b/dev-python/mox3/mox3-0.12.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-PYTHON_COMPAT=( python2_7 python3_4 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
@@ -40,6 +40,8 @@ RDEPEND="
${CRDEPEND}
"
+PATCHES=( "${FILESDIR}"/${P}-RegexTest-python3.6.patch )
+
python_compile_all() {
use doc && esetup.py build_sphinx
}
reply other threads:[~2017-02-16 9:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1487235970.88ef7616ba87731e8c5b0d2177136449ab219d5e.zmedico@gentoo \
--to=zmedico@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