diff --git a/pygobject-3.22.0.tar.xz b/pygobject-3.22.0.tar.xz deleted file mode 100644 index a8687d3..0000000 --- a/pygobject-3.22.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:08b29cfb08efc80f7a8630a2734dec65a99c1b59f1e5771c671d2e4ed8a5cbe7 -size 756820 diff --git a/pygobject-3.24.0.tar.xz b/pygobject-3.24.0.tar.xz new file mode 100644 index 0000000..6aac065 --- /dev/null +++ b/pygobject-3.24.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e228b1c0f36e810acd971fad1c7030014900d8427c308d63a560f3f1037fa3c +size 758336 diff --git a/python-gobject.changes b/python-gobject.changes index 8bfa7e4..defe673 100644 --- a/python-gobject.changes +++ b/python-gobject.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Mon Mar 20 15:28:17 UTC 2017 - dimstar@opensuse.org + +- Update to version 3.24.0: + + overrides: Update for Gdk-4.0 and Gtk+-4.0 (bgo#773315, + bgo#777680). + + Disable -Werror=missing-prototypes (bgo#777534). + + Fix new PEP8 errors (bgo#776009). + + Move pep8/pyflakes tests from 'make check' to + 'make check.quality' (bgo#764087). + + Handle exception unreffing Variant at exit (bgo#776092). + + Handle multiple deinit of callable cache (bgo#776092). +- Drop python-gobject-missing-prototypes.patch: fixed upstream. + +------------------------------------------------------------------- +Wed Mar 15 19:38:20 UTC 2017 - toddrme2178@gmail.com + +- Provide python2- versions of packages to ease transition to + python single-spec macros. + +------------------------------------------------------------------- +Mon Feb 27 13:28:08 UTC 2017 - dimstar@opensuse.org + +- Move Pango overrides to -Gdk package: the main pygobject package + is supposed to be installable without a dependency on X + (boo#1025819). + +------------------------------------------------------------------- +Wed Feb 22 18:06:29 UTC 2017 - dimstar@opensuse.org + +- Add python-gobject-missing-prototypes.patch: Disable + -Werror=missing-prototypes (bgo#777534). +- Add gnome-common BuildRequires and call autoreconf, as above + patch touches the build system. + ------------------------------------------------------------------- Mon Sep 19 14:58:45 UTC 2016 - dimstar@opensuse.org diff --git a/python-gobject.spec b/python-gobject.spec index a850a11..9522e43 100644 --- a/python-gobject.spec +++ b/python-gobject.spec @@ -1,7 +1,7 @@ # # spec file for package python-gobject # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -40,14 +40,15 @@ Name: python-gobject Summary: Python bindings for GObject License: LGPL-2.1+ Group: Development/Libraries/Python -Version: 3.22.0 +Version: 3.24.0 Release: 0 Url: https://wiki.gnome.org/Projects/PyGObject/ -Source: http://download.gnome.org/sources/pygobject/3.22/%{_name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/pygobject/3.24/%{_name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM pycompile-searchpath.patch jmatejek@suse.com -- Fix build with python 3.4 Patch1: pycompile-searchpath.patch BuildRequires: fdupes BuildRequires: glib2-devel >= 2.38.0 +BuildRequires: gnome-common BuildRequires: gobject-introspection-devel >= 1.46.0 BuildRequires: libffi-devel >= 3.0.0 %if %{build_for_python3} @@ -61,6 +62,9 @@ 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) +%if %local_py_suffix == 2 +Provides: python2-gobject = %{version} +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{local_py_requires} @@ -73,6 +77,9 @@ Summary: Python bindings for GObject -- Gdk bindings Group: Development/Libraries/Python Requires: %{name} = %{version} Requires: %{name}-cairo = %{version} +%if %local_py_suffix == 2 +Provides: python2-gobject-Gdk = %{version} +%endif %define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink /usr/lib64/libgdk-3.so -f)) Supplements: packageand(%{name}:%{gdk_real_package}) @@ -86,6 +93,9 @@ This package contains the Python Gdk bindings for GObject. Summary: Python bindings for GObject -- Cairo bindings Group: Development/Libraries/Python Requires: %{name} = %{version} +%if %local_py_suffix == 2 +Provides: python2-gobject-cairo = %{version} +%endif %define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo) Supplements: packageand(%{name}:%{cairo_real_package}) @@ -106,6 +116,7 @@ Requires: python3-gobject = %{version} # python3-gobject-devel package is no longer being built. In order to ease upgrades # and remove the obsolete package, we obsolete/provide it here. Obsoletes: python3-gobject-devel < 3.11.5 +Provides: python2-gobject-devel = %{version} Provides: python3-gobject-devel = %{version} %description devel @@ -118,6 +129,7 @@ addon libraries such as pygtk. %patch1 -p1 %build +autoreconf -fiv %if %{build_for_python3} export PYTHON=python3 %else @@ -154,12 +166,14 @@ rm -rf $RPM_BUILD_ROOT %exclude %{local_py_sitedir}/gi/overrides/Gdk.* %exclude %{local_py_sitedir}/gi/overrides/Gtk.* %exclude %{local_py_sitedir}/gi/overrides/keysyms.* +%exclude %{local_py_sitedir}/gi/overrides/Pango.py %files Gdk %defattr(-,root,root) %{local_py_sitedir}/gi/overrides/Gdk.* %{local_py_sitedir}/gi/overrides/Gtk.* %{local_py_sitedir}/gi/overrides/keysyms.* +%{local_py_sitedir}/gi/overrides/Pango.py %files cairo %defattr(-,root,root) diff --git a/python3-gobject.changes b/python3-gobject.changes index 8bfa7e4..defe673 100644 --- a/python3-gobject.changes +++ b/python3-gobject.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Mon Mar 20 15:28:17 UTC 2017 - dimstar@opensuse.org + +- Update to version 3.24.0: + + overrides: Update for Gdk-4.0 and Gtk+-4.0 (bgo#773315, + bgo#777680). + + Disable -Werror=missing-prototypes (bgo#777534). + + Fix new PEP8 errors (bgo#776009). + + Move pep8/pyflakes tests from 'make check' to + 'make check.quality' (bgo#764087). + + Handle exception unreffing Variant at exit (bgo#776092). + + Handle multiple deinit of callable cache (bgo#776092). +- Drop python-gobject-missing-prototypes.patch: fixed upstream. + +------------------------------------------------------------------- +Wed Mar 15 19:38:20 UTC 2017 - toddrme2178@gmail.com + +- Provide python2- versions of packages to ease transition to + python single-spec macros. + +------------------------------------------------------------------- +Mon Feb 27 13:28:08 UTC 2017 - dimstar@opensuse.org + +- Move Pango overrides to -Gdk package: the main pygobject package + is supposed to be installable without a dependency on X + (boo#1025819). + +------------------------------------------------------------------- +Wed Feb 22 18:06:29 UTC 2017 - dimstar@opensuse.org + +- Add python-gobject-missing-prototypes.patch: Disable + -Werror=missing-prototypes (bgo#777534). +- Add gnome-common BuildRequires and call autoreconf, as above + patch touches the build system. + ------------------------------------------------------------------- Mon Sep 19 14:58:45 UTC 2016 - dimstar@opensuse.org diff --git a/python3-gobject.spec b/python3-gobject.spec index d222932..6c49709 100644 --- a/python3-gobject.spec +++ b/python3-gobject.spec @@ -1,7 +1,7 @@ # # spec file for package python3-gobject # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -40,14 +40,15 @@ Name: python3-gobject Summary: Python bindings for GObject License: LGPL-2.1+ Group: Development/Libraries/Python -Version: 3.22.0 +Version: 3.24.0 Release: 0 Url: https://wiki.gnome.org/Projects/PyGObject/ -Source: http://download.gnome.org/sources/pygobject/3.22/%{_name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/pygobject/3.24/%{_name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM pycompile-searchpath.patch jmatejek@suse.com -- Fix build with python 3.4 Patch1: pycompile-searchpath.patch BuildRequires: fdupes BuildRequires: glib2-devel >= 2.38.0 +BuildRequires: gnome-common BuildRequires: gobject-introspection-devel >= 1.46.0 BuildRequires: libffi-devel >= 3.0.0 %if %{build_for_python3} @@ -61,6 +62,9 @@ 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) +%if %local_py_suffix == 2 +Provides: python2-gobject = %{version} +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{local_py_requires} @@ -73,6 +77,9 @@ Summary: Python bindings for GObject -- Gdk bindings Group: Development/Libraries/Python Requires: %{name} = %{version} Requires: %{name}-cairo = %{version} +%if %local_py_suffix == 2 +Provides: python2-gobject-Gdk = %{version} +%endif %define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink /usr/lib64/libgdk-3.so -f)) Supplements: packageand(%{name}:%{gdk_real_package}) @@ -86,6 +93,9 @@ This package contains the Python Gdk bindings for GObject. Summary: Python bindings for GObject -- Cairo bindings Group: Development/Libraries/Python Requires: %{name} = %{version} +%if %local_py_suffix == 2 +Provides: python2-gobject-cairo = %{version} +%endif %define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo) Supplements: packageand(%{name}:%{cairo_real_package}) @@ -106,6 +116,7 @@ Requires: python3-gobject = %{version} # python3-gobject-devel package is no longer being built. In order to ease upgrades # and remove the obsolete package, we obsolete/provide it here. Obsoletes: python3-gobject-devel < 3.11.5 +Provides: python2-gobject-devel = %{version} Provides: python3-gobject-devel = %{version} %description devel @@ -118,6 +129,7 @@ addon libraries such as pygtk. %patch1 -p1 %build +autoreconf -fiv %if %{build_for_python3} export PYTHON=python3 %else @@ -154,12 +166,14 @@ rm -rf $RPM_BUILD_ROOT %exclude %{local_py_sitedir}/gi/overrides/Gdk.* %exclude %{local_py_sitedir}/gi/overrides/Gtk.* %exclude %{local_py_sitedir}/gi/overrides/keysyms.* +%exclude %{local_py_sitedir}/gi/overrides/Pango.py %files Gdk %defattr(-,root,root) %{local_py_sitedir}/gi/overrides/Gdk.* %{local_py_sitedir}/gi/overrides/Gtk.* %{local_py_sitedir}/gi/overrides/keysyms.* +%{local_py_sitedir}/gi/overrides/Pango.py %files cairo %defattr(-,root,root)