Update to 3.9.91

This commit is contained in:
Kalev Lember 2013-09-04 00:45:58 +02:00
parent 6e7e24b85f
commit 689f00a119
3 changed files with 5 additions and 58 deletions

View File

@ -1,51 +0,0 @@
From c7b75a8c250078ac8ea28752f087ed687bd20edd Mon Sep 17 00:00:00 2001
From: Yanko Kaneti <yaneti@declera.com>
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 <martinpitt@gnome.org>
---
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

View File

@ -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 <kalevlember@gmail.com> - 3.9.91-1
- Update to 3.9.91
* Thu Aug 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90-1
- Update to 3.9.90

View File

@ -1 +1 @@
535e312ac8d0c151561fa4fa87da7cdf pygobject-3.9.90.tar.xz
aa0dc959ff39a3a11b282e801d8a4dce pygobject-3.9.91.tar.xz