From b00bc99dec0e6ad85e69b9081f8833e2f3437148 Mon Sep 17 00:00:00 2001 From: David King Date: Mon, 27 Mar 2023 09:19:26 +0100 Subject: [PATCH] Update to 3.44.1 Enable test suite during check phase. --- .gitignore | 2 +- pygobject3.spec | 8 ++++++++ sources | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2084763..842d0df 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/pygobject-3.*.tar.xz +/pygobject-3.44.1.tar.xz diff --git a/pygobject3.spec b/pygobject3.spec index 6a03984..5de7730 100644 --- a/pygobject3.spec +++ b/pygobject3.spec @@ -20,6 +20,10 @@ BuildRequires: pkgconfig(py3cairo) >= %{pycairo_version} BuildRequires: meson BuildRequires: python3-devel >= %{python3_version} BuildRequires: python3-setuptools +# Test dependencies. +BuildRequires: python3dist(pytest) +BuildRequires: gtk4 +BuildRequires: xorg-x11-server-Xvfb # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility %global py_reproducible_pyc_path %{buildroot}%{python3_sitelib} @@ -79,6 +83,10 @@ This package contains files required to embed PyGObject %install %meson_install +%check +%{shrink:xvfb-run -s "-screen 0 1600x1200x24" %meson_test --timeout-multiplier=5} + + %files -n python3-gobject %{python3_sitearch}/gi/_gi_cairo*.so diff --git a/sources b/sources index 5d8ffde..e54de06 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pygobject-3.44.0.tar.xz) = d6b54b85a130e0d23ec41d6e3c2d5ef7a141193f5ae8cadcea939ad37389109f43900debd51d66611699b653e5af5ee8e4c500e08cf3ea16dcdac109e819cd2a +SHA512 (pygobject-3.44.1.tar.xz) = 5f2ff4a068e7e24dcc32f8c43ba58660c85a0fabdd9ff0bac4ddf1ca82bd0fc962ce5cb3ab25b991c212d45e5e89dac67c3259c5423a7d7fd70b2ac1f56e5327