diffstat of debian/ for pygobject_3.18.2-2 pygobject_3.20.0-0ubuntu1 changelog | 15 ++++ patches/0001-test_gerror_novalue-Don-t-define-an-error-the-test-d.patch | 31 ++++++++++ patches/series | 1 3 files changed, 47 insertions(+) diff -Nru pygobject-3.18.2/debian/changelog pygobject-3.20.0/debian/changelog --- pygobject-3.18.2/debian/changelog 2015-10-29 23:59:19.000000000 +0000 +++ pygobject-3.20.0/debian/changelog 2016-03-24 18:07:32.000000000 +0000 @@ -1,3 +1,18 @@ +pygobject (3.20.0-0ubuntu1) xenial; urgency=medium + + * New upstream release. + * Fixes scope-runner-dbus.py crash (LP: #1538471) + * debian/patches/0001-test_gerror_novalue-Don-t-define-an-error-the-test-d.patch: + Take patch from upstream bug to fix a test failure. + + -- Iain Lane Thu, 24 Mar 2016 18:07:32 +0000 + +pygobject (3.18.2-2build1) xenial; urgency=medium + + * No-change rebuild to drop python3.4 support. + + -- Matthias Klose Tue, 19 Jan 2016 11:45:59 +0000 + pygobject (3.18.2-2) unstable; urgency=medium * Fix rules when deciding for which architecture the test-suite failure diff -Nru pygobject-3.18.2/debian/patches/0001-test_gerror_novalue-Don-t-define-an-error-the-test-d.patch pygobject-3.20.0/debian/patches/0001-test_gerror_novalue-Don-t-define-an-error-the-test-d.patch --- pygobject-3.18.2/debian/patches/0001-test_gerror_novalue-Don-t-define-an-error-the-test-d.patch 1970-01-01 00:00:00.000000000 +0000 +++ pygobject-3.20.0/debian/patches/0001-test_gerror_novalue-Don-t-define-an-error-the-test-d.patch 2016-03-24 18:06:46.000000000 +0000 @@ -0,0 +1,31 @@ +From 179b47e80277142f5f2f5c9cfc989a34aeb5445f Mon Sep 17 00:00:00 2001 +From: Iain Lane +Date: Thu, 24 Mar 2016 18:04:40 +0000 +Subject: [PATCH] test_gerror_novalue: Don't define an error - the test doesn't + use one + +Otherwise the build fails with: + + CHECK Pyflakes examples gi tests pygtkcompat + tests/test_gobject.py:689: local variable 'error' is assigned to but never used + +https://bugzilla.gnome.org/show_bug.cgi?id=764165 +--- + tests/test_gobject.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/tests/test_gobject.py b/tests/test_gobject.py +index e78132d..b065bd9 100644 +--- a/tests/test_gobject.py ++++ b/tests/test_gobject.py +@@ -686,7 +686,6 @@ class TestGValue(unittest.TestCase): + self.assertEqual(unboxed.code, error.code) + + def test_gerror_novalue(self): +- error = GLib.Error('test message', domain='mydomain', code=42) + value = GObject.Value(GLib.Error) + self.assertEqual(value.g_type, GObject.type_from_name('GError')) + self.assertEqual(value.get_value(), None) +-- +2.7.3 + diff -Nru pygobject-3.18.2/debian/patches/series pygobject-3.20.0/debian/patches/series --- pygobject-3.18.2/debian/patches/series 2014-09-23 16:29:15.000000000 +0000 +++ pygobject-3.20.0/debian/patches/series 2016-03-24 18:06:46.000000000 +0000 @@ -1 +1,2 @@ +0001-test_gerror_novalue-Don-t-define-an-error-the-test-d.patch 01_cairo_region.patch