kalev pushed to pygobject3 (master). "Update to 3.17.1"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Jun 15 09:04:50 UTC 2015


From 3182ebc984a08852d73e56eff7afad403452366d Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalevlember at gmail.com>
Date: Mon, 15 Jun 2015 11:01:50 +0200
Subject: Update to 3.17.1


diff --git a/0001-Remove-Gdk.Rectangle-alias-with-newer-gobject-intros.patch b/0001-Remove-Gdk.Rectangle-alias-with-newer-gobject-intros.patch
deleted file mode 100644
index e0ce3da..0000000
--- a/0001-Remove-Gdk.Rectangle-alias-with-newer-gobject-intros.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 7a3bb6971f22accd25e987496d377e1879f6e1ba Mon Sep 17 00:00:00 2001
-From: Christoph Reiter <creiter at src.gnome.org>
-Date: Sat, 30 May 2015 17:46:54 +0200
-Subject: [PATCH] Remove Gdk.Rectangle alias with newer gobject-introspection
- and GTK+
-
-The new GdkRectangle in the typelib confuses the marshalling code
-as PyGObject uses the Python class from the overrides for marshalling
-to Python but uses the gtype from the typelib to do
-type checking when marshalling from Python.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=749625
----
- gi/overrides/Gdk.py | 10 +++++++---
- 1 file changed, 7 insertions(+), 3 deletions(-)
-
-diff --git a/gi/overrides/Gdk.py b/gi/overrides/Gdk.py
-index 15f2a0a..3ab5d6d 100644
---- a/gi/overrides/Gdk.py
-+++ b/gi/overrides/Gdk.py
-@@ -126,10 +126,14 @@ if Gdk._version == '2.0':
-     Rectangle = override(Rectangle)
-     __all__.append('Rectangle')
- else:
--    from gi.repository import cairo as _cairo
--    Rectangle = _cairo.RectangleInt
-+    # Newer GTK+/gobject-introspection (3.17.x) include GdkRectangle in the
-+    # typelib. See https://bugzilla.gnome.org/show_bug.cgi?id=748832 and
-+    # https://bugzilla.gnome.org/show_bug.cgi?id=748833
-+    if not hasattr(Gdk, 'Rectangle'):
-+        from gi.repository import cairo as _cairo
-+        Rectangle = _cairo.RectangleInt
- 
--    __all__.append('Rectangle')
-+        __all__.append('Rectangle')
- 
- if Gdk._version == '2.0':
-     class Drawable(Gdk.Drawable):
--- 
-2.4.2
-
diff --git a/pygobject3.spec b/pygobject3.spec
index 16cd5e6..1574bc3 100644
--- a/pygobject3.spec
+++ b/pygobject3.spec
@@ -21,16 +21,14 @@
 ### Abstract ###
 
 Name: pygobject3
-Version: 3.16.1
-Release: 2%{?dist}
+Version: 3.17.1
+Release: 1%{?dist}
 License: LGPLv2+ and MIT
 Group: Development/Languages
 Summary: Python 2 bindings for GObject Introspection
 URL: https://live.gnome.org/PyGObject
 #VCS: git:git://git.gnome.org/pygobject
-Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.16/pygobject-%{version}.tar.xz
-# https://bugzilla.gnome.org/show_bug.cgi?id=748833
-Patch0: 0001-Remove-Gdk.Rectangle-alias-with-newer-gobject-intros.patch
+Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.17/pygobject-%{version}.tar.xz
 
 BuildRequires: glib2-devel >= %{glib2_version}
 BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
@@ -108,7 +106,6 @@ for use in Python 3 programs.
 
 %prep
 %setup -q -n pygobject-%{version}
-%patch0 -p1
 
 %if 0%{?with_python3}
 rm -rf %{py3dir}
@@ -214,6 +211,9 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check %{verbosity}
 %endif # with_python3
 
 %changelog
+* Mon Jun 15 2015 Kalev Lember <kalevlember at gmail.com> - 3.17.1-1
+- Update to 3.17.1
+
 * Wed Jun 03 2015 Kalev Lember <kalevlember at gmail.com> - 3.16.1-2
 - Backport a patch for GdkRectangle changes in gtk+ 3.17.2
 
diff --git a/sources b/sources
index 62a5a26..d069a8c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-36bf04253d6b8999f238fd05ce9f8ac4  pygobject-3.16.1.tar.xz
+0fbc76dffe6cfcee48c12b33d1a2ec31  pygobject-3.17.1.tar.xz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/pygobject3.git/commit/?h=master&id=3182ebc984a08852d73e56eff7afad403452366d


More information about the scm-commits mailing list