From 5a76cf23cf913dde0098f053af30cbedaaf40958fae746671d7eac6c267a19dd Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 21 Jul 2022 13:05:16 +0000 Subject: [PATCH 1/2] Accepting request 989742 from home:bnavigator:branches:devel:languages:python - Work around vendored distutils in setuptools >= 60 incorrectly installing pkgconfig files into the wrong libdir OBS-URL: https://build.opensuse.org/request/show/989742 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject?expand=0&rev=139 --- python-gobject.changes | 6 ++++++ python-gobject.spec | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/python-gobject.changes b/python-gobject.changes index 4eb6522..9bb8acf 100644 --- a/python-gobject.changes +++ b/python-gobject.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jul 16 22:53:44 UTC 2022 - Ben Greiner + +- Work around vendored distutils in setuptools >= 60 incorrectly + installing pkgconfig files into the wrong libdir + ------------------------------------------------------------------- Thu Jun 9 12:51:17 UTC 2022 - Dominique Leuenberger diff --git a/python-gobject.spec b/python-gobject.spec index adb64f5..dd15055 100644 --- a/python-gobject.spec +++ b/python-gobject.spec @@ -124,6 +124,12 @@ export CFLAGS="%{optflags}" %install %python_install +# Incorrectly installed by a python38-setuptools vendored distutils +# which does not play well with the distro patched python38. +# Later flavors installed the correct files into lib64 as well +if [ "%{_libdir}" != "%{_prefix}/lib" -a -d %{buildroot}%{_prefix}/lib/pkgconfig ]; then + rm -r %{buildroot}%{_prefix}/lib/pkgconfig +fi %{python_expand # delete unwanted python scripts and their compiled cache files # Drop pygtkcompat layer - It's useless and we lack other stuff for it to work From 148ffdbbe6f6e7066258d3a39d9384d98d9d5c0e3e33a64bacf8c5a7e0178078 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 4 Aug 2022 06:49:14 +0000 Subject: [PATCH 2/2] Accepting request 990655 from GNOME:Next New stable release OBS-URL: https://build.opensuse.org/request/show/990655 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject?expand=0&rev=140 --- pygobject-3.42.1.tar.xz | 3 --- pygobject-3.42.2.tar.xz | 3 +++ python-gobject.changes | 18 ++++++++++++++++++ python-gobject.spec | 2 +- 4 files changed, 22 insertions(+), 4 deletions(-) delete mode 100644 pygobject-3.42.1.tar.xz create mode 100644 pygobject-3.42.2.tar.xz diff --git a/pygobject-3.42.1.tar.xz b/pygobject-3.42.1.tar.xz deleted file mode 100644 index 9abd3e0..0000000 --- a/pygobject-3.42.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1f34b5f7624de35e44eb5a7eb428353285bd03004d55131a5f7f7fa9b90f3cc9 -size 557904 diff --git a/pygobject-3.42.2.tar.xz b/pygobject-3.42.2.tar.xz new file mode 100644 index 0000000..cdb73a6 --- /dev/null +++ b/pygobject-3.42.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ade8695e2a7073849dd0316d31d8728e15e1e0bc71d9ff6d1c09e86be52bc957 +size 558724 diff --git a/python-gobject.changes b/python-gobject.changes index 9bb8acf..e32ec14 100644 --- a/python-gobject.changes +++ b/python-gobject.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Fri Jul 22 10:00:02 UTC 2022 - Bjørn Lie + +- Update to version 3.42.2: + + Error out instead of crashing when marshaling unsupported + fundamental types in some cases. + + Add a workaround for a PyPy 3.9+ bug when threads are used. + + Fix crashes when marshaling zero terminated arrays for certain + item types. + + Fix a crash/refcounting error in case marshaling a hash table + fails. + + Make the test suite pass again with PyPy. + + tests: support running tests with (MSVC) CPython 3.8+ on + Windows. + + interface: Fix leak when overriding GInterfaceInfo. + + setup.py: look up pycairo headers without importing the module + (helps with building on Windows and MSVC CPython 3.8+). + ------------------------------------------------------------------- Sat Jul 16 22:53:44 UTC 2022 - Ben Greiner diff --git a/python-gobject.spec b/python-gobject.spec index dd15055..0c0e8a3 100644 --- a/python-gobject.spec +++ b/python-gobject.spec @@ -29,7 +29,7 @@ %global __requires_exclude_from ^%{_libdir}/python.*/site-packages/gi/__init__.py$ %define _name pygobject Name: python-gobject -Version: 3.42.1 +Version: 3.42.2 Release: 0 Summary: Python bindings for GObject License: LGPL-2.1-or-later