forked from pool/python-pyglet
- Update to 2.0.9:
* Changes and Improvements + Initialize AudioDriver when media module is imported, prevent pause on first sound playback. + New TextureArrayBin class for managing TextureArray based atlases. + text: Caret supports RGBA color, in line with other pyglet objects. + gui: Add alpha value to the Caret's default color. + shapes: Allow checking if a point is in a shape, using the in operator + Add missing OpenGL extensions + Add support for FFmpeg 6.0 + Sprite width & height properties are now settable, allowing scaling by pixels + app: Passing None to pyglet.app.run will disable automatic Window redraws. + window: Add a Window.draw method to help when manually scheduling Window redraws. + shapes: Add a border thickness setter to BorderedRectangle * Bugfixes + Fix numerous bugs remaining with IncrementalTextLayout, with translation, caret, etc. #786 + shader: add missing sampler type definitions. + Fix broken struct format strings in png and ttf decoders. + text: Clear Group cache when a Layout's Group is changed. + Fix incorrect string formatting in the timer.py example. + input: ensure Xinput controllers dispatch events on the main thread * Switch to pyproject macros. * Remove unneeded futures module from {Build,}Requires. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyglet?expand=0&rev=46
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c47ff4eded95104d030e0697eedd6082b61dc987460bbca83ec47b6e7cbfd38a
|
|
||||||
size 6492747
|
|
3
pyglet-2.0.9.zip
Normal file
3
pyglet-2.0.9.zip
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a0922e42f2d258505678e2f4a355c5476c1a6352c3f3a37754042ddb7e7cf72f
|
||||||
|
size 6525060
|
@@ -1,3 +1,34 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 29 06:52:57 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.0.9:
|
||||||
|
* Changes and Improvements
|
||||||
|
+ Initialize AudioDriver when media module is imported, prevent pause
|
||||||
|
on first sound playback.
|
||||||
|
+ New TextureArrayBin class for managing TextureArray based atlases.
|
||||||
|
+ text: Caret supports RGBA color, in line with other pyglet objects.
|
||||||
|
+ gui: Add alpha value to the Caret's default color.
|
||||||
|
+ shapes: Allow checking if a point is in a shape, using the in operator
|
||||||
|
+ Add missing OpenGL extensions
|
||||||
|
+ Add support for FFmpeg 6.0
|
||||||
|
+ Sprite width & height properties are now settable, allowing scaling by
|
||||||
|
pixels
|
||||||
|
+ app: Passing None to pyglet.app.run will disable automatic Window
|
||||||
|
redraws.
|
||||||
|
+ window: Add a Window.draw method to help when manually scheduling
|
||||||
|
Window redraws.
|
||||||
|
+ shapes: Add a border thickness setter to BorderedRectangle
|
||||||
|
* Bugfixes
|
||||||
|
+ Fix numerous bugs remaining with IncrementalTextLayout, with
|
||||||
|
translation, caret, etc. #786
|
||||||
|
+ shader: add missing sampler type definitions.
|
||||||
|
+ Fix broken struct format strings in png and ttf decoders.
|
||||||
|
+ text: Clear Group cache when a Layout's Group is changed.
|
||||||
|
+ Fix incorrect string formatting in the timer.py example.
|
||||||
|
+ input: ensure Xinput controllers dispatch events on the main thread
|
||||||
|
* Switch to pyproject macros.
|
||||||
|
* Remove unneeded futures module from {Build,}Requires.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 4 19:33:34 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu May 4 19:33:34 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -28,18 +28,18 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%bcond_with gtk2
|
%bcond_with gtk2
|
||||||
%endif
|
%endif
|
||||||
%define skip_python2 1
|
|
||||||
%bcond_with pytest_helpers
|
%bcond_with pytest_helpers
|
||||||
Name: python-pyglet
|
Name: python-pyglet
|
||||||
Version: 2.0.5
|
Version: 2.0.9
|
||||||
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
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/pyglet/pyglet
|
URL: https://github.com/pyglet/pyglet
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/pyglet/pyglet-%{version}.zip
|
Source0: https://files.pythonhosted.org/packages/source/p/pyglet/pyglet-%{version}.zip
|
||||||
Source1: %{name}-rpmlintrc
|
Source1: %{name}-rpmlintrc
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -47,7 +47,6 @@ BuildRequires: unzip
|
|||||||
Requires: Mesa-dri
|
Requires: Mesa-dri
|
||||||
Requires: libxcb-glx0
|
Requires: libxcb-glx0
|
||||||
Requires: python-Pillow
|
Requires: python-Pillow
|
||||||
Requires: python-future
|
|
||||||
Requires: python-pypng
|
Requires: python-pypng
|
||||||
Recommends: alsa-lib
|
Recommends: alsa-lib
|
||||||
Recommends: fontconfig
|
Recommends: fontconfig
|
||||||
@@ -60,7 +59,6 @@ Recommends: gtk2
|
|||||||
%endif
|
%endif
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module Pillow}
|
BuildRequires: %{python_module Pillow}
|
||||||
BuildRequires: %{python_module future}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: Mesa-dri
|
BuildRequires: Mesa-dri
|
||||||
BuildRequires: alsa-lib
|
BuildRequires: alsa-lib
|
||||||
@@ -93,6 +91,9 @@ developing games and other visually-rich applications.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n pyglet-%{version}
|
%autosetup -p1 -n pyglet-%{version}
|
||||||
|
|
||||||
|
# Broken, we shall fall back
|
||||||
|
rm pyproject.toml
|
||||||
|
|
||||||
# Windows only, and is a vendored module
|
# Windows only, and is a vendored module
|
||||||
rm pyglet/font/win32*.py
|
rm pyglet/font/win32*.py
|
||||||
|
|
||||||
@@ -174,10 +175,10 @@ rm tests/base/test_interactive_test_base.py
|
|||||||
find pyglet -name "*.py" -exec dos2unix "{}" "+"
|
find pyglet -name "*.py" -exec dos2unix "{}" "+"
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%{python_expand pkgdocdir=%{_docdir}/$(cat _current_flavor)-pyglet
|
%{python_expand pkgdocdir=%{_docdir}/$(cat _current_flavor)-pyglet
|
||||||
@@ -246,6 +247,6 @@ fi
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md RELEASE_NOTES examples
|
%doc README.md RELEASE_NOTES examples
|
||||||
%{python_sitelib}/pyglet
|
%{python_sitelib}/pyglet
|
||||||
%{python_sitelib}/pyglet-%{version}-py*.egg-info
|
%{python_sitelib}/pyglet-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user