Accepting request 638693 from GNOME:Factory
New stable rel (forwarded request 638553 from iznogood) OBS-URL: https://build.opensuse.org/request/show/638693 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gobject?expand=0&rev=74
This commit is contained in:
commit
2c7dd0a558
@ -1,30 +0,0 @@
|
|||||||
Index: pygobject-3.11.92/py-compile
|
|
||||||
===================================================================
|
|
||||||
--- pygobject-3.11.92.orig/py-compile
|
|
||||||
+++ pygobject-3.11.92/py-compile
|
|
||||||
@@ -116,7 +116,11 @@ else
|
|
||||||
fi
|
|
||||||
|
|
||||||
$PYTHON -c "
|
|
||||||
-import sys, os, py_compile, imp
|
|
||||||
+import sys
|
|
||||||
+# when this runs interactively, '' (cwd) is in sys.path. we don't want that.
|
|
||||||
+sys.path.remove('')
|
|
||||||
+
|
|
||||||
+import os, py_compile, imp
|
|
||||||
|
|
||||||
files = '''$files'''
|
|
||||||
|
|
||||||
@@ -137,7 +141,11 @@ sys.stdout.write('\n')" || exit $?
|
|
||||||
|
|
||||||
# this will fail for python < 1.5, but that doesn't matter ...
|
|
||||||
$PYTHON -O -c "
|
|
||||||
-import sys, os, py_compile, imp
|
|
||||||
+import sys
|
|
||||||
+# when this runs interactively, '' (cwd) is in sys.path. we don't want that.
|
|
||||||
+sys.path.remove('')
|
|
||||||
+
|
|
||||||
+import os, py_compile, imp
|
|
||||||
|
|
||||||
# pypy does not use .pyo optimization
|
|
||||||
if hasattr(sys, 'pypy_translation_info'):
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3dd3e21015d06e00482ea665fc1733b77e754a6ab656a5db5d7f7bfaf31ad0b0
|
|
||||||
size 1005368
|
|
3
pygobject-3.30.1.tar.xz
Normal file
3
pygobject-3.30.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e1335b70e36885bf1ae207ec1283a369b8fc3e080688046c1edb5a676edc11ce
|
||||||
|
size 546368
|
@ -1,3 +1,87 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 26 18:24:25 UTC 2018 - bjorn.lie@gmail.com
|
||||||
|
|
||||||
|
- Update to version 3.30.1:
|
||||||
|
+ Fix various crashes on big endian systems.
|
||||||
|
+ meson: Don't link against libpython on non-Windows systems.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 1 19:54:43 UTC 2018 - bjorn.lie@gmail.com
|
||||||
|
|
||||||
|
- Update to version 3.30.0:
|
||||||
|
+ Various test suite fixes to get things to pass with Ubuntu
|
||||||
|
18.10.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 17 10:13:21 UTC 2018 - bjorn.lie@gmail.com
|
||||||
|
|
||||||
|
- Update to version 3.29.3:
|
||||||
|
+ meson:
|
||||||
|
- Support building pycairo as a subproject.
|
||||||
|
- Declare_dependency for use by potential superprojects.
|
||||||
|
- Update glib wrap file.
|
||||||
|
- Fix the Python 2 build not not use the system pycairo
|
||||||
|
extension when running tests.
|
||||||
|
+ pygi-convert.sh: Various fixes and updates.
|
||||||
|
+ Gtk.Template:
|
||||||
|
- Fix instantiation error when using the new code with older
|
||||||
|
PyGObject.
|
||||||
|
- Don't error out when loading a resource that is only
|
||||||
|
available in an overlay.
|
||||||
|
+ Fix various crashes when running against a debug Python 3.7
|
||||||
|
build.
|
||||||
|
+ overrides:
|
||||||
|
- Allow calling GObject.Binding.unbind() multiple times with
|
||||||
|
GLib 2.58+.
|
||||||
|
- Gio.ListStore overrides use splice() when adding/removing
|
||||||
|
many items with GLib 2.58+.
|
||||||
|
+ Work around pylint reporting bogus warnings regarding a missing
|
||||||
|
self argument for normal functions.
|
||||||
|
+ Add override for GdkPixbuf.Pixbuf.new_from_data() to wrap
|
||||||
|
new_from_bytes() to work around a use after free.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 9 01:24:42 UTC 2018 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
- Update to version 3.29.2:
|
||||||
|
+ Gtk.Template: Allow marking children as "internal-child".
|
||||||
|
+ Gio.Settings: implement __iter__.
|
||||||
|
+ Release the GIL when emitting a signal.
|
||||||
|
+ Don't wrap GValue in GValue when creating GValueArray.
|
||||||
|
+ Don't crash on multiple calls to GObject.Value.__del__.
|
||||||
|
+ Various fixes.
|
||||||
|
+ Various fixes/improvements for PyPy.
|
||||||
|
+ Issues fixed: glgo#GNOME/pygobject#115,
|
||||||
|
glgo#GNOME/pygobject#134, glgo#GNOME/pygobject#130,
|
||||||
|
glgo#GNOME/pygobject#45, glgo#GNOME/pygobject#200,
|
||||||
|
glgo#GNOME/pygobject#29, glgo#GNOME/pygobject#213,
|
||||||
|
glgo#GNOME/pygobject#219, glgo#GNOME/pygobject#193.
|
||||||
|
+ Updated documentation.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 4 03:29:01 UTC 2018 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
- Update to version 3.29.1:
|
||||||
|
+ Support for `PyPy <https://pypy.org/>`__ and PyPy3.
|
||||||
|
(glgo#GNOME/pygobject#180).
|
||||||
|
+ Cairo: support :class:`cairo.Matrix` conversion.
|
||||||
|
(glgo#GNOME/pygobject#16).
|
||||||
|
+ Speed up repeated closure creation by caching the closure cache
|
||||||
|
in the argument cache (glgo#GNOME/pygobject#103).
|
||||||
|
+ Overrides: Make :meth:`Gtk.ListStore.insert_before`,
|
||||||
|
:meth:`Gtk.ListStore.insert_after`, :meth:`Gtk.TreeStore.\
|
||||||
|
insert_before` and :meth:`Gtk.TreeStore.insert_after` atomic.
|
||||||
|
+ Make :class:`GLib.Error` picklable (glgo#GNOME/pygobject#45).
|
||||||
|
+ Add basic support for template based widgets through
|
||||||
|
``Gtk.Template`` (glgo#GNOME/pygobject#52).
|
||||||
|
+ Avoid truncating value returned from g_value_info_get_value.
|
||||||
|
+ Various documentation improvements.
|
||||||
|
- Drop:
|
||||||
|
+ gnome-common BuildRequires and autoreconf call, and replace
|
||||||
|
configure/make_build/make_install macros with python_build and
|
||||||
|
python_install, following upstream drop of Autotools.
|
||||||
|
+ pycompile-searchpath.patch: it is no longer needed.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 1 21:37:37 UTC 2018 - bjorn.lie@gmail.com
|
Fri Jun 1 21:37:37 UTC 2018 - bjorn.lie@gmail.com
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -22,21 +22,18 @@
|
|||||||
%global __requires_exclude_from ^%{python2_sitearch}/gi/__init__.py|%{python3_sitearch}/gi/__init__.py$
|
%global __requires_exclude_from ^%{python2_sitearch}/gi/__init__.py|%{python3_sitearch}/gi/__init__.py$
|
||||||
%define _name pygobject
|
%define _name pygobject
|
||||||
Name: python-gobject
|
Name: python-gobject
|
||||||
Version: 3.28.3
|
Version: 3.30.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python bindings for GObject
|
Summary: Python bindings for GObject
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://wiki.gnome.org/Projects/PyGObject/
|
URL: https://wiki.gnome.org/Projects/PyGObject/
|
||||||
Source: http://download.gnome.org/sources/pygobject/3.28/%{_name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/pygobject/3.30/%{_name}-%{version}.tar.xz
|
||||||
# PATCH-FIX-UPSTREAM pycompile-searchpath.patch jmatejek@suse.com -- Fix build with python 3.4
|
|
||||||
Patch0: pycompile-searchpath.patch
|
|
||||||
BuildRequires: %{python_module cairo >= 1.11.1}
|
BuildRequires: %{python_module cairo >= 1.11.1}
|
||||||
BuildRequires: %{python_module cairo-devel}
|
BuildRequires: %{python_module cairo-devel}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gnome-common
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: pkgconfig(cairo)
|
BuildRequires: pkgconfig(cairo)
|
||||||
@ -110,33 +107,15 @@ addon libraries such as pygtk in both Python2 and Python3.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
%patch0 -p1
|
# Remove the executable bits from example scripts:
|
||||||
# Remove the executable bit from example scripts:
|
|
||||||
chmod -R -x examples/*.py
|
chmod -R -x examples/*.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
export CFLAGS="%{optflags}"
|
||||||
|
%python_build
|
||||||
# We want to do an out-of-source build
|
|
||||||
%define _configure ../configure
|
|
||||||
|
|
||||||
%{python_expand mkdir build_%{$python_bin_suffix}
|
|
||||||
pushd build_%{$python_bin_suffix}
|
|
||||||
|
|
||||||
export PYTHON=$python
|
|
||||||
%configure
|
|
||||||
%make_build
|
|
||||||
|
|
||||||
popd
|
|
||||||
}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{python_expand pushd build_%{$python_bin_suffix}
|
%python_install
|
||||||
|
|
||||||
%make_install
|
|
||||||
|
|
||||||
popd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Drop pygtkcompat layer - It's useless and we lack other stuff for it to work
|
# Drop pygtkcompat layer - It's useless and we lack other stuff for it to work
|
||||||
%python_expand rm %{buildroot}%{$python_sitearch}/gi/pygtkcompat.py*
|
%python_expand rm %{buildroot}%{$python_sitearch}/gi/pygtkcompat.py*
|
||||||
@ -145,25 +124,29 @@ popd
|
|||||||
# Drop GIMarshallingTests - It's test suite remainders that should not be installed
|
# Drop GIMarshallingTests - It's test suite remainders that should not be installed
|
||||||
find %{buildroot}%{_prefix} -name GIMarshallingTests.py* -delete -print
|
find %{buildroot}%{_prefix} -name GIMarshallingTests.py* -delete -print
|
||||||
|
|
||||||
rm examples/Makefile*
|
|
||||||
find %{buildroot} "(" -name '*.la' -or -name '*.a' ")" -delete
|
find %{buildroot} "(" -name '*.la' -or -name '*.a' ")" -delete
|
||||||
%fdupes %{buildroot}/%{_prefix}
|
%fdupes %{buildroot}/%{_prefix}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc examples/ NEWS README.rst
|
%doc NEWS
|
||||||
|
%doc examples/
|
||||||
%{python_sitearch}/gi/
|
%{python_sitearch}/gi/
|
||||||
%{python_sitearch}/pygobject-%{version}-py*.egg-info
|
%{python_sitearch}/PyGObject-%{version}-py*.egg-info
|
||||||
# Lives in cairo subpackage
|
# Lives in cairo subpackage
|
||||||
%exclude %{python_sitearch}/gi/_gi_cairo*.so
|
%exclude %{python_sitearch}/gi/_gi_cairo*.so
|
||||||
# Lives in Gdk subpackage
|
# Lives in Gdk subpackage
|
||||||
|
%exclude %{python_sitearch}/gi/_gtktemplate.py
|
||||||
%exclude %{python_sitearch}/gi/overrides/Gdk.*
|
%exclude %{python_sitearch}/gi/overrides/Gdk.*
|
||||||
|
%exclude %{python_sitearch}/gi/overrides/GdkPixbuf.py
|
||||||
%exclude %{python_sitearch}/gi/overrides/Gtk.*
|
%exclude %{python_sitearch}/gi/overrides/Gtk.*
|
||||||
%exclude %{python_sitearch}/gi/overrides/keysyms.*
|
%exclude %{python_sitearch}/gi/overrides/keysyms.*
|
||||||
%exclude %{python_sitearch}/gi/overrides/Pango.*
|
%exclude %{python_sitearch}/gi/overrides/Pango.*
|
||||||
|
|
||||||
%files %{python_files Gdk}
|
%files %{python_files Gdk}
|
||||||
|
%{python_sitearch}/gi/_gtktemplate.py
|
||||||
%{python_sitearch}/gi/overrides/Gdk.*
|
%{python_sitearch}/gi/overrides/Gdk.*
|
||||||
|
%{python_sitearch}/gi/overrides/GdkPixbuf.py
|
||||||
%{python_sitearch}/gi/overrides/Gtk.*
|
%{python_sitearch}/gi/overrides/Gtk.*
|
||||||
%{python_sitearch}/gi/overrides/keysyms.*
|
%{python_sitearch}/gi/overrides/keysyms.*
|
||||||
%{python_sitearch}/gi/overrides/Pango.*
|
%{python_sitearch}/gi/overrides/Pango.*
|
||||||
@ -172,7 +155,7 @@ find %{buildroot} "(" -name '*.la' -or -name '*.a' ")" -delete
|
|||||||
%{python_sitearch}/gi/_gi_cairo*.so
|
%{python_sitearch}/gi/_gi_cairo*.so
|
||||||
|
|
||||||
%files %{python_files devel}
|
%files %{python_files devel}
|
||||||
%doc ChangeLog
|
%doc README.rst
|
||||||
|
|
||||||
%files -n %{name}-common-devel
|
%files -n %{name}-common-devel
|
||||||
%{_includedir}/pygobject-3.0/
|
%{_includedir}/pygobject-3.0/
|
||||||
|
Loading…
Reference in New Issue
Block a user