summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-07-16 20:08:51 -0700
committerPatrick McLean <chutzpah@gentoo.org>2019-07-16 20:34:38 -0700
commit0d1396d877805036439844278f927d2313a3d7ef (patch)
treea7ee90b0e861d00bcdd79cda7cfbc2036360df89 /dev-python/google-apitools/files
parentdev-python/python-gflags: Revbump, add python3_7, move to EAPI=7 (diff)
downloadgentoo-0d1396d877805036439844278f927d2313a3d7ef.tar.gz
gentoo-0d1396d877805036439844278f927d2313a3d7ef.tar.bz2
gentoo-0d1396d877805036439844278f927d2313a3d7ef.zip
dev-python/google-apitools: Version bump to 0.5.30
Fails tests on python3.7, so not adding that. Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/google-apitools/files')
-rw-r--r--dev-python/google-apitools/files/google-apitools-0.5.30-skip-enum-test-on-new-python.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/google-apitools/files/google-apitools-0.5.30-skip-enum-test-on-new-python.patch b/dev-python/google-apitools/files/google-apitools-0.5.30-skip-enum-test-on-new-python.patch
new file mode 100644
index 000000000000..6003db87a97f
--- /dev/null
+++ b/dev-python/google-apitools/files/google-apitools-0.5.30-skip-enum-test-on-new-python.patch
@@ -0,0 +1,21 @@
+diff --git a/apitools/base/protorpclite/descriptor_test.py b/apitools/base/protorpclite/descriptor_test.py
+index fc27ec4..d518e24 100644
+--- a/apitools/base/protorpclite/descriptor_test.py
++++ b/apitools/base/protorpclite/descriptor_test.py
+@@ -16,6 +16,7 @@
+ #
+
+ """Tests for apitools.base.protorpclite.descriptor."""
++import sys
+ import platform
+ import types
+
+@@ -78,7 +79,7 @@ class DescribeEnumTest(test_util.TestCase):
+ described.check_initialized()
+ self.assertEquals(expected, described)
+
+- @unittest2.skipIf('PyPy' in platform.python_implementation(),
++ @unittest2.skipIf('PyPy' in platform.python_implementation() or sys.hexversion >= 0x03060000,
+ 'todo: reenable this')
+ def testEnumWithItems(self):
+ class EnumWithItems(messages.Enum):