Accepting request 198641 from GNOME:Factory

No more pygtkcompat.. useless

OBS-URL: https://build.opensuse.org/request/show/198641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gobject?expand=0&rev=42
This commit is contained in:
Tomáš Chvátal 2013-09-12 14:46:19 +00:00 committed by Git OBS Bridge
commit 378a716434
6 changed files with 53 additions and 43 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0be592918257e8304fea0d27584766c9a4a5f142669d83313e2faffc840f683a
size 668216

3
pygobject-3.9.91.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3522a95246b4a320baa58687eb6182007d8a0711ea71e95f2c05d8cca0f3f22a
size 669528

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Thu Sep 12 09:04:15 UTC 2013 - dimstar@opensuse.org
- Drop pygtkcompat subpackage: the compatibility layer is no longer
used and causes adverse side-effects (like pulling in Gtk2,
which is not corectly introspectable, causing all kind of other
weird issues).
-------------------------------------------------------------------
Mon Sep 2 13:34:14 UTC 2013 - dimstar@opensuse.org
- Update to version 3.9.91:
+ Fix GObject signal methods to work with new annotations
(bgo#707280).
+ Fix build on C89 Compilers (bgo#707264).
+ Change boxed type checking in marshaling to use __gtype__
attribute bgo#707140).
+ Use G_IS_VALUE for checking return values in closure marshaling
(bgo#707170).
+ Fix PEP-8 errors in propertyhelper.py (bgo#706319).
-------------------------------------------------------------------
Mon Aug 19 15:47:37 UTC 2013 - dimstar@opensuse.org

View File

@ -37,7 +37,7 @@ Name: python-gobject
Summary: Python bindings for GObject
License: LGPL-2.1+
Group: Development/Libraries/Python
Version: 3.9.90
Version: 3.9.91
Release: 0
Url: http://ftp.gnome.org/pub/GNOME/sources/pygobject/
Source: http://download.gnome.org/sources/pygobject/3.9/%{_name}-%{version}.tar.xz
@ -76,18 +76,6 @@ GLib's GObjects.
This package contains the Python Cairo bindings for GObject.
%package pygtkcompat
Summary: Python bindings for GObject -- PyGTK Backwards Compatibility
Group: Development/Libraries/Python
Requires: %{name} = %{version}
%description pygtkcompat
Pygobjects is an extension module for python that gives you access to
GLib's GObjects.
This package contains a module providing backwards compatibility to
pygtk.
%package -n libpyglib-gi-2_0-python%{local_lib_ver}
Summary: Python Gobject Introspeciton binding
Group: System/Libraries
@ -131,6 +119,9 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
rm -r %{buildroot}%{_includedir}/pygobject-3.0/pygobject.h
rm %{buildroot}%{_libdir}/pkgconfig/pygobject-3.0.pc
%endif
# Drop pygtkcompat layer.it's useless and we lack other stuff for it to work
rm %{buildroot}%{local_py_sitedir}/gi/pygtkcompat.py
rm -r %{buildroot}%{local_py_sitedir}/pygtkcompat/
rm examples/Makefile*
%fdupes $RPM_BUILD_ROOT
@ -148,8 +139,6 @@ rm -rf $RPM_BUILD_ROOT
%{local_py_sitedir}/*.egg-info
# Lives in cairo subpackage
%exclude %{local_py_sitedir}/gi/_gi_cairo*.so
# Lives in pygtkcompat subpackage
%exclude %{local_py_sitedir}/gi/pygtkcompat.py
%files -n libpyglib-gi-2_0-python%{local_lib_ver}
%defattr(-, root, root)
@ -159,11 +148,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%{local_py_sitedir}/gi/_gi_cairo*.so
%files pygtkcompat
%defattr(-,root,root)
%{local_py_sitedir}/gi/pygtkcompat.py
%{local_py_sitedir}/pygtkcompat/
%files devel
%defattr(-,root,root)
%{_libdir}/*.so

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Thu Sep 12 09:04:15 UTC 2013 - dimstar@opensuse.org
- Drop pygtkcompat subpackage: the compatibility layer is no longer
used and causes adverse side-effects (like pulling in Gtk2,
which is not corectly introspectable, causing all kind of other
weird issues).
-------------------------------------------------------------------
Mon Sep 2 13:34:14 UTC 2013 - dimstar@opensuse.org
- Update to version 3.9.91:
+ Fix GObject signal methods to work with new annotations
(bgo#707280).
+ Fix build on C89 Compilers (bgo#707264).
+ Change boxed type checking in marshaling to use __gtype__
attribute bgo#707140).
+ Use G_IS_VALUE for checking return values in closure marshaling
(bgo#707170).
+ Fix PEP-8 errors in propertyhelper.py (bgo#706319).
-------------------------------------------------------------------
Mon Aug 19 15:47:37 UTC 2013 - dimstar@opensuse.org

View File

@ -37,7 +37,7 @@ Name: python3-gobject
Summary: Python bindings for GObject
License: LGPL-2.1+
Group: Development/Libraries/Python
Version: 3.9.90
Version: 3.9.91
Release: 0
Url: http://ftp.gnome.org/pub/GNOME/sources/pygobject/
Source: http://download.gnome.org/sources/pygobject/3.9/%{_name}-%{version}.tar.xz
@ -76,18 +76,6 @@ GLib's GObjects.
This package contains the Python Cairo bindings for GObject.
%package pygtkcompat
Summary: Python bindings for GObject -- PyGTK Backwards Compatibility
Group: Development/Libraries/Python
Requires: %{name} = %{version}
%description pygtkcompat
Pygobjects is an extension module for python that gives you access to
GLib's GObjects.
This package contains a module providing backwards compatibility to
pygtk.
%package -n libpyglib-gi-2_0-python%{local_lib_ver}
Summary: Python Gobject Introspeciton binding
Group: System/Libraries
@ -131,6 +119,9 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
rm -r %{buildroot}%{_includedir}/pygobject-3.0/pygobject.h
rm %{buildroot}%{_libdir}/pkgconfig/pygobject-3.0.pc
%endif
# Drop pygtkcompat layer.it's useless and we lack other stuff for it to work
rm %{buildroot}%{local_py_sitedir}/gi/pygtkcompat.py
rm -r %{buildroot}%{local_py_sitedir}/pygtkcompat/
rm examples/Makefile*
%fdupes $RPM_BUILD_ROOT
@ -148,8 +139,6 @@ rm -rf $RPM_BUILD_ROOT
%{local_py_sitedir}/*.egg-info
# Lives in cairo subpackage
%exclude %{local_py_sitedir}/gi/_gi_cairo*.so
# Lives in pygtkcompat subpackage
%exclude %{local_py_sitedir}/gi/pygtkcompat.py
%files -n libpyglib-gi-2_0-python%{local_lib_ver}
%defattr(-, root, root)
@ -159,11 +148,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%{local_py_sitedir}/gi/_gi_cairo*.so
%files pygtkcompat
%defattr(-,root,root)
%{local_py_sitedir}/gi/pygtkcompat.py
%{local_py_sitedir}/pygtkcompat/
%files devel
%defattr(-,root,root)
%{_libdir}/*.so