Compare commits

...
Sign in to create a new pull request.

15 commits

Author SHA1 Message Date
Python Maint
d7cb717046 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 14:05:42 +02:00
Orion Poplawski
1b119c95cc Add BR/R on python3-gobject, skip openal test (FTBFS rhbz#2379002) 2025-08-22 19:44:47 -06:00
Python Maint
4352bae042 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 14:30:21 +02:00
Fedora Release Engineering
53f7e6738c Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 09:37:34 +00:00
Python Maint
66ed799c92 Rebuilt for Python 3.14 2025-06-03 16:25:05 +02:00
Fedora Release Engineering
12b9a27507 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 17:46:29 +00:00
Fedora Release Engineering
667c6f86e5 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 14:30:09 +00:00
Python Maint
6b74c26aa9 Rebuilt for Python 3.13 2024-06-08 10:32:36 +02:00
Orion Poplawski
e48a0d40a9 Update to 2.0.10 2024-02-17 19:27:40 -07:00
Fedora Release Engineering
fccc5775d2 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 08:36:11 +00:00
Fedora Release Engineering
24dd2dcfc5 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 05:37:11 +00:00
Fedora Release Engineering
581b07306a Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 12:43:35 +00:00
Orion Poplawski
45ba8fa193 Update to 1.5.27
Add patch for Python 3.12 support
Use SPDX License
2023-06-17 08:17:36 -06:00
Python Maint
111ed9c4b7 Rebuilt for Python 3.12 2023-06-16 18:00:05 +02:00
Fedora Release Engineering
47715f4adb Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 16:04:54 +00:00
3 changed files with 69 additions and 9 deletions

2
.gitignore vendored
View file

@ -12,3 +12,5 @@
/pyglet-1.5.16.tar.gz
/pyglet-1.5.16-repacked.tar.gz
/pyglet-1.5.23-repacked.tar.gz
/pyglet-1.5.27-repacked.tar.gz
/pyglet-2.0.10-repacked.tar.gz

View file

@ -4,11 +4,11 @@
%bcond_without tests
Name: python-%{srcname}
Version: 1.5.23
Release: 3%{?dist}
Version: 2.0.10
Release: 9%{?dist}
Summary: A cross-platform windowing and multimedia library for Python
License: BSD
License: BSD-3-Clause
URL: http://www.pyglet.org/
# The upstream tarball includes some non-free files in the examples and tests,
@ -41,9 +41,20 @@ BuildRequires: pyproject-rpm-macros
%if %{with tests}
BuildRequires: /usr/bin/xvfb-run mesa-dri-drivers
BuildRequires: python3-pytest
# These two for gdkpixbuf2 tests
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
# These are not specified by upstream
BuildRequires: python3-gobject
# Some tests fail if this is present
# https://github.com/pyglet/pyglet/issues/875
#BuildRequires: python3-pytest-asyncio
%endif
Requires: python3-gobject
%global _description %{expand:
@ -127,27 +138,74 @@ 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 \
-vv \
--non-interactive \
--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_openal_listener or test_push_handlers_instance)' \
--deselect tests/integration/image/test_gdkpixbuf2.py::GdkPixBufTest::test_load_animation \
tests
%endif
%files -n python3-%{srcname} -f %%{pyproject_files}
%license LICENSE
%doc README.md
%doc RELEASE_NOTES
%doc NOTICE
%doc README.md RELEASE_NOTES
%changelog
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 2.0.10-9
- Rebuilt for Python 3.14.0rc3 bytecode
* Sat Aug 23 2025 Orion Poplawski <orion@nwra.com> - 2.0.10-8
- Add BR/R on python3-gobject, skip openal test (FTBFS rhbz#2379002)
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 2.0.10-7
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.10-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 2.0.10-5
- Rebuilt for Python 3.14
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 2.0.10-2
- Rebuilt for Python 3.13
* Sat Feb 17 2024 Orion Poplawski <orion@nwra.com> - 2.0.10-1
- Update to 2.0.10
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.27-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.27-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.27-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jun 17 2023 Orion Poplawski <orion@nwra.com> - 1.5.27-1
- Update to 1.5.27
- Add patch for Python 3.12 support
- Use SPDX License
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 1.5.23-5
- Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.23-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.23-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (pyglet-1.5.23-repacked.tar.gz) = 3385bcfe93ed3b50e1fd8e3c148fc363a72615ece8a2f4ba136df71e480d4c556e0dbd9183911746cdcbe7245aad49f825f6640866e39bd39c204cca6142b3f6
SHA512 (pyglet-2.0.10-repacked.tar.gz) = 8c780913435b1c17e43dcc99e729a2ea5d6a6e734cce642b8da82547f734cc9ce43732257e4f241eb3803a9edc941a96a762e869043260ff15adc84ba5c6d813