forked from pool/python-pyglet
Accepting request 869607 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/869607 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyglet?expand=0&rev=10
This commit is contained in:
3
pyglet-1.5.14.zip
Normal file
3
pyglet-1.5.14.zip
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c99758089141be6d2c787902c9d0367b43f94976bbcd3853ea7e438b404c39cd
|
||||||
|
size 3223701
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3faac2dad34946aecbce79a8658f89155436fe5c07332229160c6eba302ff40d
|
|
||||||
size 3160434
|
|
@@ -1,3 +1,34 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 28 23:14:41 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.5.14:
|
||||||
|
- Fix interlaced mp3 decoding in GStreamer backend.
|
||||||
|
- Skip functions marked as OBJC_ARM64_UNAVAILABLE for new ARM Macs.
|
||||||
|
- Add a `WaveEncoder` for saving audio Sources to disk.
|
||||||
|
- Fix crash on looping video with no sound (#322)
|
||||||
|
- OSX: Replace remaining usage of `find_library` to fix Big Sur issues (#332)
|
||||||
|
- Windows: Fix default orientation for the XAudio2 listener.
|
||||||
|
- Add new `shape.Triangle` shape.
|
||||||
|
- Windows: `on_key_press` now dispatches unique events for left/right Shift keys.
|
||||||
|
- Remove usage of deprecated `parser` module. (#312)
|
||||||
|
- Removed some legacy Python 2 code from the documentation.
|
||||||
|
- Fix library loading on OSX Big Sur. Currently this only works with the
|
||||||
|
system version of Python. Non OSX system versions will not yet work,
|
||||||
|
- Explicitly cast media.synthesis data to bytes to prevent issues on some audio drivers.
|
||||||
|
- Refactor WIC module to work with new com module. (#298)
|
||||||
|
- Prevent crash when setting `shapes.Circle.visable`. (#294)
|
||||||
|
- Remove deprecated `tostring` calls in PIL/PNG decoders to prevent crash on Python 3.9. (#295, #302)
|
||||||
|
- Add new Xaudio2 driver. (#288)
|
||||||
|
- Refactor pyglet's lazy module loading to better support code inspection.
|
||||||
|
- Added new `TextEntry` widget.
|
||||||
|
- Added new experimental `gui` module. Currently this only contains basic widgets.
|
||||||
|
- Added new `Group.visible` property, to toggle rendering of entire Groups when used in a Batch.
|
||||||
|
- Added `Sprite.paused` and `Sprite.frame_index` helper properties for controlling Animations.
|
||||||
|
- Reorganized the examples folder.
|
||||||
|
- Added new CenteredCamera example.
|
||||||
|
- Backport pyglet.math from 2.0, for more exposure and testing.
|
||||||
|
- Consolidate Codec logic into base class to reuse among various modules.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 7 14:38:30 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
Fri Aug 7 14:38:30 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyglet
|
# spec file for package python-pyglet
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%bcond_with pytest_helpers
|
%bcond_with pytest_helpers
|
||||||
Name: python-pyglet
|
Name: python-pyglet
|
||||||
Version: 1.5.7
|
Version: 1.5.14
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Windowing and multimedia library
|
Summary: Windowing and multimedia library
|
||||||
License: BSD-3-Clause AND MIT
|
License: BSD-3-Clause AND MIT
|
||||||
@@ -100,11 +100,8 @@ developing games and other visually-rich applications.
|
|||||||
%setup -q -n pyglet-%{version}
|
%setup -q -n pyglet-%{version}
|
||||||
%patch0
|
%patch0
|
||||||
|
|
||||||
# Can't be used for commercial purposes
|
|
||||||
rm -r examples/noisy/
|
|
||||||
|
|
||||||
# Windows only, and is a vendored module
|
# Windows only, and is a vendored module
|
||||||
rm pyglet/font/win32*.py examples/font_comparison.py
|
rm pyglet/font/win32*.py
|
||||||
|
|
||||||
# De-vendoring pypng-ing results in failures in v1.3.2, as it is using pypng an earlier pypng:
|
# De-vendoring pypng-ing results in failures in v1.3.2, as it is using pypng an earlier pypng:
|
||||||
# AttributeError: 'module' object has no attribute 'Writer'
|
# AttributeError: 'module' object has no attribute 'Writer'
|
||||||
@@ -191,10 +188,6 @@ rm examples/astraea/setup.py
|
|||||||
# Convert to unix line endings
|
# Convert to unix line endings
|
||||||
find pyglet -name "*.py" -exec dos2unix "{}" "+"
|
find pyglet -name "*.py" -exec dos2unix "{}" "+"
|
||||||
|
|
||||||
chmod a+x examples/synthesizer.py examples/soundspace/soundspace.py examples/game/version*/asteroid.py
|
|
||||||
|
|
||||||
dos2unix examples/tablet.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
@@ -258,8 +251,7 @@ fi
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc NOTICE README.md RELEASE_NOTES
|
%doc NOTICE README.md RELEASE_NOTES examples
|
||||||
%{_defaultdocdir}/python3-pyglet/examples/
|
|
||||||
%{python_sitelib}/pyglet
|
%{python_sitelib}/pyglet
|
||||||
%{python_sitelib}/pyglet-%{version}-py*.egg-info
|
%{python_sitelib}/pyglet-%{version}-py*.egg-info
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user