Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
40dec4f641 | |||
7846b60295 |
12
_service
12
_service
@@ -3,17 +3,25 @@
|
|||||||
<service name="obs_scm" mode="manual">
|
<service name="obs_scm" mode="manual">
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="url">https://gitlab.gnome.org/GNOME/pygobject.git</param>
|
<param name="url">https://gitlab.gnome.org/GNOME/pygobject.git</param>
|
||||||
<param name="revision">3.50.0</param>
|
<param name="revision">3.52.3</param>
|
||||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||||
<param name="versionrewrite-pattern">v?(.*)\+0</param>
|
<param name="versionrewrite-pattern">v?(.*)\+0</param>
|
||||||
<param name="versionrewrite-replacement">\1</param>
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
<!-- <param name="changesgenerate">enable</param> -->
|
<!-- <param name="changesgenerate">enable</param> -->
|
||||||
</service>
|
</service>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://github.com/python/pythoncapi-compat.git</param>
|
||||||
|
<param name="revision">2d18aecd7b2f549d38a13e27b682ea4966f37bd8</param>
|
||||||
|
<param name="versionformat">vendored</param>
|
||||||
|
</service>
|
||||||
<service name="tar" mode="buildtime"/>
|
<service name="tar" mode="buildtime"/>
|
||||||
<service name="recompress" mode="buildtime">
|
<service name="recompress" mode="buildtime">
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
<param name="compression">zst</param>
|
<param name="compression">zst</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="set_version" mode="manual" />
|
<service name="set_version" mode="manual">
|
||||||
|
<param name="basename">pygobject</param>
|
||||||
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
|
||||||
|
BIN
pygobject-3.50.0.obscpio
(Stored with Git LFS)
BIN
pygobject-3.50.0.obscpio
(Stored with Git LFS)
Binary file not shown.
BIN
pygobject-3.52.3.obscpio
(Stored with Git LFS)
Normal file
BIN
pygobject-3.52.3.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,4 +1,4 @@
|
|||||||
name: pygobject
|
name: pygobject
|
||||||
version: 3.50.0
|
version: 3.52.3
|
||||||
mtime: 1726139389
|
mtime: 1742148884
|
||||||
commit: 48a875ea1c33f275f3f751d0d0a48762526a1abe
|
commit: 1c675e47a160662e5247a387dcd35e0d36b3c4d2
|
||||||
|
@@ -1,3 +1,79 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 1 20:36:38 UTC 2025 - Christian Boltz <suse-beta@cboltz.de>
|
||||||
|
|
||||||
|
- Re-add BuildRequires pkgconfig(gobject-introspection-1.0) to
|
||||||
|
fix "cannot import name GLib, introspection typelib not found"
|
||||||
|
error (boo#1240549)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 16 18:35:28 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 3.52.3:
|
||||||
|
+ Remove invalid error check for gi_constant_info_get_value.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 12 11:26:02 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Update to version 3.52.2:
|
||||||
|
+ Revert to legacy license definition in pyproject.toml.
|
||||||
|
- Drop pygobject-license.patch: variant of this has been merged
|
||||||
|
upstream.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 10 12:54:17 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Update to version 3.52.1
|
||||||
|
+ Use `girepository` 2.0 for GIR mappings.
|
||||||
|
+ Use Python's vectorcall protocol internally.
|
||||||
|
+ Improved API for asyncio.
|
||||||
|
+ Deprecation: The pygtkcompat module now throws an exception
|
||||||
|
when imported.
|
||||||
|
+ Method signatures are exposed from PyGObject now.
|
||||||
|
+ Use gobject-introspection-tests for testing.
|
||||||
|
+ Convenience API for Gdk.RGBA got GDK 4, similar to GDK 3.
|
||||||
|
+ Added a [pre-commit](https://pre-commit.com/) configuration.
|
||||||
|
+ Use standard `enum` module for enums and flags in PyGObject.
|
||||||
|
+ Added an option to skip automatic initialization of GTK and
|
||||||
|
GDK.
|
||||||
|
+ PyGObject is no longer automatically tested on i386
|
||||||
|
architecture.
|
||||||
|
+ Fixed iterator protocol implementation for properties.
|
||||||
|
+ Various code and documentation improvements.
|
||||||
|
- Add pythoncapi-compat as subproject.
|
||||||
|
- Pass -Dtests=false to meson: disable tests for now, as we do not
|
||||||
|
have the submodule for that.
|
||||||
|
- Pass -Dwheel=false to meson, as we use our own python
|
||||||
|
single-spec mechanism to install the python bindings.
|
||||||
|
- Add pygobject-license.patch: Fix build by not relying on PE-639
|
||||||
|
yet.
|
||||||
|
- Replace pkgconfig(gobject-introspection-1.0) BuildRequires with
|
||||||
|
pkgconfig(girepository-2.0): follow upstreams changes.
|
||||||
|
- Drop pkgconfig(gmodule-2.0) BuildRequires: no longer needed.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 5 14:19:09 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Update to version 3.51.0:
|
||||||
|
+ Use `girepository` 2.0 for GIR mappings.
|
||||||
|
+ Use Python's vectorcall protocol internally.
|
||||||
|
+ Improved API for asyncio.
|
||||||
|
+ Deprecation: The pygtkcompat module now throws an exception
|
||||||
|
when imported.
|
||||||
|
+ Method signatures are exposed from PyGObject now.
|
||||||
|
+ Convenience API for Gdk.RGBA got GDK 4, similar to GDK 3.
|
||||||
|
+ Use standard `enum` module for enums and flags in PyGObject.
|
||||||
|
+ Added an option to skip automatic initialization of GTK and
|
||||||
|
GDK.
|
||||||
|
+ Fixed iterator protocol implementation for properties.
|
||||||
|
+ Various code and documentation improvements.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 30 15:08:11 UTC 2024 - Yunhe Guo <i@guoyunhe.me>
|
||||||
|
|
||||||
|
- Add python-pygobject provides: help packages to eliminate rpmlint
|
||||||
|
warnings when comparing requrements.txt vs the packages depdency.
|
||||||
|
'pygobject' is the proper upstream name.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 12 12:32:33 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
Thu Sep 12 12:32:33 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-gobject
|
# spec file for package python-gobject
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
# Define these before the call of python_subpackages
|
# Define these before the call of python_subpackages
|
||||||
%define introspection_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink %{_libdir}/libgirepository-1.0.so -f))
|
%define introspection_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink %{_libdir}/libgirepository-2.0.so -f))
|
||||||
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
||||||
# Don't BuildRequire pkgconfig(gdk-3.0) to find the real package for libgdk-3!
|
# Don't BuildRequire pkgconfig(gdk-3.0) to find the real package for libgdk-3!
|
||||||
# It produces a dependency cycle: avahi - gtk3-devel - python-dbus-python
|
# It produces a dependency cycle: avahi - gtk3-devel - python-dbus-python
|
||||||
@@ -28,19 +28,20 @@
|
|||||||
%global __requires_exclude typelib\\(%%namespaces\\)
|
%global __requires_exclude typelib\\(%%namespaces\\)
|
||||||
%global __requires_exclude_from ^%{_libdir}/python.*/site-packages/gi/__init__.py$
|
%global __requires_exclude_from ^%{_libdir}/python.*/site-packages/gi/__init__.py$
|
||||||
%define _name pygobject
|
%define _name pygobject
|
||||||
%define glib_version 2.64.0
|
%define glib_version 2.80.0
|
||||||
%define gi_version 1.64.0
|
%define gi_version 1.64.0
|
||||||
%define pycairo_version 1.16.0
|
%define pycairo_version 1.16.0
|
||||||
%define libffi_version 3.0
|
%define libffi_version 3.0
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-gobject
|
Name: python-gobject
|
||||||
Version: 3.50.0
|
Version: 3.52.3
|
||||||
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/
|
||||||
Source0: %{_name}-%{version}.tar.zst
|
Source0: %{_name}-%{version}.tar.zst
|
||||||
|
Source1: pythoncapi-compat-vendored.tar.zst
|
||||||
|
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module meson-python}
|
BuildRequires: %{python_module meson-python}
|
||||||
@@ -55,13 +56,14 @@ BuildRequires: pkgconfig(cairo-gobject)
|
|||||||
# build cycle!
|
# build cycle!
|
||||||
# BuildRequires: pkgconfig(gdk-3.0) >= 2.38.0
|
# BuildRequires: pkgconfig(gdk-3.0) >= 2.38.0
|
||||||
BuildRequires: pkgconfig(gio-2.0) >= %{glib_version}
|
BuildRequires: pkgconfig(gio-2.0) >= %{glib_version}
|
||||||
|
BuildRequires: pkgconfig(girepository-2.0) >= %{glib_version}
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= %{glib_version}
|
BuildRequires: pkgconfig(glib-2.0) >= %{glib_version}
|
||||||
BuildRequires: pkgconfig(gmodule-2.0) >= %{glib_version}
|
|
||||||
BuildRequires: pkgconfig(gobject-2.0) >= %{glib_version}
|
BuildRequires: pkgconfig(gobject-2.0) >= %{glib_version}
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= %{gi_version}
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= %{gi_version}
|
||||||
BuildRequires: pkgconfig(libffi) >= %{libffi_version}
|
BuildRequires: pkgconfig(libffi) >= %{libffi_version}
|
||||||
# Trigger an automatic installation of python(2|3.*)-gobject when python and libgirepository are installed.
|
# Trigger an automatic installation of python(2|3.*)-gobject when python and libgirepository are installed.
|
||||||
Supplements: (python and %{introspection_real_package})
|
Supplements: (python and %{introspection_real_package})
|
||||||
|
Provides: python-pygobject = %{version}
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -124,10 +126,17 @@ addon libraries such as pygtk in both Python2 and Python3.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
|
%autopatch -p1
|
||||||
|
pushd subprojects
|
||||||
|
tar xf %{SOURCE1} --xform=s/pythoncapi-compat-vendored/pythoncapi-compat/
|
||||||
|
pushd pythoncapi-compat
|
||||||
|
patch -p1 < ../packagefiles/pythoncapi-compat-meson.diff
|
||||||
|
popd
|
||||||
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%meson
|
%meson -Dtests=false -Dwheel=false
|
||||||
%meson_build
|
%meson_build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
@@ -167,19 +176,17 @@ find %{buildroot}%{python_sitearch}/PyGObject*/ "(" -name 'METADATA' ")" -delete
|
|||||||
%{python_sitearch}/gi/
|
%{python_sitearch}/gi/
|
||||||
# Lives in cairo subpackage
|
# Lives in cairo subpackage
|
||||||
%exclude %{python_sitearch}/gi/_gi_cairo*.so
|
%exclude %{python_sitearch}/gi/_gi_cairo*.so
|
||||||
%{python_sitearch}/pygobject-%{version}.dist-info/
|
%{python_sitearch}/pygobject-*.dist-info/
|
||||||
# Lives in Gdk subpackage
|
# Lives in Gdk subpackage
|
||||||
%exclude %{python_sitearch}/gi/_gtktemplate.py
|
%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/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/Pango.*
|
%exclude %{python_sitearch}/gi/overrides/Pango.*
|
||||||
%pycache_only %exclude %{python_sitearch}/gi/__pycache__/_gtktemplate*
|
%pycache_only %exclude %{python_sitearch}/gi/__pycache__/_gtktemplate*
|
||||||
%pycache_only %exclude %{python_sitearch}/gi/overrides/__pycache__/Gdk.*
|
%pycache_only %exclude %{python_sitearch}/gi/overrides/__pycache__/Gdk.*
|
||||||
%pycache_only %exclude %{python_sitearch}/gi/overrides/__pycache__/GdkPixbuf.*
|
%pycache_only %exclude %{python_sitearch}/gi/overrides/__pycache__/GdkPixbuf.*
|
||||||
%pycache_only %exclude %{python_sitearch}/gi/overrides/__pycache__/Gtk.*
|
%pycache_only %exclude %{python_sitearch}/gi/overrides/__pycache__/Gtk.*
|
||||||
%pycache_only %exclude %{python_sitearch}/gi/overrides/__pycache__/keysyms.*
|
|
||||||
%pycache_only %exclude %{python_sitearch}/gi/overrides/__pycache__/Pango.*
|
%pycache_only %exclude %{python_sitearch}/gi/overrides/__pycache__/Pango.*
|
||||||
|
|
||||||
%files %{python_files Gdk}
|
%files %{python_files Gdk}
|
||||||
@@ -187,13 +194,11 @@ find %{buildroot}%{python_sitearch}/PyGObject*/ "(" -name 'METADATA' ")" -delete
|
|||||||
%{python_sitearch}/gi/overrides/Gdk.*
|
%{python_sitearch}/gi/overrides/Gdk.*
|
||||||
%{python_sitearch}/gi/overrides/GdkPixbuf.py
|
%{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/Pango.*
|
%{python_sitearch}/gi/overrides/Pango.*
|
||||||
%pycache_only %{python_sitearch}/gi/__pycache__/_gtktemplate*
|
%pycache_only %{python_sitearch}/gi/__pycache__/_gtktemplate*
|
||||||
%pycache_only %{python_sitearch}/gi/overrides/__pycache__/Gdk.*
|
%pycache_only %{python_sitearch}/gi/overrides/__pycache__/Gdk.*
|
||||||
%pycache_only %{python_sitearch}/gi/overrides/__pycache__/GdkPixbuf.*
|
%pycache_only %{python_sitearch}/gi/overrides/__pycache__/GdkPixbuf.*
|
||||||
%pycache_only %{python_sitearch}/gi/overrides/__pycache__/Gtk.*
|
%pycache_only %{python_sitearch}/gi/overrides/__pycache__/Gtk.*
|
||||||
%pycache_only %{python_sitearch}/gi/overrides/__pycache__/keysyms.*
|
|
||||||
%pycache_only %{python_sitearch}/gi/overrides/__pycache__/Pango.*
|
%pycache_only %{python_sitearch}/gi/overrides/__pycache__/Pango.*
|
||||||
|
|
||||||
%files %{python_files cairo}
|
%files %{python_files cairo}
|
||||||
|
BIN
pythoncapi-compat-vendored.obscpio
(Stored with Git LFS)
Normal file
BIN
pythoncapi-compat-vendored.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
4
pythoncapi-compat.obsinfo
Normal file
4
pythoncapi-compat.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
name: pythoncapi-compat
|
||||||
|
version: vendored
|
||||||
|
mtime: 1724663410
|
||||||
|
commit: 2d18aecd7b2f549d38a13e27b682ea4966f37bd8
|
Reference in New Issue
Block a user