Hello community, here is the log from the commit of package python-gobject for openSUSE:Factory checked in at 2013-04-05 07:31:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gobject (Old) and /work/SRC/openSUSE:Factory/.python-gobject.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-gobject", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/python-gobject/python-gobject.changes 2012-11-20 10:44:39.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-gobject.new/python-gobject.changes 2013-04-05 07:36:02.000000000 +0200 @@ -1,0 +2,245 @@ +Mon Mar 25 08:12:42 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.8.0: + + tests: Fix incorrect assumption when testing pyglib version. + +------------------------------------------------------------------- +Mon Mar 18 19:41:40 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.7.92: + + pygtkcompat: Make gdk.Window.get_geometry return tuple of 5. + + pygtkcompat: Initialize hint to zero in set_geometry_hints. + + Remove incorrect bounds check with property helper flags. + + Bugs fixed: bgo#637832, bgo#696011, bgo#694889, bgo#695420, + bgo#695420. + +------------------------------------------------------------------- +Tue Mar 5 12:03:01 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.7.91.1: + + Revert "Drop gi.overrides.overridefunc()" (bgo#695199). + +------------------------------------------------------------------- +Mon Mar 4 17:25:38 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.7.91: + + Fix many memory leaks (bgo#675726, bgo#693402, bgo#691501, + bgo#510511, bgo#691501, bgo#672224, and several more which are + detected by our test suite) + + Dot not clobber original Gdk/Gtk functions with overrides + (bgo#686835) + + Optimize GValue.get/set_value by setting GValue.g_type to a + local (bgo#694857) + + Run tests with G_SLICE=debug_blocks (bgo#691501) + + Add override helper for stripping boolean returns (bgo#694431) + + Drop obsolete pygobject_register_sinkfunc() declaration + (bgo#639849) + + Fix marshalling of C arrays with explicit length in signal + arguments (bgo#662241) + + Fix signedness, overflow checking, and 32 bit overflow of + GFlags (bgo#693121) + + gi/pygi-marshal-from-py.c: Fix build on Visual C++ (bgo#692856) + + Raise DeprecationWarning on deprecated callables (bgo#665084) + + pygtkcompat: Add Widget.window, scroll_to_mark, and window + methods (bgo#694067) + + pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts + keyword arguments (bgo#694067) + + Ship pygobject.doap for autogen.sh (bgo#694591) + + Fix crashes in various GObject signal handler functions + (bgo#633927) + + pygi-closure: Protect the GSList prepend with the GIL + (bgo#684060) + + generictreemodel: Fix bad default return type for + get_column_type. + +------------------------------------------------------------------- +Tue Feb 19 12:15:54 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.7.90: + + overrides: + - Fix inconsistencies with drag and drop target list API + (bgo#680640). + - Add support for iterables besides tuples for TreePath + creation (bgo#682933). + + pygtkcompat: Add pygtk compatible GenericTreeModel + implementation (bgo#682933). + + Prefix __module__ attribute of function objects with + gi.repository (bgo#693839). + + Bugs fixed: bgo#693328, bgo#693618, bgo#687522. + +------------------------------------------------------------------- +Tue Feb 5 11:20:02 UTC 2013 - p.drouand@gmail.com + +- Update to version 3.7.5.1: + + Fix ABI break with pygobject.h from 3.7.5 (bgo#675726). +- Changes from version 3.7.5: + + Move various signal methods from static bindings to GI + (bgo#692918) + + GLib overrides: Support unpacking 'maybe' variants (bgo#693032) + + Fix ref count leak when creating pygobject wrappers for input + args (bgo#675726) + + Prefix names of typeless enums and flags for GType registration + (bgo#692515) + + Fix compilation with non-C99 compilers such as Visual C++ + (bgo#692856) + + gi/overrides/Glib.py: Fix running on Windows/non-Unix + + Do not immediately initialize Gdk and Gtk on import + (bgo#692300) + - Accept inf and NaN as float and double values (bgo#692381) + - Fix repr() of GLib.Variant + - Fix gtk-demo for Python 3 + - Define GObject.TYPE_VALUE gtype constant + * gobject: Go through introspection on property setting + (bgo#684062) + * Clean up caller-allocated GValues and their memory + (bgo#691820) + - Use GNOME_COMPILE_WARNINGS from gnome-common. + +------------------------------------------------------------------- +Mon Jan 14 18:25:00 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.7.4: + + Allow setting values through GtkTreeModelFilter (bgo#689624) + + Support GParamSpec signal arguments from Python (bgo#683099) + + pygobject_emit(): Fix cleanup on error + + Add signal emission methods to TreeModel which coerce the path + argument (bgo#682933) + + Add override for GValue (bgo#677473) + + Mark caller-allocated boxed structures as having a slice + allocated (bgo#699501) + + pygi-property: Support boxed GSList/GList types (bgo#684059) + + tests: Add missing backwards compat methods for Python 2.6 + (bgo#691646) + + Allow setting TreeModel values to None (bgo#684094) + + Set clean-up handler for marshalled arrays (bgo#691509) + + Support setting string fields in structs (bgo#678401) + + Permit plain integers for "gchar" values + + Allow single byte values for int8 types (bgo#691524) + + Fix invalid memory access handling errors when registering an + enum type + + Fix (out) arguments in callbacks + + Fix C to Python marshalling of struct pointer arrays + + Don't let Property.setter() method names define property names + (bgo#688971) + + Use g-i stack allocation API (bgo#615982) + + pyg_value_from_pyobject: support GArray (bgo#690514) + + Fix obsolete automake macros (bgo#691101) + + Change dynamic enum and flag gtype creation to use namespaced + naming (bgo#690455) + + Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII + chars (bgo#690329) + + Don't dup strings before passing them to type registration + functions (bgo#690532) + + Fix marshalling of arrays of boxed struct values (bgo#656312) + +------------------------------------------------------------------- +Wed Jan 9 19:46:40 UTC 2013 - dimstar@opensuse.org + +- Resolve conflict between python-gobject-devel and + python3-gobject-devel: only package the .h and .pc file in + python-gobject-devel, but require python-gobject-devel from this + package (See bgo#689068 for background). The .pc and .h files are + python-version agnostic. +- Add supplemnts to auto-install python(3)?-gobject when python(3)? + and libgirepository-1_0-1 are installed. + +------------------------------------------------------------------- +Wed Jan 9 18:20:17 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.7.3: + + Add support for caller-allocated GArray out arguments + (bgo#690041) + + [API add] Re-support calling GLib.io_add_watch with an fd or + Python file + - pygtkcompat: Work around IndexError on large flags + - Fix pyg_value_from_pyobject() range check for uint + - Fix tests to work with g-i 1.34.2 + + Fix wrong refcount for GVariant property defaults (bgo#689267) + - Fix array arguments on 32 bit architectures + - Add backwards compatible API for GLib.unix_signal_add_full() + + Drop MININT64/MAXUINT64 workaround, current g-i gets this right + now + - Fix maximum and minimum ranges of TYPE_(U)INT64 properties + (bgo#688949) + - Ship pygi-convert.sh in tarballs (bgo#688697) +- Changes from version 3.7.2: + + API changes: + - Drop almost all static GLib bindings and replace them with + proper introspection. + - Deprecate calling GLib API through the GObject namespace. + This has always been a misnomer with introspection, and will + be removed in a later version; for now this throws a + PyGIDeprecationWarning. + - Do not bind gobject_get_data() and gobject_set_data(). + (bgo#641944) + - Deprecate void pointer fields as general PyObject storage. + (bgo#683599) + - Add support for GVariant properties + - Add type checking to GVariant argument assignment + - Fix marshalling of arrays of struct pointers to Python + (bgo#678620) + - Fix Gdk.Atom to have a proper str() and repr() (bgo#678620) + - Make sure g_value_set_boxed does not cause a buffer overrun + with GStrvs (bgo#688232) + - Fix leaks with GValues holding boxed and object types + (bgo#688137) + - Add doc strings showing method signatures for gi methods + (bgo#681967) + - Set Property instance doc string and blurb to getter doc + string (bgo#688025) + - Add GObject.G_MINSSIZE + - Fix marshalling of GByteArrays + - Fix marshalling of ssize_t to smaller ints + - Add get_introspection_module for getting + un-overridden modules (bgo#686828) + + Add support for lcov code coverage, and add a lot of missing + GIMarshallingTests and g-i Regress tests. + - pygi-convert: remove deprecated GLib → GObject conversions ++++ 48 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/python-gobject/python-gobject.changes ++++ and /work/SRC/openSUSE:Factory/.python-gobject.new/python-gobject.changes python3-gobject.changes: same change Old: ---- pygobject-3.4.2.tar.xz New: ---- pygobject-3.8.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gobject.spec ++++++ --- /var/tmp/diff_new_pack.mhWddO/_old 2013-04-05 07:36:09.000000000 +0200 +++ /var/tmp/diff_new_pack.mhWddO/_new 2013-04-05 07:36:09.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-gobject # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,12 +22,14 @@ %define local_py_requires Requires: python(abi) = %py3_ver %define local_py_sitedir %{python3_sitearch} %define local_py_suffix 3 +%define local_py_pkg python3 %define local_lib_ver 3-0 %else %define local_py_requires %{py_requires} %define local_py_sitedir %{py_sitedir} -%define local_py_suffix %{nil} -%define local_lib_ver 0 +%define local_py_suffix 2 +%define local_py_pkg python +%define local_lib_ver 2-0 %endif Name: python-gobject @@ -35,13 +37,13 @@ Summary: Python bindings for GObject License: LGPL-2.1+ Group: Development/Libraries/Python -Version: 3.4.2 +Version: 3.8.0 Release: 0 Url: http://ftp.gnome.org/pub/GNOME/sources/pygobject/ -Source: http://download.gnome.org/sources/pygobject/3.4/%{_name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/pygobject/3.8/%{_name}-%{version}.tar.xz BuildRequires: fdupes -BuildRequires: glib2-devel >= 2.31.0 -BuildRequires: gobject-introspection-devel >= 1.34.1.1 +BuildRequires: glib2-devel >= 2.34.2 +BuildRequires: gobject-introspection-devel >= 1.34.2 BuildRequires: libffi-devel %if %{build_for_python3} BuildRequires: python3-cairo-devel @@ -52,6 +54,8 @@ %endif BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo-gobject) +# Trigger an automatic installation of python(3)?-gobject when python and libgirepository are installed. +Supplements: packageand(%{local_py_pkg}:libgirepository-1_0-1) BuildRoot: %{_tmppath}/%{name}-%{version}-build %{local_py_requires} @@ -99,9 +103,9 @@ Group: Development/Libraries/Python Requires: %{name} = %{version} Requires: libpyglib-gi-2_0-python%{local_lib_ver} = %{version} -%if %{build_for_python3} -# Several files are conflicting between python2 and python3 builds -Conflicts: python-gobject-devel +%if ! %{build_for_python3} +# If somebody wants the -devel package, we provide the full set. +Requires: python3-gobject-devel %endif %description devel @@ -121,6 +125,12 @@ %install %makeinstall find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f +%if %{build_for_python3} +# If we're building for python3, we remove the header and .pc file... +# Those files are python-version agnostic... so it does not matter. +rm -r %{buildroot}%{_includedir}/pygobject-3.0/pygobject.h +rm %{buildroot}%{_libdir}/pkgconfig/pygobject-3.0.pc +%endif rm examples/Makefile* %fdupes $RPM_BUILD_ROOT @@ -152,11 +162,14 @@ %files pygtkcompat %defattr(-,root,root) %{local_py_sitedir}/gi/pygtkcompat.py +%{local_py_sitedir}/pygtkcompat/ %files devel %defattr(-,root,root) -%{_includedir}/pygobject-3.0/ %{_libdir}/*.so +%if ! %{build_for_python3} +%{_includedir}/pygobject-3.0/ %{_libdir}/pkgconfig/pygobject-3.0.pc +%endif %changelog ++++++ python3-gobject.spec ++++++ --- /var/tmp/diff_new_pack.mhWddO/_old 2013-04-05 07:36:09.000000000 +0200 +++ /var/tmp/diff_new_pack.mhWddO/_new 2013-04-05 07:36:09.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-gobject # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,12 +22,14 @@ %define local_py_requires Requires: python(abi) = %py3_ver %define local_py_sitedir %{python3_sitearch} %define local_py_suffix 3 +%define local_py_pkg python3 %define local_lib_ver 3-0 %else %define local_py_requires %{py_requires} %define local_py_sitedir %{py_sitedir} -%define local_py_suffix %{nil} -%define local_lib_ver 0 +%define local_py_suffix 2 +%define local_py_pkg python +%define local_lib_ver 2-0 %endif Name: python3-gobject @@ -35,13 +37,13 @@ Summary: Python bindings for GObject License: LGPL-2.1+ Group: Development/Libraries/Python -Version: 3.4.2 +Version: 3.8.0 Release: 0 Url: http://ftp.gnome.org/pub/GNOME/sources/pygobject/ -Source: http://download.gnome.org/sources/pygobject/3.4/%{_name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/pygobject/3.8/%{_name}-%{version}.tar.xz BuildRequires: fdupes -BuildRequires: glib2-devel >= 2.31.0 -BuildRequires: gobject-introspection-devel >= 1.34.1.1 +BuildRequires: glib2-devel >= 2.34.2 +BuildRequires: gobject-introspection-devel >= 1.34.2 BuildRequires: libffi-devel %if %{build_for_python3} BuildRequires: python3-cairo-devel @@ -52,6 +54,8 @@ %endif BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo-gobject) +# Trigger an automatic installation of python(3)?-gobject when python and libgirepository are installed. +Supplements: packageand(%{local_py_pkg}:libgirepository-1_0-1) BuildRoot: %{_tmppath}/%{name}-%{version}-build %{local_py_requires} @@ -99,9 +103,9 @@ Group: Development/Libraries/Python Requires: %{name} = %{version} Requires: libpyglib-gi-2_0-python%{local_lib_ver} = %{version} -%if %{build_for_python3} -# Several files are conflicting between python2 and python3 builds -Conflicts: python-gobject-devel +%if ! %{build_for_python3} +# If somebody wants the -devel package, we provide the full set. +Requires: python3-gobject-devel %endif %description devel @@ -121,6 +125,12 @@ %install %makeinstall find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f +%if %{build_for_python3} +# If we're building for python3, we remove the header and .pc file... +# Those files are python-version agnostic... so it does not matter. +rm -r %{buildroot}%{_includedir}/pygobject-3.0/pygobject.h +rm %{buildroot}%{_libdir}/pkgconfig/pygobject-3.0.pc +%endif rm examples/Makefile* %fdupes $RPM_BUILD_ROOT @@ -152,11 +162,14 @@ %files pygtkcompat %defattr(-,root,root) %{local_py_sitedir}/gi/pygtkcompat.py +%{local_py_sitedir}/pygtkcompat/ %files devel %defattr(-,root,root) -%{_includedir}/pygobject-3.0/ %{_libdir}/*.so +%if ! %{build_for_python3} +%{_includedir}/pygobject-3.0/ %{_libdir}/pkgconfig/pygobject-3.0.pc +%endif %changelog ++++++ pygobject-3.4.2.tar.xz -> pygobject-3.8.0.tar.xz ++++++ ++++ 46759 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org