Accepting request 481420 from GNOME:Factory
Update to 3.24.0 (forwarded request 481402 from dimstar) OBS-URL: https://build.opensuse.org/request/show/481420 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gobject?expand=0&rev=65
This commit is contained in:
commit
431c159e7a
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:08b29cfb08efc80f7a8630a2734dec65a99c1b59f1e5771c671d2e4ed8a5cbe7
|
|
||||||
size 756820
|
|
3
pygobject-3.24.0.tar.xz
Normal file
3
pygobject-3.24.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4e228b1c0f36e810acd971fad1c7030014900d8427c308d63a560f3f1037fa3c
|
||||||
|
size 758336
|
@ -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
|
Mon Sep 19 14:58:45 UTC 2016 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-gobject
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -40,14 +40,15 @@ Name: python-gobject
|
|||||||
Summary: Python bindings for GObject
|
Summary: Python bindings for GObject
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Version: 3.22.0
|
Version: 3.24.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://wiki.gnome.org/Projects/PyGObject/
|
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
|
# PATCH-FIX-UPSTREAM pycompile-searchpath.patch jmatejek@suse.com -- Fix build with python 3.4
|
||||||
Patch1: pycompile-searchpath.patch
|
Patch1: pycompile-searchpath.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: glib2-devel >= 2.38.0
|
BuildRequires: glib2-devel >= 2.38.0
|
||||||
|
BuildRequires: gnome-common
|
||||||
BuildRequires: gobject-introspection-devel >= 1.46.0
|
BuildRequires: gobject-introspection-devel >= 1.46.0
|
||||||
BuildRequires: libffi-devel >= 3.0.0
|
BuildRequires: libffi-devel >= 3.0.0
|
||||||
%if %{build_for_python3}
|
%if %{build_for_python3}
|
||||||
@ -61,6 +62,9 @@ BuildRequires: pkgconfig(cairo)
|
|||||||
BuildRequires: pkgconfig(cairo-gobject)
|
BuildRequires: pkgconfig(cairo-gobject)
|
||||||
# Trigger an automatic installation of python(3)?-gobject when python and libgirepository are installed.
|
# Trigger an automatic installation of python(3)?-gobject when python and libgirepository are installed.
|
||||||
Supplements: packageand(%{local_py_pkg}:libgirepository-1_0-1)
|
Supplements: packageand(%{local_py_pkg}:libgirepository-1_0-1)
|
||||||
|
%if %local_py_suffix == 2
|
||||||
|
Provides: python2-gobject = %{version}
|
||||||
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{local_py_requires}
|
%{local_py_requires}
|
||||||
|
|
||||||
@ -73,6 +77,9 @@ Summary: Python bindings for GObject -- Gdk bindings
|
|||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: %{name}-cairo = %{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))
|
%define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink /usr/lib64/libgdk-3.so -f))
|
||||||
Supplements: packageand(%{name}:%{gdk_real_package})
|
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
|
Summary: Python bindings for GObject -- Cairo bindings
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
%if %local_py_suffix == 2
|
||||||
|
Provides: python2-gobject-cairo = %{version}
|
||||||
|
%endif
|
||||||
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
||||||
Supplements: packageand(%{name}:%{cairo_real_package})
|
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
|
# python3-gobject-devel package is no longer being built. In order to ease upgrades
|
||||||
# and remove the obsolete package, we obsolete/provide it here.
|
# and remove the obsolete package, we obsolete/provide it here.
|
||||||
Obsoletes: python3-gobject-devel < 3.11.5
|
Obsoletes: python3-gobject-devel < 3.11.5
|
||||||
|
Provides: python2-gobject-devel = %{version}
|
||||||
Provides: python3-gobject-devel = %{version}
|
Provides: python3-gobject-devel = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -118,6 +129,7 @@ addon libraries such as pygtk.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -fiv
|
||||||
%if %{build_for_python3}
|
%if %{build_for_python3}
|
||||||
export PYTHON=python3
|
export PYTHON=python3
|
||||||
%else
|
%else
|
||||||
@ -154,12 +166,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%exclude %{local_py_sitedir}/gi/overrides/Gdk.*
|
%exclude %{local_py_sitedir}/gi/overrides/Gdk.*
|
||||||
%exclude %{local_py_sitedir}/gi/overrides/Gtk.*
|
%exclude %{local_py_sitedir}/gi/overrides/Gtk.*
|
||||||
%exclude %{local_py_sitedir}/gi/overrides/keysyms.*
|
%exclude %{local_py_sitedir}/gi/overrides/keysyms.*
|
||||||
|
%exclude %{local_py_sitedir}/gi/overrides/Pango.py
|
||||||
|
|
||||||
%files Gdk
|
%files Gdk
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{local_py_sitedir}/gi/overrides/Gdk.*
|
%{local_py_sitedir}/gi/overrides/Gdk.*
|
||||||
%{local_py_sitedir}/gi/overrides/Gtk.*
|
%{local_py_sitedir}/gi/overrides/Gtk.*
|
||||||
%{local_py_sitedir}/gi/overrides/keysyms.*
|
%{local_py_sitedir}/gi/overrides/keysyms.*
|
||||||
|
%{local_py_sitedir}/gi/overrides/Pango.py
|
||||||
|
|
||||||
%files cairo
|
%files cairo
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@ -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
|
Mon Sep 19 14:58:45 UTC 2016 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python3-gobject
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -40,14 +40,15 @@ Name: python3-gobject
|
|||||||
Summary: Python bindings for GObject
|
Summary: Python bindings for GObject
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Version: 3.22.0
|
Version: 3.24.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://wiki.gnome.org/Projects/PyGObject/
|
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
|
# PATCH-FIX-UPSTREAM pycompile-searchpath.patch jmatejek@suse.com -- Fix build with python 3.4
|
||||||
Patch1: pycompile-searchpath.patch
|
Patch1: pycompile-searchpath.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: glib2-devel >= 2.38.0
|
BuildRequires: glib2-devel >= 2.38.0
|
||||||
|
BuildRequires: gnome-common
|
||||||
BuildRequires: gobject-introspection-devel >= 1.46.0
|
BuildRequires: gobject-introspection-devel >= 1.46.0
|
||||||
BuildRequires: libffi-devel >= 3.0.0
|
BuildRequires: libffi-devel >= 3.0.0
|
||||||
%if %{build_for_python3}
|
%if %{build_for_python3}
|
||||||
@ -61,6 +62,9 @@ BuildRequires: pkgconfig(cairo)
|
|||||||
BuildRequires: pkgconfig(cairo-gobject)
|
BuildRequires: pkgconfig(cairo-gobject)
|
||||||
# Trigger an automatic installation of python(3)?-gobject when python and libgirepository are installed.
|
# Trigger an automatic installation of python(3)?-gobject when python and libgirepository are installed.
|
||||||
Supplements: packageand(%{local_py_pkg}:libgirepository-1_0-1)
|
Supplements: packageand(%{local_py_pkg}:libgirepository-1_0-1)
|
||||||
|
%if %local_py_suffix == 2
|
||||||
|
Provides: python2-gobject = %{version}
|
||||||
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{local_py_requires}
|
%{local_py_requires}
|
||||||
|
|
||||||
@ -73,6 +77,9 @@ Summary: Python bindings for GObject -- Gdk bindings
|
|||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: %{name}-cairo = %{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))
|
%define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink /usr/lib64/libgdk-3.so -f))
|
||||||
Supplements: packageand(%{name}:%{gdk_real_package})
|
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
|
Summary: Python bindings for GObject -- Cairo bindings
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
%if %local_py_suffix == 2
|
||||||
|
Provides: python2-gobject-cairo = %{version}
|
||||||
|
%endif
|
||||||
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
||||||
Supplements: packageand(%{name}:%{cairo_real_package})
|
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
|
# python3-gobject-devel package is no longer being built. In order to ease upgrades
|
||||||
# and remove the obsolete package, we obsolete/provide it here.
|
# and remove the obsolete package, we obsolete/provide it here.
|
||||||
Obsoletes: python3-gobject-devel < 3.11.5
|
Obsoletes: python3-gobject-devel < 3.11.5
|
||||||
|
Provides: python2-gobject-devel = %{version}
|
||||||
Provides: python3-gobject-devel = %{version}
|
Provides: python3-gobject-devel = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -118,6 +129,7 @@ addon libraries such as pygtk.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -fiv
|
||||||
%if %{build_for_python3}
|
%if %{build_for_python3}
|
||||||
export PYTHON=python3
|
export PYTHON=python3
|
||||||
%else
|
%else
|
||||||
@ -154,12 +166,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%exclude %{local_py_sitedir}/gi/overrides/Gdk.*
|
%exclude %{local_py_sitedir}/gi/overrides/Gdk.*
|
||||||
%exclude %{local_py_sitedir}/gi/overrides/Gtk.*
|
%exclude %{local_py_sitedir}/gi/overrides/Gtk.*
|
||||||
%exclude %{local_py_sitedir}/gi/overrides/keysyms.*
|
%exclude %{local_py_sitedir}/gi/overrides/keysyms.*
|
||||||
|
%exclude %{local_py_sitedir}/gi/overrides/Pango.py
|
||||||
|
|
||||||
%files Gdk
|
%files Gdk
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{local_py_sitedir}/gi/overrides/Gdk.*
|
%{local_py_sitedir}/gi/overrides/Gdk.*
|
||||||
%{local_py_sitedir}/gi/overrides/Gtk.*
|
%{local_py_sitedir}/gi/overrides/Gtk.*
|
||||||
%{local_py_sitedir}/gi/overrides/keysyms.*
|
%{local_py_sitedir}/gi/overrides/keysyms.*
|
||||||
|
%{local_py_sitedir}/gi/overrides/Pango.py
|
||||||
|
|
||||||
%files cairo
|
%files cairo
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user