Accepting request 83893 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/83893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gobject?expand=0&rev=18
This commit is contained in:
Sascha Peilicke 2011-09-21 15:19:36 +00:00 committed by Git OBS Bridge
parent f2fea63408
commit 69a4f51176
6 changed files with 50 additions and 26 deletions

View File

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

3
pygobject-2.90.4.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Fri Sep 16 07:48:14 UTC 2011 - vuntz@opensuse.org
- Update to version 2.90.4:
+ Various deprecated API that were only needed for the static
bindings have been removed.
+ Overrides directory variable was taken out of pygobject-3.0.pc
and moved to the gi._overridesdir attribute to avoid having
multiple .pc files for each version of Python.
+ Multiple arrays referencing a single length parameter are now
supported along with flat GValue arrays.
+ Fix refcount crasher bug triggered when using GObject.new.
+ Python 3 now checks instance types again.
+ Documentation is disabled since it isnt useful yet and
presents parallel install issues.
+ Demos were fixed up to better reflect the preferred way of
using PyGObject.
+ Several bug fixes.
+ Build system improvements.
- Drop manual removal of old GTK+ 2 files and documentation that
conflicted with python-gobject2: fixed upstream.
-------------------------------------------------------------------
Thu Sep 1 15:00:28 UTC 2011 - vuntz@opensuse.org

View File

@ -30,7 +30,7 @@
Name: python-gobject
%define _name pygobject
Summary: Python bindings for GObject
Version: 2.90.3
Version: 2.90.4
Release: 1
License: LGPLv2.1+
Group: Development/Libraries/Python
@ -71,8 +71,6 @@ GLib's GObjects.
This package contains the Python Cairo bindings for GObject.
%package -n libpyglib-gi-2_0-python0
Summary: Python Gobject Introspeciton binding
Group: System/Libraries
@ -111,10 +109,6 @@ make %{?jobs:-j%jobs} V=1
%makeinstall
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
rm examples/Makefile*
# Remove gtk-2.0 folder. It is still shipped in python-gobject2, and pygobject3 relies on gtk3
rm -r %{buildroot}%{local_py_sitedir}/gtk-2.0
# Remove the outdataed pygobject documentation. It does not apply to the gi-bindings.
rm -r %{buildroot}%{_datadir}/gtk-doc/html/pygobject/
%fdupes $RPM_BUILD_ROOT
%clean
@ -144,9 +138,5 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/pygobject-3.0/
%{_libdir}/*.so
%{_libdir}/pkgconfig/pygobject-3.0.pc
# we explicitly list the directories here to be sure we don't include something
# that should live in the main package
%dir %{_datadir}/%{_name}
%{_datadir}/%{_name}/xsl/
%changelog

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Fri Sep 16 07:48:14 UTC 2011 - vuntz@opensuse.org
- Update to version 2.90.4:
+ Various deprecated API that were only needed for the static
bindings have been removed.
+ Overrides directory variable was taken out of pygobject-3.0.pc
and moved to the gi._overridesdir attribute to avoid having
multiple .pc files for each version of Python.
+ Multiple arrays referencing a single length parameter are now
supported along with flat GValue arrays.
+ Fix refcount crasher bug triggered when using GObject.new.
+ Python 3 now checks instance types again.
+ Documentation is disabled since it isnt useful yet and
presents parallel install issues.
+ Demos were fixed up to better reflect the preferred way of
using PyGObject.
+ Several bug fixes.
+ Build system improvements.
- Drop manual removal of old GTK+ 2 files and documentation that
conflicted with python-gobject2: fixed upstream.
-------------------------------------------------------------------
Thu Sep 1 15:00:28 UTC 2011 - vuntz@opensuse.org

View File

@ -1,5 +1,5 @@
#
# spec file for package python3-gobject
# spec file for package python-gobject
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -30,7 +30,7 @@
Name: python3-gobject
%define _name pygobject
Summary: Python bindings for GObject
Version: 2.90.3
Version: 2.90.4
Release: 1
License: LGPLv2.1+
Group: Development/Libraries/Python
@ -71,8 +71,6 @@ GLib's GObjects.
This package contains the Python Cairo bindings for GObject.
%package -n libpyglib-gi-2_0-python0
Summary: Python Gobject Introspeciton binding
Group: System/Libraries
@ -111,10 +109,6 @@ make %{?jobs:-j%jobs} V=1
%makeinstall
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
rm examples/Makefile*
# Remove gtk-2.0 folder. It is still shipped in python-gobject2, and pygobject3 relies on gtk3
rm -r %{buildroot}%{local_py_sitedir}/gtk-2.0
# Remove the outdataed pygobject documentation. It does not apply to the gi-bindings.
rm -r %{buildroot}%{_datadir}/gtk-doc/html/pygobject/
%fdupes $RPM_BUILD_ROOT
%clean
@ -144,9 +138,5 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/pygobject-3.0/
%{_libdir}/*.so
%{_libdir}/pkgconfig/pygobject-3.0.pc
# we explicitly list the directories here to be sure we don't include something
# that should live in the main package
%dir %{_datadir}/%{_name}
%{_datadir}/%{_name}/xsl/
%changelog