Hello community,

here is the log from the commit of package python-gobject2 for openSUSE:Factory 
checked in at 2013-07-16 17:02:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gobject2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-gobject2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gobject2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gobject2/python-gobject2.changes  
2012-09-17 14:07:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-gobject2.new/python-gobject2.changes     
2013-07-16 17:02:22.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jul 16 08:53:05 UTC 2013 - [email protected]
+
+- Run pre_checkin.sh to re-introduce python3 capabilities:
+  + Adds python3-gobject2.spec and .changes. 
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2013-07-15 01:04:09.588030756 +0200
+++ /work/SRC/openSUSE:Factory/.python-gobject2.new/python3-gobject2.changes    
2013-07-16 17:02:22.000000000 +0200
@@ -0,0 +1,572 @@
+-------------------------------------------------------------------
+Tue Jul 16 08:53:05 UTC 2013 - [email protected]
+
+- Run pre_checkin.sh to re-introduce python3 capabilities:
+  + Adds python3-gobject2.spec and .changes. 
+
+-------------------------------------------------------------------
+Thu Sep 13 02:15:50 UTC 2012 - [email protected]
+
+- Add python-gobject-gio_types.patch: patches taken from git, to fix
+  some type mismatches in gio-types.defs.
+
+-------------------------------------------------------------------
+Sun Nov 27 06:55:54 UTC 2011 - [email protected]
+
+- add libtool as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
+Fri Sep 30 08:25:18 UTC 2011 - [email protected]
+
+- Update python3-gobject2 packaging:
+  + Use %{python3_sitearch} now that it's defined, instead of our
+    own custom macro.
+  + Change python3 Requires to python(abi) = %py3_ver, which is
+    saner.
+
+-------------------------------------------------------------------
+Wed Aug 24 11:40:27 UTC 2011 - [email protected]
+
+- Revert the rename from pygobject to pygobject2 for the docs: This
+  fix is counter productive. python-gobject (version 3) does not
+  provide useful documentation in first place. The right fix is not
+  to install the doc in python-gobject (version 2.90.x+)
+
+-------------------------------------------------------------------
+Mon Aug 22 13:01:34 UTC 2011 - [email protected]
+
+- Remove gobject-introspection-devel BuildRequires: We no longer
+  build the gi bindings, as they were moved to python-gobject 3.
+- Move the doc from /usr/share/gtk-doc/html/pygobject to pygobject2
+  in order to not conflicy with python-gobject 3 on file level.
+
+-------------------------------------------------------------------
+Sat Aug 20 21:15:39 UTC 2011 - [email protected]
+
+- Pass --disable-introspection to configure. The introspection
+  based bindings are provided by python-gobject, the newer version
+  of this code.
+
+-------------------------------------------------------------------
+Mon Aug 15 08:46:22 UTC 2011 - [email protected]
+
+- Rename package to python(3)?-gobject2. This package is legacy
+  gtk2 based and is 'fading out'.
+- Pass --disable-static to configure and use find -delete to clean
+  up the libtool archives.
+
+-------------------------------------------------------------------
+Fri Jun 17 11:53:53 CEST 2011 - [email protected]
+
+- Change the source package so we can build both python 2
+  (python-gobject) and python 3 (python3-gobject) versions, based
+  on the same .spec file:
+  + define a build_for_python3 variable to control the behavior
+  + use local_py_requires and local_py_sitedir variables, that
+    proxy the appropriate values depending on what is being built
+  + do not change anything for the python 2 build
+  + for the python 3 build:
+    . replace python-cairo-devel and python-devel BuildRequires
+      with python3-cairo-devel and python3-devel
+    . do not keep any Provides/Obsoletes that are related to
+      python-gobject2
+    . add Conflicts with python-gobject-devel to the devel
+      subpackage, as both devel subpackages install the same files
+    . export PYTHON=python3 for the build
+- Add libffi-devel BuildRequires that will now work, since
+  libffi-devel finally comes with a pkg-config file.
+- Add python-gobject-python3.patch: patches taken from git, to fix
+  build with python 3. Add call to autoreconf, as configure.ac is
+  modified.
+
+-------------------------------------------------------------------
+Fri Jun 17 06:17:54 CEST 2011 - [email protected]
+
+- Update to version 2.28.6:
+  + Fixes for GVariant.
+  + Added __eq__ method for Gdk.Color and Gdk.RGBA
+  + Fix symbol names to be locale independent
+  + closure: Check the out arg is not null (bgo#651812)
+  + Use _gi.Struct to wrap fundamentals
+  + Fix two crashes.
+
+-------------------------------------------------------------------
+Wed May  4 16:26:18 UTC 2011 - [email protected]
+
+- Update to version 2.28.4:
+  + [gi] Don't create variant twice
+  + [gi] Removed hack to avoid using GLib.Variant.new_variant.
+  + [gi] Added additional test case for GVariant handling
+  + [gi] Added support for GVariant arguments
+  + pygi-convert.sh: Make sure the uppercase GObject module is
+    imported instead of the lowercase
+  + Fix ABI break in old static bindings
+  + Fetch size from an enum type
+  + dsextras.py: ensure eol characters are preserved when writing
+    template files (so \n does not become \r\n)
+- Use full URL to tarball as Source: tag.
+
+-------------------------------------------------------------------
+Wed Mar 23 17:39:40 UTC 2011 - [email protected]
+
+- Update to version 2.28.3:
+  + fix a typo when converting objects to strings gvalues
+- Changes from version 2.28.2:
+  + fixed an ABI break in the static bindings when setting string
+    gvalues e.g. passing an int to a Gtk.ListStore column which
+    expects a string automatically converts the int to a string
+    instead of throwing an error.
+- Changes from version 2.28.1:
+  + pygi-convert.sh now supports webkit conversions and favors
+    using GObject over gobject.
+  + Raw closures can now be passed from a signal/vfunc callback to
+    a method.
+  + Revert linking to the python libs because the python runtime
+    statically links it in TreeModel column marshalling is now more
+    robust (supports GObject Python Object storing).
+  + Gtk.MessageDialog now respects the MessageType
+  + You can now send None in for the signature of GDBus messages
+    that have no parameters.
+  + TreeViewColumn.set_cell_data_func can take None for the func_data
+  + Fix syntax error so we can run in Python 2.5
+  + Add pickers and menu demos
+- Changes from version 2.28.0:
+  + fix sinking of floating objects
+  + fix leaks when setting properties
+  + add basic icon view demo
+  + add search entry demo
+  + override Gdk.RGBA so you can construct it like 
+    Gdk.RGBA(1.0, 1.0, 1.0, 1.0).
+  + handle unichar gvalues in TreeModels
+  + check for _thread module when configuring threading
+  + package config file now contains overridesdir variable for 3rd
+    party overrides.
+  + on windows set bdist_wininst user-access-control property when
+    installing.
+  + Gtk.stock_lookup return None on failure instead of a success
+    value.
+  + Python 2.5 fixes
+  + Python 3 fixes
+
+-------------------------------------------------------------------
+Tue Mar  1 08:30:34 UTC 2011 - [email protected]
+
+- Update to version 2.27.91:
+  + Typelibs now loaded at import time instead of lazy loading.
+  + Various fixes for GTK+/GDK support via gi.
+  + Various other fixes.
+- Changes from version 2.27.90:
+  + Faster handling of virtual methods when constructing objects
+  + Enhanced gdbus and gvarient handling.
+  + Enhanced drag and drop support.
+  + Enhanced GtkTextBuffer support
+  + Enhanced pygi-convert.sh script for automating PyGtk to
+    PyGObject Introspection migration.
+  + Many introspection fixes.
+  + Add/improve various overrides for GTK+.
+  + Python 3 fixes.
+- Changes from version 2.27.0:
+  + Implement richcompare for GIBaseInfo
+  + Add a overrides registry so we can reference overrides inside
+    the module
+  + Add/improve various overrides for GTK+.
+  + Many introspection fixes.
+  + Python 3 fixes.
+  + Various other fixes.
+- Remove pygobject-2.26.0-capsule.patch: fixed upstream.
+- Change python-gobject2, python-gobject2-cairo and
+  python-gobject2-devel Obsoletes to be < instead of <= now that we
+  have a new version.
+
+-------------------------------------------------------------------
+-Wed Feb  9 18:09:19 UTC 2011 - [email protected]
+ 
+- added patch that switches to new Capsule API, because the deprecated
+  PyCObject API will cause a segfault when warnings are exceptions
+  (bnc#669802)
+
+-------------------------------------------------------------------
+Fri Jan  7 15:05:51 CET 2011 - [email protected]
+
+- Rename source package and binary package from python-gobject2 to
+  python-gobject: there's no reason to have the trailing 2 here.
+- Add appropriate Provides/Obsoletes for migration.
+
+-------------------------------------------------------------------
+Mon Sep 27 20:37:08 CEST 2010 - [email protected]
+
++++ 375 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Factory/.python-gobject2.new/python3-gobject2.changes

New:
----
  python3-gobject2.changes
  python3-gobject2.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-gobject2.spec ++++++
--- /var/tmp/diff_new_pack.dA8vKN/_old  2013-07-16 17:02:23.000000000 +0200
+++ /var/tmp/diff_new_pack.dA8vKN/_new  2013-07-16 17:02:23.000000000 +0200
@@ -76,7 +76,7 @@
 Requires:       %{name} = %{version}
 %if %{build_for_python3}
 # Several files are conflicting between python2 and python3 builds
-Conflicts:      python-gobject-devel
+Conflicts:      python-gobject2-devel
 %else
 Provides:       python-gobject2-doc = %{version}
 Obsoletes:      python-gobject2-doc < %{version}
@@ -122,6 +122,10 @@
 %{local_py_sitedir}/gtk-2.0/dsextras.py*
 %{local_py_sitedir}/pygtk.*
 %{_libdir}/*.so.*
+%if %{build_for_python3}
+%{local_py_sitedir}/__pycache__/
+%{local_py_sitedir}/gtk-2.0/__pycache__/
+%endif
 
 %files devel
 %defattr(-,root,root)

++++++ python3-gobject2.spec ++++++
#
# spec file for package python3-gobject2
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define build_for_python3 1

%if %{build_for_python3}
%define local_py_requires Requires: python(abi) = %py3_ver
%define local_py_sitedir  %{python3_sitearch}
%else
%define local_py_requires %{py_requires}
%define local_py_sitedir  %{py_sitedir}
%endif

Name:           python3-gobject2
%define _name   pygobject
Summary:        Python bindings for GObject
License:        LGPL-2.1+
Group:          Development/Libraries/Python
Version:        2.28.6
Release:        0
Url:            http://ftp.gnome.org/pub/GNOME/sources/pygobject/
Source:         
http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/%{_name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM python-gobject-python3.patch [email protected] -- Taken 
from git, various fixes for python3
Patch0:         python-gobject-python3.patch
# PATCH-FIX-UPSTREAM python-gobject-gio_types.patch [email protected] -- 
fix some type mismatches in gio-types.defs, taken from git
Patch1:         python-gobject-gio_types.patch
BuildRequires:  fdupes
BuildRequires:  glib2-devel
BuildRequires:  libffi-devel
BuildRequires:  libtool
%if %{build_for_python3}
BuildRequires:  python3-cairo-devel
BuildRequires:  python3-devel
%else
BuildRequires:  python-cairo-devel
BuildRequires:  python-devel
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{local_py_requires}

%description
Pygobjects is an extension module for python that gives you access to
GLib's GObjects.

%package cairo
Summary:        Python bindings for GObject -- Cairo bindings
Group:          Development/Libraries/Python
Requires:       %{name} = %{version}
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
Supplements:    packageand(%{name}:%{cairo_real_package})

%description cairo
Pygobjects is an extension module for python that gives you access to
GLib's GObjects.

This package contains the Python Cairo bindings for GObject.

%package devel
Summary:        Python bindings for GObject
Group:          Development/Libraries/Python
Requires:       %{name} = %{version}
%if %{build_for_python3}
# Several files are conflicting between python2 and python3 builds
Conflicts:      python-gobject2-devel
%else
Provides:       python-gobject2-doc = %{version}
Obsoletes:      python-gobject2-doc < %{version}
%endif

%description devel
This package contains files required to build wrappers for gobject
addon libraries such as pygtk.

%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
%patch1 -p1
autoreconf -fi

%build
%if %{build_for_python3}
export PYTHON=python3
%endif
%configure --disable-static --disable-introspection
make %{?jobs:-j%jobs} V=1

%install
%makeinstall
find %{buildroot} -name '*.la' -delete -print
rm examples/Makefile*
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS NEWS README ChangeLog examples
%dir %{local_py_sitedir}/gtk-2.0
%{local_py_sitedir}/gtk-2.0/gio/
%{local_py_sitedir}/glib/
%{local_py_sitedir}/gobject/
%{local_py_sitedir}/gtk-2.0/dsextras.py*
%{local_py_sitedir}/pygtk.*
%{_libdir}/*.so.*
%if %{build_for_python3}
%{local_py_sitedir}/__pycache__/
%{local_py_sitedir}/gtk-2.0/__pycache__/
%endif

%files devel
%defattr(-,root,root)
%{_includedir}/pygtk-2.0/
%{_libdir}/*.so
%{_libdir}/pkgconfig/pygobject-2.0.pc
## codegen
%{_bindir}/pygobject-codegen-2.0
# we explicitly list the directories here to be sure we don't include something
# that should live in the main package
%dir %{_datadir}/%{_name}
%dir %{_datadir}/%{_name}/2.0
%{_datadir}/%{_name}/2.0/codegen/
%{_datadir}/%{_name}/2.0/defs/
%{_datadir}/%{_name}/xsl/
## doc: we need the files there since building API docs for other python
## bindings require some files from here
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/pygobject/

%changelog
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to