From daba4c87090e91cc625d8808d440d94e7318f0ec Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 16 Jun 2023 17:41:21 -0600 Subject: [PATCH] Update to 2.0.7 --- .gitignore | 2 ++ python-pyglet.spec | 20 +++++++++++++------- sources | 2 +- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 0022dd0..bfbda35 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,5 @@ /pyglet-1.5.16-repacked.tar.gz /pyglet-1.5.23-repacked.tar.gz /pyglet-1.5.27-repacked.tar.gz +/pyglet-2.0.7.tar.gz +/pyglet-2.0.7-repacked.tar.gz diff --git a/python-pyglet.spec b/python-pyglet.spec index 5a0bb64..e612e65 100644 --- a/python-pyglet.spec +++ b/python-pyglet.spec @@ -4,8 +4,8 @@ %bcond_without tests Name: python-%{srcname} -Version: 1.5.27 -Release: 2%{?dist} +Version: 2.0.7 +Release: 1%{?dist} Summary: A cross-platform windowing and multimedia library for Python License: BSD-3-Clause @@ -49,6 +49,11 @@ BuildRequires: gtk2-devel BuildRequires: gdk-pixbuf2-devel # libpurple has sound files unbundled in the repacked tarball BuildRequires: libpurple +# These tests fail in koji, likely due to missing devices +#BuildRequires: openal-soft +# Some tests fail if this is present +# https://github.com/pyglet/pyglet/issues/875 +#BuildRequires: python3-pytest-asyncio %endif @@ -133,7 +138,7 @@ ln -s %{_datadir}/sounds/purple/*.wav tests/data/media/ # Interactive tests are skipped for obvious reasons. # Media player tests are skipped -- we don't have PulseAudio running. # test_find_font_match & test_have_font skipped -- they look for a font named 'arial' -# test_freetype_face tests are is skipped -- they depend on non-free font we remove +# test_font & test_freetype_face tests are skipped -- they depend on non-free font we remove # test_push_handlers_instance has broken mocking: https://github.com/pyglet/pyglet/issues/606 # GdkPixBufTest.test_load_animation uses dinosaur.gif which we remove %pytest \ @@ -142,7 +147,7 @@ ln -s %{_datadir}/sounds/purple/*.wav tests/data/media/ --ignore=tests/interactive \ --ignore=tests/integration/media \ -m 'not (requires_user_action or requires_user_validation or only_interactive)' \ - -k 'not (test_find_font_match or test_have_font or test_freetype_face or test_push_handlers_instance)' \ + -k 'not (test_find_font_match or test_font or test_have_font or test_freetype_face or test_push_handlers_instance)' \ --deselect tests/integration/image/test_gdkpixbuf2.py::GdkPixBufTest::test_load_animation \ tests %endif @@ -150,12 +155,13 @@ ln -s %{_datadir}/sounds/purple/*.wav tests/data/media/ %files -n python3-%{srcname} -f %%{pyproject_files} %license LICENSE -%doc README.md -%doc RELEASE_NOTES -%doc NOTICE +%doc README.md RELEASE_NOTES %changelog +* Fri Jul 28 2023 Orion Poplawski - 2.0.7-1 +- Update to 2.0.7 + * Fri Jul 21 2023 Fedora Release Engineering - 1.5.27-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 102f0ab..6dcb2b7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyglet-1.5.27-repacked.tar.gz) = 496b1b94bde77e2ddf095d021b0736969abd7e70b5fd24ec56e655c41724aa69201d75c63ffc2196197af1ff822f76341c98baaf71170d3b98f37f535ee86660 +SHA512 (pyglet-2.0.7-repacked.tar.gz) = 46908f6c8efa557b6668953828e1abffb8cd803da71e51451bf718cb2ce8426a6b298051600a5b41fd0c9d5dc6b2d6d9784fa7d5936396eb27432d1448c874dc