Accepting request 583545 from GNOME:Next
Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/583545 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject?expand=0&rev=91
This commit is contained in:
parent
4074f9d8dc
commit
6bcf59ae25
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f5577b9b9c70cabb9a60d81b855d488b767c66f867432e7fb64aa7269b04d1a9
|
|
||||||
size 775628
|
|
3
pygobject-3.27.5.tar.xz
Normal file
3
pygobject-3.27.5.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3e57f42a48f7e762a791ccec2514894945829dc1e70caeea0252505cbddbeda4
|
||||||
|
size 1000792
|
@ -1,3 +1,108 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 2 00:46:39 UTC 2018 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
- Update to version 3.27.5:
|
||||||
|
+ Re-revert transfer-none boxed copy changes. Now with more fixes
|
||||||
|
and tests.
|
||||||
|
+ Add caching for boxed type lookup and try to avoid the import
|
||||||
|
lock.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 16:38:57 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Modernize spec-file by calling spec-cleaner
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 14 12:00:37 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 3.27.4:
|
||||||
|
+ tests: Fix tests under Wayland (glgo#GNOME/pygobject#163).
|
||||||
|
+ tests: Make it possible to use pytest directly.
|
||||||
|
+ Reverted transfer-none boxed copy changes due to regressions
|
||||||
|
in gnome-music (glgo#GNOME/pygobject#164).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 10 22:48:36 UTC 2018 - bjorn.lie@gmail.com
|
||||||
|
|
||||||
|
- Update to version 3.27.3:
|
||||||
|
+ Fix a 3.27.2 regression where functions return invalid boxed
|
||||||
|
values.
|
||||||
|
+ tests:
|
||||||
|
- Make tests run without Gtk/Gdk installed.
|
||||||
|
- Remove dependency on ``localedef``.
|
||||||
|
- Require/Use pytest.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 7 13:49:25 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 3.27.2:
|
||||||
|
+ setup.py:
|
||||||
|
- Add a "quality" command which is equal to
|
||||||
|
"make check.quality".
|
||||||
|
- Add a "test" command which is equal to "make check".
|
||||||
|
- Install pkg-config and header files.
|
||||||
|
- Improve pycairo header lookup with pycairo >=1.16.
|
||||||
|
+ autotools: "make check.quality" now requires flake8.
|
||||||
|
+ overrides:
|
||||||
|
- Fix ``Gtk.Adjustment.__init__()`` overrides not setting
|
||||||
|
"value" sometimes. :issue:`151` :mr:`3`
|
||||||
|
- ``GLib.Variant``: add support to create maybe types.
|
||||||
|
+ Make it possible to resolve ambiguous vmethod names.
|
||||||
|
Ambiguities can be resolved by implementing methods named
|
||||||
|
"do_$namespaced_base_class_name_$vfunc_name".
|
||||||
|
+ Fix setting a property installed in Python from C in some
|
||||||
|
cases.
|
||||||
|
+ pygobject-object: fix memory corruption around list of
|
||||||
|
closures.
|
||||||
|
+ Don't copy the boxed if we are the sole owner of the wrapper
|
||||||
|
after a closure.
|
||||||
|
+ Only copy transfer-none boxed values in closures once the
|
||||||
|
closure exists. This allows modifying the passed boxed while
|
||||||
|
allowing to keep the wrapper around after the closure is done.
|
||||||
|
- Drop pkgconfig(libffi) BuildRequires: no longer needed.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 17 02:47:26 UTC 2017 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
- Update to version 3.27.1:
|
||||||
|
+ setup.py:
|
||||||
|
- Rework pycairo discovery to not use pkg-config.
|
||||||
|
- Remove various classifiers and the download-url which aren't
|
||||||
|
accepted by pypi.
|
||||||
|
+ Add sphinx based documentation (bgo#791448).
|
||||||
|
+ PKG-INFO: Revert name back to PyGObject.
|
||||||
|
- Remove the executable bit from example scripts as an extra
|
||||||
|
sanity/security measure.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 10 23:02:18 UTC 2017 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
- Update to version 3.27.0:
|
||||||
|
+ Demo:
|
||||||
|
- pep8 fixes.
|
||||||
|
- Add new Gtk.FlowBox example (bgo#735918).
|
||||||
|
- Use HeaderBar for main app window (bgo#735918).
|
||||||
|
+ Fix potential:
|
||||||
|
- Uninitialized memory access during GC (bgo#786872).
|
||||||
|
- Potential overflow when marshalling flags from py interface
|
||||||
|
(bgo#786948).
|
||||||
|
+ configure.ac: Error out in case autoconf-archive isn't
|
||||||
|
installed (bgo#784428).
|
||||||
|
+ Move pygi-convert.sh into tools.
|
||||||
|
+ Drop:
|
||||||
|
- Python 3.3 support (bgo#790787).
|
||||||
|
- pygobject-3.0-uninstalled.pc file.
|
||||||
|
+ Tests:
|
||||||
|
- Some more C locale fixes.
|
||||||
|
- Make the test suite pass with the C locale.
|
||||||
|
+ Fixes: bgo#622084, bgo#622084, bgo#731501, bgo#788890,
|
||||||
|
bgo#788894, bgo#777719, bgo#786948, bgo#786948, bgo#735918,
|
||||||
|
bgo#735918, bgo#790346, bgo#735918, bgo#735918.
|
||||||
|
- Switch libffi-devel BuildRequires by its pkgconfig module
|
||||||
|
counterpart once configure only looks for its module.
|
||||||
|
- Adopt the use of %make_build macro instead of raw make command,
|
||||||
|
following best practices.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 28 00:38:57 UTC 2017 - luc14n0@linuxmail.org
|
Sat Oct 28 00:38:57 UTC 2017 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-gobject
|
# spec file for package python-gobject
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 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
|
||||||
@ -17,29 +17,27 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
|
||||||
# This figures in an error message
|
# This figures in an error message
|
||||||
%global __requires_exclude typelib\\(%%namespaces\\)
|
%global __requires_exclude typelib\\(%%namespaces\\)
|
||||||
%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$
|
||||||
|
|
||||||
Name: python-gobject
|
|
||||||
%define _name pygobject
|
%define _name pygobject
|
||||||
Summary: Python bindings for GObject
|
Name: python-gobject
|
||||||
License: LGPL-2.1+
|
Version: 3.27.5
|
||||||
Group: Development/Languages/Python
|
|
||||||
Version: 3.26.1
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://wiki.gnome.org/Projects/PyGObject/
|
Summary: Python bindings for GObject
|
||||||
Source: https://download.gnome.org/sources/pygobject/3.26/%{_name}-%{version}.tar.xz
|
License: LGPL-2.1-or-later
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://wiki.gnome.org/Projects/PyGObject/
|
||||||
|
Source: http://download.gnome.org/sources/pygobject/3.27/%{_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
|
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: gnome-common
|
||||||
BuildRequires: libffi-devel >= 3.0.0
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: pkgconfig(cairo)
|
BuildRequires: pkgconfig(cairo)
|
||||||
BuildRequires: pkgconfig(cairo-gobject)
|
BuildRequires: pkgconfig(cairo-gobject)
|
||||||
@ -48,21 +46,18 @@ BuildRequires: pkgconfig(glib-2.0) >= 2.38.0
|
|||||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.46.0
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.46.0
|
||||||
# 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(python:%{gdk_real_package})
|
Supplements: packageand(python:%{gdk_real_package})
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Pygobjects is an extension module for python that gives you access to
|
Pygobjects is an extension module for python that gives you access to
|
||||||
GLib's GObjects.
|
GLib's GObjects.
|
||||||
|
|
||||||
|
|
||||||
%package Gdk
|
%package Gdk
|
||||||
|
%define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink %{_libdir}/libgdk-3.so -f))
|
||||||
Summary: Python bindings for GObject/Gdk
|
Summary: Python bindings for GObject/Gdk
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: %{name}-cairo = %{version}
|
Requires: %{name}-cairo = %{version}
|
||||||
%define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink %{_libdir}/libgdk-3.so -f))
|
|
||||||
Supplements: packageand(python-gobject:%{gdk_real_package})
|
Supplements: packageand(python-gobject:%{gdk_real_package})
|
||||||
|
|
||||||
%description Gdk
|
%description Gdk
|
||||||
@ -71,12 +66,11 @@ GLib's GObjects.
|
|||||||
|
|
||||||
This package contains the Python Gdk bindings for GObject.
|
This package contains the Python Gdk bindings for GObject.
|
||||||
|
|
||||||
|
|
||||||
%package cairo
|
%package cairo
|
||||||
|
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
||||||
Summary: Python bindings for GObject/Cairo
|
Summary: Python bindings for GObject/Cairo
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
|
||||||
Supplements: packageand(python-gobject:%{cairo_real_package})
|
Supplements: packageand(python-gobject:%{cairo_real_package})
|
||||||
|
|
||||||
%description cairo
|
%description cairo
|
||||||
@ -85,7 +79,6 @@ GLib's GObjects.
|
|||||||
|
|
||||||
This package contains the Python Cairo bindings for GObject.
|
This package contains the Python Cairo bindings for GObject.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Metapackage to pull in all of python-gobject's packages
|
Summary: Metapackage to pull in all of python-gobject's packages
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
@ -99,7 +92,6 @@ Requires: python-devel
|
|||||||
This package contains files required to build wrappers for gobject
|
This package contains files required to build wrappers for gobject
|
||||||
addon libraries such as pygtk.
|
addon libraries such as pygtk.
|
||||||
|
|
||||||
|
|
||||||
%package -n %{name}-common-devel
|
%package -n %{name}-common-devel
|
||||||
Summary: Shared development files for GObject's Python bindings
|
Summary: Shared development files for GObject's Python bindings
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
@ -116,10 +108,11 @@ Provides: %{python_module gobject-common-devel = %{version}}
|
|||||||
This package contains common files required to build wrappers for gobject
|
This package contains common files required to build wrappers for gobject
|
||||||
addon libraries such as pygtk in both Python2 and Python3.
|
addon libraries such as pygtk in both Python2 and Python3.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
%patch1 -p1
|
%patch0 -p1
|
||||||
|
# Remove the executable bit from example scripts:
|
||||||
|
chmod -R -x examples/*.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
@ -127,25 +120,25 @@ autoreconf -fiv
|
|||||||
# We want to do an out-of-source build
|
# We want to do an out-of-source build
|
||||||
%define _configure ../configure
|
%define _configure ../configure
|
||||||
|
|
||||||
%{python_expand mkdir build_%{$python_bin_suffix}
|
%{python_expand mkdir build_%{$python_bin_suffix}
|
||||||
pushd build_%{$python_bin_suffix}
|
pushd build_%{$python_bin_suffix}
|
||||||
|
|
||||||
export PYTHON=$python
|
export PYTHON=$python
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags} V=1
|
%make_build
|
||||||
|
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{python_expand pushd build_%{$python_bin_suffix}
|
%{python_expand pushd build_%{$python_bin_suffix}
|
||||||
|
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
popd
|
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*
|
||||||
%python_expand rm -r %{buildroot}%{$python_sitearch}/pygtkcompat/
|
%python_expand rm -r %{buildroot}%{$python_sitearch}/pygtkcompat/
|
||||||
|
|
||||||
@ -157,11 +150,10 @@ find %{buildroot} "(" -name '*.la' -or -name '*.a' ")" -delete
|
|||||||
%fdupes %{buildroot}/%{_prefix}
|
%fdupes %{buildroot}/%{_prefix}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%doc examples/ NEWS README.rst
|
||||||
%doc examples/
|
|
||||||
%{python_sitearch}/gi/
|
%{python_sitearch}/gi/
|
||||||
%{python_sitearch}/pygobject-3.26.1-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
|
||||||
@ -171,25 +163,18 @@ find %{buildroot} "(" -name '*.la' -or -name '*.a' ")" -delete
|
|||||||
%exclude %{python_sitearch}/gi/overrides/Pango.*
|
%exclude %{python_sitearch}/gi/overrides/Pango.*
|
||||||
|
|
||||||
%files %{python_files Gdk}
|
%files %{python_files Gdk}
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS COPYING
|
|
||||||
%{python_sitearch}/gi/overrides/Gdk.*
|
%{python_sitearch}/gi/overrides/Gdk.*
|
||||||
%{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.*
|
||||||
|
|
||||||
%files %{python_files cairo}
|
%files %{python_files cairo}
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS COPYING
|
|
||||||
%{python_sitearch}/gi/_gi_cairo*.so
|
%{python_sitearch}/gi/_gi_cairo*.so
|
||||||
|
|
||||||
%files %{python_files devel}
|
%files %{python_files devel}
|
||||||
%defattr(-,root,root)
|
%doc ChangeLog
|
||||||
%doc AUTHORS COPYING
|
|
||||||
|
|
||||||
%files -n %{name}-common-devel
|
%files -n %{name}-common-devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS COPYING
|
|
||||||
%{_includedir}/pygobject-3.0/
|
%{_includedir}/pygobject-3.0/
|
||||||
%{_libdir}/pkgconfig/pygobject-3.0.pc
|
%{_libdir}/pkgconfig/pygobject-3.0.pc
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user