14
0
forked from pool/python-pyglet

Accepting request 967317 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/967317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyglet?expand=0&rev=13
This commit is contained in:
2022-04-06 19:52:07 +00:00
committed by Git OBS Bridge
5 changed files with 74 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da9d8337388cedabf1f1c5dc21a45bb2b0e5327fba47f996c8573818c3dfa478
size 3242009

3
pyglet-1.5.23.zip Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dee920203cf306159c503babb62f38787268708977f5c945d28337594b797c46
size 6975489

View File

@@ -1,6 +1,3 @@
# This are needed scripts in datadir # examples
addFilter('non-executable-script') addFilter('env-script-interpreter.*/usr/share/doc/packages/.*/examples/')
# This are needed scripts in documentation addFilter('spurious-executable-perm.*/usr/share/doc/packages/.*/examples/')
addFilter('doc-file-dependency')
# This is not a devel package
addFilter('devel-dependency')

View File

@@ -1,3 +1,69 @@
-------------------------------------------------------------------
Wed Apr 6 11:53:31 UTC 2022 - pgajdos@suse.com
- version update to 1.5.23
pyglet 1.5.23
- Windows - Add `win32_disable_shaping` option. This can improve font performance when shaping isn't required.
- Backport the latest pyglet.math module changes from the development branch.
- Linux - Fix crash when Gstreamer Gst bindings are not installed.
- Fix math.Vec4.clamp method.
pyglet 1.5.22
- If the PyOgg module is installed, it can be used for loading various Vorbis audio formats.
- Add a new CameraGroup example, to show implementing a Camera with pyglet's Groups.
- Add `angle` and `start_angle` property/setter to `shapes.Sector`.
- Windows - new WMF based encoder for faster saving of common image formats.
- Fix indexing error when setting text.Label.opacity (#481)
- Windows - Fix shift modifier + exclusive mouse mode (#472)
- Linux - Prevent non-Tablet devices from being detected as Tablets (#491)
- Windows - Prevent distortion with multiple XAudio2 audio sources (#515)
- Fix frame dropping bug with FFMpeg decoder.
- Windows - Fix Video alpha channel for WMF decoder.
- Varios documentation and docstring fixes. Thanks everyone!
pyglet 1.5.21
- A new MovableFrame that allows repositioning Widgets when a specified key modifier is held.
- Text Layouts now have `opacity` and `visible` attributes, similar to Sprites.
- Add new shapes.Ellipse class.
- Xlib - don't enable certain Window options if transparency is not enabled. (#454)
- Windows - Fix issue with some fonts where glyphs overhanging their advance would be cut off.
pyglet 1.5.20
- Experimental support for transparent and overlay windows on Linux and Windows.
- Shapes - Allow rotation and changing of border color for the BorderedRectangle.
- Xlib - Fix the mouse Y position being off by 1-pixel.
- Windows - Fix gapless audio playback on the XAudio2 backend.
pyglet 1.5.19
- Add new 'Sector' class to shapes module, for creating sectors of a circle.
- Ensure that the FFmpegDecoder returns the requested number of bytes.
- When subclassing EventHandlers, ensure that possible TyperErrors give correct feedback.
- Fix missing name attribute on FreeTypeMemoryFace object when adding fonts.
- Re-introduce background threads for refilling Player buffers.
- Allow directly setting Widget values.
- Add docstrings for gui.widgets.
- Refresh of experimental/win32priority.py.
pyglet 1.5.18
- If XAudio2 device creation fails, catch exception so that the next driver can be tried.
- Fix dangling file pointers in GStreamer decoder.
- Expose font.name attribute to show the font family name.
- Un-associate queued Source from a deleted Player instance (#256)
- Fix circular import when trying to create a Windows in 'headless' mode.
- Un-associate StreamingSources from deleted Player instances (#256)
- Update pypng lib to avoid deprecated functions (#405)
pyglet 1.5.17
- FFmpeg decoder add FF_INPUT_BUFFER_PADDING_SIZE to buffers.
- Add missing DI8DEVTYPE_SUPPLEMENTAL joystick device type.
- Fix bool clamping causing crash with DirectWrite text decoder.
- Change IncrementalTextLayout to use glScissor instead of glClipPlane.
- Raise warning on Window creation if the GPU drivers do not support OpenGL 2.0
- Add a new `shapes.Star` shape.
pyglet 1.5.16
- 3d model obj decoder supports multiple material types
- Fix GStreamerSources not being garbage collected #283
- Fix ScrollableTextLayout not respecting anchors/alignment.
- New DirectWrite based font loader. Enable with `pyglet.options["advanced_font_features"] = True`
- Add `position` property to Text Layouts, to mimic other classes.
- modified sources
% python-pyglet-rpmlintrc
- python-mock is not required for build
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 8 09:10:33 UTC 2021 - Dirk Müller <dmueller@suse.com> Mon Mar 8 09:10:33 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyglet # spec file for package python-pyglet
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 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.15 Version: 1.5.23
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
@@ -65,7 +65,6 @@ Recommends: gtk2
%if %{with test} %if %{with test}
BuildRequires: %{python_module Pillow} BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module future} BuildRequires: %{python_module future}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: Mesa-dri BuildRequires: Mesa-dri
BuildRequires: alsa-lib BuildRequires: alsa-lib