From 689f00a119ccc8c64509b6759d085cad617afd67 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 4 Sep 2013 00:45:58 +0200 Subject: [PATCH] Update to 3.9.91 --- pygobject-3.9.90-pep8.patch | 51 ------------------------------------- pygobject3.spec | 10 +++----- sources | 2 +- 3 files changed, 5 insertions(+), 58 deletions(-) delete mode 100644 pygobject-3.9.90-pep8.patch diff --git a/pygobject-3.9.90-pep8.patch b/pygobject-3.9.90-pep8.patch deleted file mode 100644 index 81cceae..0000000 --- a/pygobject-3.9.90-pep8.patch +++ /dev/null @@ -1,51 +0,0 @@ -From c7b75a8c250078ac8ea28752f087ed687bd20edd Mon Sep 17 00:00:00 2001 -From: Yanko Kaneti -Date: Wed, 21 Aug 2013 08:53:07 +0200 -Subject: [PATCH] Fix PEP-8 errors in propertyhelper.py - -https://bugzilla.gnome.org/show_bug.cgi?id=706319 - -Signed-off-by: Martin Pitt ---- - gi/_gobject/propertyhelper.py | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/gi/_gobject/propertyhelper.py b/gi/_gobject/propertyhelper.py -index 162d30a..c9400df 100644 ---- a/gi/_gobject/propertyhelper.py -+++ b/gi/_gobject/propertyhelper.py -@@ -185,16 +185,16 @@ class Property(object): - if minimum is not None: - if minimum < self._get_minimum(): - raise TypeError( -- "Minimum for type %s cannot be lower than %d" % ( -- self.type, self._get_minimum())) -+ "Minimum for type %s cannot be lower than %d" % -+ (self.type, self._get_minimum())) - else: - minimum = self._get_minimum() - self.minimum = minimum - if maximum is not None: - if maximum > self._get_maximum(): - raise TypeError( -- "Maximum for type %s cannot be higher than %d" % ( -- self.type, self._get_maximum())) -+ "Maximum for type %s cannot be higher than %d" % -+ (self.type, self._get_maximum())) - else: - maximum = self._get_maximum() - self.maximum = maximum -@@ -393,8 +393,8 @@ def install_properties(cls): - raise TypeError( - "GObject subclass %r defines do_get/set_property" - " and it also uses a property with a custom setter" -- " or getter. This is not allowed" % ( -- cls.__name__,)) -+ " or getter. This is not allowed" % -+ (cls.__name__,)) - - def obj_get_property(self, pspec): - name = pspec.name.replace('-', '_') --- -1.8.3.1 - diff --git a/pygobject3.spec b/pygobject3.spec index 11263fb..b073b06 100644 --- a/pygobject3.spec +++ b/pygobject3.spec @@ -21,7 +21,7 @@ ### Abstract ### Name: pygobject3 -Version: 3.9.90 +Version: 3.9.91 Release: 1%{?dist} License: LGPLv2+ and MIT Group: Development/Languages @@ -64,10 +64,6 @@ Patch2: pygobject-3.3.4-known-failures.patch # Not yet sent upstream: Patch3: test-list-marshalling.patch -# Backported from upstream, fixes build with newer PEP8 -# https://bugzilla.gnome.org/show_bug.cgi?id=706319 -Patch4: pygobject-3.9.90-pep8.patch - # Disable a test that still fails on ppc64 (see # https://bugzilla.redhat.com/show_bug.cgi?id=924425#c7 ) # Filed upstream as: @@ -157,7 +153,6 @@ for use in Python 3 programs. %setup -q -n pygobject-%{version} %patch2 -p1 -b .known-failures %patch3 -p1 -b .test-list-marshalling -%patch4 -p1 -b .pep8 %patch5 -p1 %if 0%{?with_python3} @@ -270,6 +265,9 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check %{verbosity} %endif # with_python3 %changelog +* Tue Sep 03 2013 Kalev Lember - 3.9.91-1 +- Update to 3.9.91 + * Thu Aug 22 2013 Kalev Lember - 3.9.90-1 - Update to 3.9.90 diff --git a/sources b/sources index 4fb80c0..d1ecd60 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -535e312ac8d0c151561fa4fa87da7cdf pygobject-3.9.90.tar.xz +aa0dc959ff39a3a11b282e801d8a4dce pygobject-3.9.91.tar.xz