Accepting request 138769 from devel:languages:python

Update to 3.4.1.1 (forwarded request 138665 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/138769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gobject?expand=0&rev=33
This commit is contained in:
Stephan Kulow 2012-10-19 06:50:52 +00:00 committed by Git OBS Bridge
parent 14ae82aee3
commit 494e916097
6 changed files with 477 additions and 13 deletions

View File

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

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

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

View File

@ -1,3 +1,234 @@
-------------------------------------------------------------------
Thu Oct 18 07:27:07 UTC 2012 - dimstar@opensuse.org
- Update to version 3.4.1.1:
+ Bump g-i dependency to >= 1.34.1.1
+ Fix leaked vfunc return values (bgo#686140)
+ Install egg-info files in the right dir (bgo#686315)
- Changes from version 3.4.1:
+ Skip Regress tests with --disable-cairo (bgo#685094)
+ Fix leak with python callables as closure argument (bgo#685598)
+ Gio overrides: Handle setting GSettings enum keys (bgo#685947)
+ Fix unsigned values in GArray/GList/GSList/GHash (bgo#685860)
+ _pygi_marshal_from_py_uint64(): Use correct data type in py2.7
check (bgo#685000)
+ Install an .egg-info file (bgo#680138)
+ pygobject.c: Don't leak GObjectClass reference (bgo#684062)
+ Fix memory leak in _pygi_argument_to_array() (bgo#685082)
+ Fix error messages for out of range numbers (bgo#684314)
+ Kill dbus-daemon after running tests (bgo#685009)
+ GVariant overrides: Support empty tuple arrays (bgo#684928)
+ tests: Fix wrong return type in test_int64_callback()
(bgo#684700)
+ Fix GValue marshalling of long and unsigned long (bgo#684331)
+ Clean up deprecation message for assigning gpointers to objects
(bgo#683599)
+ pygi-property: Lookup property in base classes of
non-introspected types (bgo#684058).
- Drop python-wrong-return.patch: fixed upstream.
-------------------------------------------------------------------
Mon Sep 24 08:18:53 UTC 2012 - dimstar@opensuse.org
- Update to version 3.4.0:
+ Bump gobject-introspection dependency to 1.33.14.
- Add python-wrong-return.patch: Fix wrong return type in
test_int64_callback().
-------------------------------------------------------------------
Thu Sep 20 22:40:50 UTC 2012 - zaitor@opensuse.org
- Update to version 3.3.92:
+ API additions: Add ObjectInfo.get_abstract method (bgo#675581)
+ Add deprecation warning when setting gpointers to anything
other than int (bgo#683599)
+ Fix 64bit integer convertion from GValue (bgo#683596)
+ Improve setting pointer fields/arguments to NULL using None
(bgo#683150)
+ Bump gobject-introspection dependency to >= 1.33.10
+ Fix -uninstalled.pc.in file (bgo#683379)
+ Various test suite additions and improvements.
-------------------------------------------------------------------
Fri Sep 7 20:58:52 UTC 2012 - vuntz@opensuse.org
- Add pkgconfig(cairo) and pkgconfig(cairo-gobject) BuildRequires:
new explicit dependencies since 3.3.3.
-------------------------------------------------------------------
Mon Sep 3 20:33:44 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.91:
+ Fix exception test case for Python 2
+ Bump g-i dependency to >= 1.3.9
+ Show proper exception when trying to allocate a disguised struct
(bgo#639972)
+ Support marshalling GParamSpec signal arguments (bgo#683099)
+ Add test for a signal that returns a GParamSpec (bgo#683265)
+ Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
+ Add override for Gtk.TreeView.insert_column_with_attributes()
(bgo#679415)
+ Split test_overrides.py (bgo#683188)
+ _pygi_argument_to_object(): Clean up array unmarshalling
+ Fix memory leak in _pygi_argument_to_object() (bgo#682979)
+ Fix setting pointer fields/arguments to NULL using None.
(bgo#683150)
+ Fix for python 2.6, officially drop support for < 2.6
(bgo#682422)
+ Allow overrides in other directories than gi itself
(bgo#680913)
+ Clean up sys.path handling in tests (bgo#680913)
+ Fix dynamic creation of enum and flag gi types for Python 3.3
(bgo#682323)
+ API additions:
- Override g_menu_item_set_attribute (bgo#682436)
- Add Signal class for adding and connecting custom signals.
(bgo#434924).
-------------------------------------------------------------------
Mon Aug 20 21:18:53 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.90:
+ Implement marshalling for GParamSpec (bgo#681565)
+ Fix erronous import statements for Python 3.3 (bgo#682051)
+ Do not fail tests if pyflakes or pep8 are not installed
+ Fix PEP-8 whitespace checking and issues in the code
+ Fix unmarshalling of gssize (bgo#680693)
+ Fix various endianess errors (bgo#680692)
+ Gtk overrides: Add TreeModelSort.__init__(self, model)
(bgo#681477)
+ Convert Gtk.CellRendererState in the pygi-convert script
(bgo#681596).
-------------------------------------------------------------------
Mon Aug 6 18:12:02 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.5:
+ Fix list marshalling on big-endian machines (bgo#680693)
+ Beautify class/interface type mismatch error messages
+ Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
+ Fix error messages on interface/class type mismatches
+ API additions:
- pygtkcompat: Add more pixbuf creation functions (bgo#680814)
- API for checking pygobject's version (bgo#680176)
+ Fix crash when returning (False, None) from
Gtk.TreeModel.do_get_iter() (bgo#680812)
+ Add test case for Gtk.TextIter.forward_search() (bgo#679415)
+ pygi-info.c: Robustify pointer arithmetic
+ Add set_attributes() override to Gtk.TreeViewColumn
+ Gtk overrides: Add TreePath.__getitem__() (bgo#680353)
+ Bugs fixed: bgo#679939, bgo#680050, bgo#680092, bgo#680257,
bgo#680259.
-------------------------------------------------------------------
Wed Jul 18 07:50:03 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.4:
+ Fix __path__ module attribute
+ m4/python.m4: Update Python version list
+ Bugs fixed: bgo#679999, bgo#679804, bgo#679804, bgo#680004,
bgo#667244, bgo#679775, bgo#679760, bgo#678914, bgo#679754,
bgo#675857, bgo#679199, bgo#679336, bgo#670575.
-------------------------------------------------------------------
Mon Jun 25 18:03:28 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.3.1:
+ Do not escape enum and flag names that are Python keywords.
- Changes from version 3.3.3:
+ Remove obsolete release-tag make target
+ Do not do any python calls when GObjects are destroyed after
the python interpreter has been finalized (bgo#678046)
+ Do not change constructor-only "type" Window property
(bgo#678510)
+ Escape identifiers which are Python keywords (bgo#676746)
+ Fix code for PEP-8 violations detected by the latest pep8
checker.
+ Fix crash in GLib.find_program_in_path() (bgo#678119)
+ Revert "Do not bind gobject_get_data() and gobject_set_data()"
(bgo#641944)
+ GVariant: Raise proper TypeError on invalid tuple input
(bgo#678317)
-------------------------------------------------------------------
Thu Jun 7 19:17:57 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.2:
+ foreign: Register cairo.Path and cairo.FontOptions foreign
structs (bgo#677388)
+ Check types in GBoxed assignments (bgo#676603)
+ Gtk overrides: Add TreeModelRow.get_previous() (bgo#677389)
+ Add missing GObject.TYPE_VARIANT (bgo#677387)
+ Fix boxed type equality (bgo#677249)
+ Fix TestProperties.testBoxed test (bgo#676644)
+ Fix handling of by-reference structs as out parameters
(bgo#653151)
+ Improved tests.
+ Bugs fixed: bgo#653151, bgo#656554, bgo#672864, bgo#675472,
bgo#675489, bgo#675489, bgo#675579, bgo#675582, bgo#675892,
bgo#675911, bgo#676169, bgo#677124.
-------------------------------------------------------------------
Wed May 16 14:18:28 UTC 2012 - zaitor@opensuse.org
- Update to version 3.3.1:
+ GSettings: allow extra keyword arguments (bgo#675105)
+ pygtkcompat: Correct Userlist module use (bgo#675084)
+ Add release-news make rule
+ Add "make check.nemiver" target
+ Test flags and enums in GHash values (bgo#637466)
+ tests: Activate test_hash_in and apply workaround (bgo#666636)
+ Add special case for Gdk.Atom array entries from Python
(bgo#661709)
+ test_gdbus: Call GetConnectionUnixProcessID() with correct
signature (bgo#667954)
+ Add test case for Gtk.ListStore custom sort ) (bgo#674475)
+ GTK overrides: Add missing keyword arguments ) (bgo#660018)
+ Add missing override for TreeModel.iter_previous() (bgo#660018)
+ pygi-convert.py: Drop obsolete drag method conversions
(bgo#652860)
+ tests: Replace deprecated assertEquals() with assertEqual()
+ Plug tiny leak in constant_info_get_value (bgo#642754)
+ Fix len_arg_index for array arguments (bgo#674271)
+ Support defining GType properties from Python (bgo#674351)
+ Handle GType properties correctly (bgo#674351)
+ Add missing GObject.TYPE_GTYPE
+ Fix test_mainloop.py for Python 3
+ Make callback exception propagation test stricter (bgo#616279)
+ Add context management to freeze_notify() and handler_block().
(bgo#672324)
+ Add support for GFlags properties (bgo#620943)
+ Wrap GLib.Source.is_destroyed() method (bgo#524719)
+ Fix error message when trying to override a non-GI class
(bgo#646667)
+ Fix segfault when accessing __grefcount__ before creating the
GObject (bgo#640434)
+ Do not bind gobject_get_data() and gobject_set_data()
(bgo#641944)
+ Add test case for multiple GLib.MainLoop instances (bgo#663068)
+ Add a ccallback type which is used to invoke callbacks passed
to a vfunc (bgo#644926)
+ Regression test: marshalling GValues in GHashTable (bgo#668903)
+ Update .gitignore
+ Fix "distcheck" and tests with out-of-tree builds
+ Add a pep8 check to the makefile (bgo#672627)
+ PEP8 whitespace fixes (bgo#672627)
+ PEP8: Remove trailing ; (bgo#672627)
+ tests: Replace deprecated Python API
+ Fail tests if they use or encounter deprecations
+ Do not run tests in two phases any more
+ test_overrides: Find local gsettings schema with current glib
+ Add GtkComboBoxEntry compatibility (bgo#672589)
+ Correct review comments from Martin (bgo#672578)
+ Correct pyflakes warnings/errors (bgo#672578)
+ Make tests fail on CRITICAL logs, too, and apply to all tests
+ Support marshalling GI_TYPE_TAG_INTERFACE (bgo#668903)
+ Fix warnings on None values in added tree/list store rows
(bgo#672463)
+ pygtkcompat test: Properly clean up PixbufLoader
- Drop BuildRequires: xz, this comes for free now in the
buildsystem.
-------------------------------------------------------------------
Tue May 15 06:44:07 UTC 2012 - vuntz@opensuse.org

View File

@ -35,16 +35,14 @@ Name: python-gobject
Summary: Python bindings for GObject
License: LGPL-2.1+
Group: Development/Libraries/Python
Version: 3.2.2
Version: 3.4.1.1
Release: 0
Url: http://ftp.gnome.org/pub/GNOME/sources/pygobject/
Source: http://download.gnome.org/sources/pygobject/3.2/%{_name}-%{version}.tar.xz
Source: http://download.gnome.org/sources/pygobject/3.4/%{_name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: glib2-devel >= 2.31.0
BuildRequires: gobject-introspection-devel >= 1.31.20
BuildRequires: gobject-introspection-devel >= 1.33.14
BuildRequires: libffi-devel
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires: xz
%if %{build_for_python3}
BuildRequires: python3-cairo-devel
BuildRequires: python3-devel
@ -52,6 +50,8 @@ BuildRequires: python3-devel
BuildRequires: python-cairo-devel
BuildRequires: python-devel
%endif
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo-gobject)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{local_py_requires}
@ -135,6 +135,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%doc AUTHORS NEWS README ChangeLog examples
%{local_py_sitedir}/gi/
%{local_py_sitedir}/*.egg-info
# Lives in cairo subpackage
%exclude %{local_py_sitedir}/gi/_gi_cairo.so
# Lives in pygtkcompat subpackage

View File

@ -1,3 +1,234 @@
-------------------------------------------------------------------
Thu Oct 18 07:27:07 UTC 2012 - dimstar@opensuse.org
- Update to version 3.4.1.1:
+ Bump g-i dependency to >= 1.34.1.1
+ Fix leaked vfunc return values (bgo#686140)
+ Install egg-info files in the right dir (bgo#686315)
- Changes from version 3.4.1:
+ Skip Regress tests with --disable-cairo (bgo#685094)
+ Fix leak with python callables as closure argument (bgo#685598)
+ Gio overrides: Handle setting GSettings enum keys (bgo#685947)
+ Fix unsigned values in GArray/GList/GSList/GHash (bgo#685860)
+ _pygi_marshal_from_py_uint64(): Use correct data type in py2.7
check (bgo#685000)
+ Install an .egg-info file (bgo#680138)
+ pygobject.c: Don't leak GObjectClass reference (bgo#684062)
+ Fix memory leak in _pygi_argument_to_array() (bgo#685082)
+ Fix error messages for out of range numbers (bgo#684314)
+ Kill dbus-daemon after running tests (bgo#685009)
+ GVariant overrides: Support empty tuple arrays (bgo#684928)
+ tests: Fix wrong return type in test_int64_callback()
(bgo#684700)
+ Fix GValue marshalling of long and unsigned long (bgo#684331)
+ Clean up deprecation message for assigning gpointers to objects
(bgo#683599)
+ pygi-property: Lookup property in base classes of
non-introspected types (bgo#684058).
- Drop python-wrong-return.patch: fixed upstream.
-------------------------------------------------------------------
Mon Sep 24 08:18:53 UTC 2012 - dimstar@opensuse.org
- Update to version 3.4.0:
+ Bump gobject-introspection dependency to 1.33.14.
- Add python-wrong-return.patch: Fix wrong return type in
test_int64_callback().
-------------------------------------------------------------------
Thu Sep 20 22:40:50 UTC 2012 - zaitor@opensuse.org
- Update to version 3.3.92:
+ API additions: Add ObjectInfo.get_abstract method (bgo#675581)
+ Add deprecation warning when setting gpointers to anything
other than int (bgo#683599)
+ Fix 64bit integer convertion from GValue (bgo#683596)
+ Improve setting pointer fields/arguments to NULL using None
(bgo#683150)
+ Bump gobject-introspection dependency to >= 1.33.10
+ Fix -uninstalled.pc.in file (bgo#683379)
+ Various test suite additions and improvements.
-------------------------------------------------------------------
Fri Sep 7 20:58:52 UTC 2012 - vuntz@opensuse.org
- Add pkgconfig(cairo) and pkgconfig(cairo-gobject) BuildRequires:
new explicit dependencies since 3.3.3.
-------------------------------------------------------------------
Mon Sep 3 20:33:44 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.91:
+ Fix exception test case for Python 2
+ Bump g-i dependency to >= 1.3.9
+ Show proper exception when trying to allocate a disguised struct
(bgo#639972)
+ Support marshalling GParamSpec signal arguments (bgo#683099)
+ Add test for a signal that returns a GParamSpec (bgo#683265)
+ Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
+ Add override for Gtk.TreeView.insert_column_with_attributes()
(bgo#679415)
+ Split test_overrides.py (bgo#683188)
+ _pygi_argument_to_object(): Clean up array unmarshalling
+ Fix memory leak in _pygi_argument_to_object() (bgo#682979)
+ Fix setting pointer fields/arguments to NULL using None.
(bgo#683150)
+ Fix for python 2.6, officially drop support for < 2.6
(bgo#682422)
+ Allow overrides in other directories than gi itself
(bgo#680913)
+ Clean up sys.path handling in tests (bgo#680913)
+ Fix dynamic creation of enum and flag gi types for Python 3.3
(bgo#682323)
+ API additions:
- Override g_menu_item_set_attribute (bgo#682436)
- Add Signal class for adding and connecting custom signals.
(bgo#434924).
-------------------------------------------------------------------
Mon Aug 20 21:18:53 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.90:
+ Implement marshalling for GParamSpec (bgo#681565)
+ Fix erronous import statements for Python 3.3 (bgo#682051)
+ Do not fail tests if pyflakes or pep8 are not installed
+ Fix PEP-8 whitespace checking and issues in the code
+ Fix unmarshalling of gssize (bgo#680693)
+ Fix various endianess errors (bgo#680692)
+ Gtk overrides: Add TreeModelSort.__init__(self, model)
(bgo#681477)
+ Convert Gtk.CellRendererState in the pygi-convert script
(bgo#681596).
-------------------------------------------------------------------
Mon Aug 6 18:12:02 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.5:
+ Fix list marshalling on big-endian machines (bgo#680693)
+ Beautify class/interface type mismatch error messages
+ Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
+ Fix error messages on interface/class type mismatches
+ API additions:
- pygtkcompat: Add more pixbuf creation functions (bgo#680814)
- API for checking pygobject's version (bgo#680176)
+ Fix crash when returning (False, None) from
Gtk.TreeModel.do_get_iter() (bgo#680812)
+ Add test case for Gtk.TextIter.forward_search() (bgo#679415)
+ pygi-info.c: Robustify pointer arithmetic
+ Add set_attributes() override to Gtk.TreeViewColumn
+ Gtk overrides: Add TreePath.__getitem__() (bgo#680353)
+ Bugs fixed: bgo#679939, bgo#680050, bgo#680092, bgo#680257,
bgo#680259.
-------------------------------------------------------------------
Wed Jul 18 07:50:03 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.4:
+ Fix __path__ module attribute
+ m4/python.m4: Update Python version list
+ Bugs fixed: bgo#679999, bgo#679804, bgo#679804, bgo#680004,
bgo#667244, bgo#679775, bgo#679760, bgo#678914, bgo#679754,
bgo#675857, bgo#679199, bgo#679336, bgo#670575.
-------------------------------------------------------------------
Mon Jun 25 18:03:28 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.3.1:
+ Do not escape enum and flag names that are Python keywords.
- Changes from version 3.3.3:
+ Remove obsolete release-tag make target
+ Do not do any python calls when GObjects are destroyed after
the python interpreter has been finalized (bgo#678046)
+ Do not change constructor-only "type" Window property
(bgo#678510)
+ Escape identifiers which are Python keywords (bgo#676746)
+ Fix code for PEP-8 violations detected by the latest pep8
checker.
+ Fix crash in GLib.find_program_in_path() (bgo#678119)
+ Revert "Do not bind gobject_get_data() and gobject_set_data()"
(bgo#641944)
+ GVariant: Raise proper TypeError on invalid tuple input
(bgo#678317)
-------------------------------------------------------------------
Thu Jun 7 19:17:57 UTC 2012 - dimstar@opensuse.org
- Update to version 3.3.2:
+ foreign: Register cairo.Path and cairo.FontOptions foreign
structs (bgo#677388)
+ Check types in GBoxed assignments (bgo#676603)
+ Gtk overrides: Add TreeModelRow.get_previous() (bgo#677389)
+ Add missing GObject.TYPE_VARIANT (bgo#677387)
+ Fix boxed type equality (bgo#677249)
+ Fix TestProperties.testBoxed test (bgo#676644)
+ Fix handling of by-reference structs as out parameters
(bgo#653151)
+ Improved tests.
+ Bugs fixed: bgo#653151, bgo#656554, bgo#672864, bgo#675472,
bgo#675489, bgo#675489, bgo#675579, bgo#675582, bgo#675892,
bgo#675911, bgo#676169, bgo#677124.
-------------------------------------------------------------------
Wed May 16 14:18:28 UTC 2012 - zaitor@opensuse.org
- Update to version 3.3.1:
+ GSettings: allow extra keyword arguments (bgo#675105)
+ pygtkcompat: Correct Userlist module use (bgo#675084)
+ Add release-news make rule
+ Add "make check.nemiver" target
+ Test flags and enums in GHash values (bgo#637466)
+ tests: Activate test_hash_in and apply workaround (bgo#666636)
+ Add special case for Gdk.Atom array entries from Python
(bgo#661709)
+ test_gdbus: Call GetConnectionUnixProcessID() with correct
signature (bgo#667954)
+ Add test case for Gtk.ListStore custom sort ) (bgo#674475)
+ GTK overrides: Add missing keyword arguments ) (bgo#660018)
+ Add missing override for TreeModel.iter_previous() (bgo#660018)
+ pygi-convert.py: Drop obsolete drag method conversions
(bgo#652860)
+ tests: Replace deprecated assertEquals() with assertEqual()
+ Plug tiny leak in constant_info_get_value (bgo#642754)
+ Fix len_arg_index for array arguments (bgo#674271)
+ Support defining GType properties from Python (bgo#674351)
+ Handle GType properties correctly (bgo#674351)
+ Add missing GObject.TYPE_GTYPE
+ Fix test_mainloop.py for Python 3
+ Make callback exception propagation test stricter (bgo#616279)
+ Add context management to freeze_notify() and handler_block().
(bgo#672324)
+ Add support for GFlags properties (bgo#620943)
+ Wrap GLib.Source.is_destroyed() method (bgo#524719)
+ Fix error message when trying to override a non-GI class
(bgo#646667)
+ Fix segfault when accessing __grefcount__ before creating the
GObject (bgo#640434)
+ Do not bind gobject_get_data() and gobject_set_data()
(bgo#641944)
+ Add test case for multiple GLib.MainLoop instances (bgo#663068)
+ Add a ccallback type which is used to invoke callbacks passed
to a vfunc (bgo#644926)
+ Regression test: marshalling GValues in GHashTable (bgo#668903)
+ Update .gitignore
+ Fix "distcheck" and tests with out-of-tree builds
+ Add a pep8 check to the makefile (bgo#672627)
+ PEP8 whitespace fixes (bgo#672627)
+ PEP8: Remove trailing ; (bgo#672627)
+ tests: Replace deprecated Python API
+ Fail tests if they use or encounter deprecations
+ Do not run tests in two phases any more
+ test_overrides: Find local gsettings schema with current glib
+ Add GtkComboBoxEntry compatibility (bgo#672589)
+ Correct review comments from Martin (bgo#672578)
+ Correct pyflakes warnings/errors (bgo#672578)
+ Make tests fail on CRITICAL logs, too, and apply to all tests
+ Support marshalling GI_TYPE_TAG_INTERFACE (bgo#668903)
+ Fix warnings on None values in added tree/list store rows
(bgo#672463)
+ pygtkcompat test: Properly clean up PixbufLoader
- Drop BuildRequires: xz, this comes for free now in the
buildsystem.
-------------------------------------------------------------------
Tue May 15 06:44:07 UTC 2012 - vuntz@opensuse.org

View File

@ -35,16 +35,14 @@ Name: python3-gobject
Summary: Python bindings for GObject
License: LGPL-2.1+
Group: Development/Libraries/Python
Version: 3.2.2
Version: 3.4.1.1
Release: 0
Url: http://ftp.gnome.org/pub/GNOME/sources/pygobject/
Source: http://download.gnome.org/sources/pygobject/3.2/%{_name}-%{version}.tar.xz
Source: http://download.gnome.org/sources/pygobject/3.4/%{_name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: glib2-devel >= 2.31.0
BuildRequires: gobject-introspection-devel >= 1.31.20
BuildRequires: gobject-introspection-devel >= 1.33.14
BuildRequires: libffi-devel
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires: xz
%if %{build_for_python3}
BuildRequires: python3-cairo-devel
BuildRequires: python3-devel
@ -52,6 +50,8 @@ BuildRequires: python3-devel
BuildRequires: python-cairo-devel
BuildRequires: python-devel
%endif
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo-gobject)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{local_py_requires}
@ -135,6 +135,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%doc AUTHORS NEWS README ChangeLog examples
%{local_py_sitedir}/gi/
%{local_py_sitedir}/*.egg-info
# Lives in cairo subpackage
%exclude %{local_py_sitedir}/gi/_gi_cairo.so
# Lives in pygtkcompat subpackage