Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gom for openSUSE:Factory checked in at 2026-02-26 18:50:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gom (Old) and /work/SRC/openSUSE:Factory/.gom.new.29461 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gom" Thu Feb 26 18:50:34 2026 rev:16 rq:1334731 version:0.5.6 Changes: -------- --- /work/SRC/openSUSE:Factory/gom/gom.changes 2025-10-30 17:09:24.313592844 +0100 +++ /work/SRC/openSUSE:Factory/.gom.new.29461/gom.changes 2026-02-26 18:51:21.008269374 +0100 @@ -1,0 +2,7 @@ +Tue Feb 24 10:47:45 UTC 2026 - Dominique Leuenberger <[email protected]> + +- Update to version 0.5.6: + + Build: Use python install_sources (adds support for options + such as python.bytecompile) + +------------------------------------------------------------------- Old: ---- gom-0.5.5.tar.xz New: ---- gom-0.5.6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gom.spec ++++++ --- /var/tmp/diff_new_pack.m8Q81m/_old 2026-02-26 18:51:26.380493408 +0100 +++ /var/tmp/diff_new_pack.m8Q81m/_new 2026-02-26 18:51:26.380493408 +0100 @@ -1,7 +1,7 @@ # # spec file for package gom # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: gom -Version: 0.5.5 +Version: 0.5.6 Release: 0 Summary: GObject Data Mapper License: LGPL-2.1-or-later @@ -99,7 +99,10 @@ %{_libdir}/girepository-1.0/Gom-1.0.typelib %files -n python3-gom -%{python3_sitearch}/gi/overrides/Gom.py +%dir %{python3_sitelib}/gi +%dir %{python3_sitelib}/gi/overrides +%{python3_sitelib}/gi/overrides/Gom.py +%pycache_only %{python3_sitelib}/gi/overrides/__pycache__/ %files devel %{_libdir}/*.so ++++++ gom-0.5.5.tar.xz -> gom-0.5.6.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gom-0.5.5/NEWS new/gom-0.5.6/NEWS --- old/gom-0.5.5/NEWS 2025-10-29 00:17:37.000000000 +0100 +++ new/gom-0.5.6/NEWS 2026-02-23 20:11:26.000000000 +0100 @@ -1,5 +1,10 @@ Major changes in version +0.5.6 +----- +- Build: Use python install_sources (adds support for options such as + python.bytecompile) + 0.5.5 ----- - Fix some gi-doc annotations diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gom-0.5.5/bindings/python/meson.build new/gom-0.5.6/bindings/python/meson.build --- old/gom-0.5.5/bindings/python/meson.build 2025-10-29 00:17:37.000000000 +0100 +++ new/gom-0.5.6/bindings/python/meson.build 2026-02-23 20:11:26.000000000 +0100 @@ -1,38 +1,16 @@ -pygobject_override_dir = get_option('pygobject-override-dir') - -get_overridedir = ''' -import os -import sysconfig - -libdir = sysconfig.get_config_var('SCRIPTDIR') - -if not libdir: - libdir = '/usr/lib' - -try: - import gi - overridedir = gi._overridesdir -except ImportError: - purelibdir = sysconfig.get_path('purelib') - overridedir = os.path.join(purelibdir, 'gi', 'overrides') +python3 = import('python').find_installation('python3') -if overridedir.startswith(libdir): # Should always be True.. - overridedir = overridedir[len(libdir) + 1:] - -print(overridedir) -''' +pygobject_override_dir = get_option('pygobject-override-dir') +pygobject_override_files = files('gi/overrides/Gom.py') if pygobject_override_dir == '' - python3 = import('python').find_installation('python3') - - ret = run_command([python3, '-c', get_overridedir]) - - if ret.returncode() != 0 - error('Failed to determine pygobject override directory') - else - pygobject_override_dir = join_paths(get_option('libdir'), ret.stdout().strip()) - endif - + pygobject_override_dir = 'gi/overrides' +else + # Emulate install_data behavior for backwards compatibility + pygobject_override_dir = join_paths(get_option('prefix'), pygobject_override_dir) endif -install_data('gi/overrides/Gom.py', install_dir: pygobject_override_dir) +python3.install_sources( + pygobject_override_files, + pure: true, + subdir: pygobject_override_dir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gom-0.5.5/meson.build new/gom-0.5.6/meson.build --- old/gom-0.5.5/meson.build 2025-10-29 00:17:37.000000000 +0100 +++ new/gom-0.5.6/meson.build 2026-02-23 20:11:26.000000000 +0100 @@ -1,5 +1,5 @@ project('gom', 'c', - version: '0.5.5', + version: '0.5.6', license: 'LGPL-2.1+', meson_version: '>= 0.48')
