Date: Friday, March 24, 2023 @ 17:29:12
  Author: heftig
Revision: 471973

3.44.1-1

Modified:
  pygobject/trunk/PKGBUILD
Deleted:
  pygobject/trunk/fix-test.diff

---------------+
 PKGBUILD      |   11 +++--------
 fix-test.diff |   50 --------------------------------------------------
 2 files changed, 3 insertions(+), 58 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-24 16:58:18 UTC (rev 471972)
+++ PKGBUILD    2023-03-24 17:29:12 UTC (rev 471973)
@@ -3,7 +3,7 @@
 
 pkgbase=pygobject
 pkgname=(python-gobject)
-pkgver=3.44.0
+pkgver=3.44.1
 pkgrel=1
 pkgdesc="Python Bindings for GLib/GObject/GIO/GTK+"
 url="https://wiki.gnome.org/Projects/PyGObject";
@@ -28,13 +28,11 @@
 provides=("pygobject-devel=$pkgver")
 conflicts=(pygobject-devel)
 replaces=('pygobject-devel<=3.36.1-1')
-_commit=894f8b1dd3246bad6edb75aa86f61f6d83531a33  # tags/3.44.0^0
+_commit=1a2544c898ca2aafcab0c9e472be22657f310cf3  # tags/3.44.1^0
 source=(
   "git+https://gitlab.gnome.org/GNOME/pygobject.git#commit=$_commit";
-  fix-test.diff
 )
-b2sums=('SKIP'
-        
'841a54a068a4a654337f84548db6c836bdb037a52bed3c45d0ba5d5d55d07b9edb5814fccaf482f78bd2a717adb654ff10e638c25dc71ead5c7307df4b5bc753')
+b2sums=('SKIP')
 
 pkgver() {
   cd pygobject
@@ -43,9 +41,6 @@
 
 prepare() {
   cd pygobject
-
-  # fix tests failing due to various warnings being upgraded to criticals
-  patch -Np1 -i ../fix-test.diff
 }
 
 build() {

Deleted: fix-test.diff
===================================================================
--- fix-test.diff       2023-03-24 16:58:18 UTC (rev 471972)
+++ fix-test.diff       2023-03-24 17:29:12 UTC (rev 471973)
@@ -1,50 +0,0 @@
-diff --git i/tests/test_properties.py w/tests/test_properties.py
-index ec5df0ca..f8b7823b 100644
---- i/tests/test_properties.py
-+++ w/tests/test_properties.py
-@@ -688,7 +688,7 @@ class TestProperty(unittest.TestCase):
- 
-         # we test known-bad values here which cause Gtk-WARNING logs.
-         # Explicitly allow these for this test.
--        with capture_glib_warnings(allow_warnings=True):
-+        with capture_glib_warnings(allow_warnings=True, allow_criticals=True):
-             o = C()
-             self.assertEqual(o.prop_int, 1)
- 
-diff --git i/tests/test_repository.py w/tests/test_repository.py
-index 0aa29b63..4390ff04 100644
---- i/tests/test_repository.py
-+++ w/tests/test_repository.py
-@@ -364,17 +364,17 @@ class Test(unittest.TestCase):
-         # also raise a RuntimeError.
-         GIMarshallingTests.NoTypeFlags  # cause flags registration
-         info = repo.find_by_name('GIMarshallingTests', 'NoTypeFlags')
--        with capture_glib_warnings(allow_warnings=True):
-+        with capture_glib_warnings(allow_warnings=True, allow_criticals=True):
-             self.assertRaises(RuntimeError,
-                               GIRepository.flags_register_new_gtype_and_add,
-                               info)
- 
-     def test_enum_double_registration_error(self):
-         # a warning is printed for double registration and pygobject will
-         # also raise a RuntimeError.
-         GIMarshallingTests.Enum  # cause enum registration
-         info = repo.find_by_name('GIMarshallingTests', 'Enum')
--        with capture_glib_warnings(allow_warnings=True):
-+        with capture_glib_warnings(allow_warnings=True, allow_criticals=True):
-             self.assertRaises(RuntimeError,
-                               GIRepository.enum_register_new_gtype_and_add,
-                               info)
-diff --git i/tests/test_signal.py w/tests/test_signal.py
-index e327d374..8a935fd8 100644
---- i/tests/test_signal.py
-+++ w/tests/test_signal.py
-@@ -365,7 +365,7 @@ class TestClosures(unittest.TestCase):
-             self.count += 1
- 
-     def _callback_invalid_stop_emission_name(self, obj, prop):
--        with capture_glib_warnings(allow_warnings=True) as warn:
-+        with capture_glib_warnings(allow_warnings=True, allow_criticals=True) 
as warn:
-             obj.stop_emission_by_name('notasignal::baddetail')
-             self.emission_error = True
-             self.assertTrue(warn)

Reply via email to