commit python-pyglet for openSUSE:Factory

2020-08-18 Thread root
Hello community,

here is the log from the commit of package python-pyglet for openSUSE:Factory 
checked in at 2020-08-18 15:12:36

Comparing /work/SRC/openSUSE:Factory/python-pyglet (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyglet.new.3399 (New)


Package is "python-pyglet"

Tue Aug 18 15:12:36 2020 rev:9 rq:825366 version:1.5.7

Changes:

--- /work/SRC/openSUSE:Factory/python-pyglet/python-pyglet.changes  
2019-09-18 13:10:46.808698226 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyglet.new.3399/python-pyglet.changes
2020-08-18 15:12:58.584088500 +0200
@@ -1,0 +2,12 @@
+Fri Aug  7 14:38:30 UTC 2020 - Marketa Calabkova 
+
+- Update to version 1.5.7
+  * Support for Python 2 has been dropped. Python 3.5 is now the minimum 
supported version.
+  * Added preliminary support for loading 3D models from obj files.
+  * Switched from avbin to ffmpeg for decoding media files.
+  * Many long deprecated methods and attributes have now been removed.
+  * Many more bugfixes and small improvements
+- Updated pyglet-1.2.4-fix-image-import.patch
+- Dropped pypng-license.patch 
+
+---

Old:

  pyglet-1.3.2.tar.gz
  pypng-license.patch

New:

  pyglet-1.5.7.zip



Other differences:
--
++ python-pyglet.spec ++
--- /var/tmp/diff_new_pack.aHzwjP/_old  2020-08-18 15:12:59.856089027 +0200
+++ /var/tmp/diff_new_pack.aHzwjP/_new  2020-08-18 15:12:59.860089028 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyglet
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,9 +18,6 @@
 
 %define X_display :98
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
-%bcond_with pytest_helpers
-
 %ifarch %{arm} aarch64 x86_64 %{ix86} ppc64le
 %bcond_without  gtk2
 %bcond_without  test
@@ -32,45 +29,39 @@
 %bcond_with test
 %bcond_with gtk2
 %endif
-
-# Set _version to 1.4 for 1.4.0betas and hg default
-%define _version 1.3.2
+%define skip_python2 1
+%bcond_with pytest_helpers
 Name:   python-pyglet
-Version:1.3.2
+Version:1.5.7
 Release:0
 Summary:Windowing and multimedia library
-# 1.3.2 contains a vendored old pypng
 License:BSD-3-Clause AND MIT
 Group:  Development/Languages/Python
 URL:https://bitbucket.org/pyglet/pyglet
-Source0:
https://files.pythonhosted.org/packages/source/p/pyglet/pyglet-%{version}.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/p/pyglet/pyglet-%{version}.zip
 Source1:%{name}-rpmlintrc
 # PATCH-FIX-OPENSUSE pyglet-1.2.4-fix-image-import.patch -- fix "import Image"
 Patch0: pyglet-1.2.4-fix-image-import.patch
-%if "%{_version}" == "1.3.2"
-Patch1: pypng-license.patch
-%endif
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  unzip
 Requires:   Mesa-dri
-Requires:   config(Mesa)
+Requires:   libxcb-glx0
 Requires:   python-Pillow
 Requires:   python-future
-Requires:   libxcb-glx0
-%if "%{_version}" == "1.4"
 Requires:   python-pypng
-%endif
+Requires:   config(Mesa)
 Recommends: alsa-lib
 Recommends: fontconfig
 Recommends: freetype
 Recommends: libGLU1
 Recommends: libopenal0
+BuildArch:  noarch
 %if %{with gtk2}
 Recommends: gtk2
 %endif
-BuildArch:  noarch
 %if %{with test}
 BuildRequires:  %{python_module Pillow}
 BuildRequires:  %{python_module future}
@@ -108,33 +99,21 @@
 %prep
 %setup -q -n pyglet-%{version}
 %patch0
-%if "%{_version}" == "1.3.2"
-%patch1 -p1
-%endif
 
 # Can't be used for commercial purposes
 rm -r examples/noisy/
 
-# Not needed, and interferes with test discovery
-rm -r pyglet/extlibs/future/
-rm -r tests/extlibs/future/ tests/extlibs/mock.py
-
 # Windows only, and is a vendored module
 rm pyglet/font/win32*.py examples/font_comparison.py
 
-%if "%{_version}" == "1.4"
 # 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'
 # pyglet 1.4 is using the latest pypng 0.0.19, the same version as 
python-pypng package
 rm pyglet/extlibs/png.py
 sed -i 's/import pyglet.extlibs.png as pypng/import png as pypng/' 
pyglet/image/codecs/png.py
-%endif
 
 # Files unneccessary for Linux runtimes
 rm -r \
-%if "%{_version}" == "1.3.2"
-  pyglet/*/carbon.py pyglet/input/carbon_*.py pyglet/window/carbon/ 
pyglet/image/codecs/quicktime.py 

commit python-pyglet for openSUSE:Factory

2019-09-18 Thread root
Hello community,

here is the log from the commit of package python-pyglet for openSUSE:Factory 
checked in at 2019-09-18 13:10:24

Comparing /work/SRC/openSUSE:Factory/python-pyglet (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyglet.new.7948 (New)


Package is "python-pyglet"

Wed Sep 18 13:10:24 2019 rev:8 rq:731155 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pyglet/python-pyglet.changes  
2019-06-19 21:03:08.938227794 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyglet.new.7948/python-pyglet.changes
2019-09-18 13:10:46.808698226 +0200
@@ -1,0 +2,5 @@
+Sun Sep 15 07:07:32 UTC 2019 - John Vandenberg 
+
+- Use %python_expand in %check to allow building only one flavour
+
+---



Other differences:
--
++ python-pyglet.spec ++
--- /var/tmp/diff_new_pack.F6hTQU/_old  2019-09-18 13:10:47.464698088 +0200
+++ /var/tmp/diff_new_pack.F6hTQU/_new  2019-09-18 13:10:47.468698087 +0200
@@ -271,15 +271,19 @@
 
 pytest_addopts="$pytest_addopts tests/unit tests/integration"
 
+%{python_expand  #
 # These are only problematic on Python 2, and are restored after Python 2 tests
 # https://bitbucket.org/pyglet/pyglet/issues/223/clock-test-failures
-mv tests/unit/test_clock.py tests/unit/.test_clock.py
-
-python2 -m pytest $pytest_addopts -k "not ($pytest_k_list)"
-
-mv tests/unit/.test_clock.py tests/unit/test_clock.py
-
-python3 -m pytest $pytest_addopts -k "not ($pytest_k_list)"
+if [ $python = python2 ]; then
+  mv tests/unit/test_clock.py tests/unit/.test_clock.py
+fi
+
+$python -m pytest $pytest_addopts -k "not ($pytest_k_list)"
+
+if [ -x tests/unit/.test_clock.py ]; then
+  mv tests/unit/.test_clock.py tests/unit/test_clock.py
+fi
+}
 
 # endif test
 %endif




commit python-pyglet for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package python-pyglet for openSUSE:Factory 
checked in at 2019-06-19 21:03:01

Comparing /work/SRC/openSUSE:Factory/python-pyglet (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyglet.new.4811 (New)


Package is "python-pyglet"

Wed Jun 19 21:03:01 2019 rev:7 rq:707323 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pyglet/python-pyglet.changes  
2018-12-24 11:41:57.441422047 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyglet.new.4811/python-pyglet.changes
2019-06-19 21:03:08.938227794 +0200
@@ -1,0 +2,15 @@
+Wed Mar 20 13:34:05 UTC 2019 - John Vandenberg 
+
+- Reactivate test suite, except for platforms ppc and s390 which
+  regularly run out of memory while loading libraries
+- De-vendor python-future
+- Add MIT to License: and %license due to vendored pypng, using
+  pypng-license.patch
+- Remove macos and win32 platform support
+- Add missing runtime dependency libxcb-glx0 and add several
+  runtime recommended dependencies
+- Remove incorrect runtime dependencies
+- Remove unused build dependencies
+- Fix fdupes and permissions of examples
+
+---

New:

  pypng-license.patch



Other differences:
--
++ python-pyglet.spec ++
--- /var/tmp/diff_new_pack.5RraoX/_old  2019-06-19 21:03:10.682229307 +0200
+++ /var/tmp/diff_new_pack.5RraoX/_new  2019-06-19 21:03:10.690229314 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyglet
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,43 +16,89 @@
 #
 
 
+%define X_display :98
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
+%bcond_with pytest_helpers
+
+%ifarch %{arm} aarch64 x86_64 %{ix86} ppc64le
+%bcond_without  gtk2
+%bcond_without  test
+# test_worker_refill_multiple_players_refill_multiple failed once on armv7l
+%else
+# s390x fails without out of memory with gtk and freetype,
+# even with 8G memory from _constraints
+# ppc has lots of similar problems, especially with gdk
+%bcond_with test
+%bcond_with gtk2
+%endif
+
+# Set _version to 1.4 for 1.4.0betas and hg default
+%define _version 1.3.2
 Name:   python-pyglet
 Version:1.3.2
 Release:0
 Summary:Windowing and multimedia library
-License:BSD-3-Clause
+# 1.3.2 contains a vendored old pypng
+License:BSD-3-Clause AND MIT
 Group:  Development/Languages/Python
 URL:https://bitbucket.org/pyglet/pyglet
 Source0:
https://files.pythonhosted.org/packages/source/p/pyglet/pyglet-%{version}.tar.gz
 Source1:%{name}-rpmlintrc
 # PATCH-FIX-OPENSUSE pyglet-1.2.4-fix-image-import.patch -- fix "import Image"
 Patch0: pyglet-1.2.4-fix-image-import.patch
-BuildRequires:  %{python_module Pillow}
+%if "%{_version}" == "1.3.2"
+Patch1: pypng-license.patch
+%endif
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  alsa-devel
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
-BuildRequires:  fontconfig-devel
-BuildRequires:  freetype2-devel
-BuildRequires:  gtk2-devel
-BuildRequires:  openal-soft-devel
-BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
+Requires:   Mesa-dri
+Requires:   config(Mesa)
+Requires:   python-Pillow
+Requires:   python-future
+Requires:   libxcb-glx0
+%if "%{_version}" == "1.4"
+Requires:   python-pypng
+%endif
+Recommends: alsa-lib
+Recommends: fontconfig
+Recommends: freetype
+Recommends: libGLU1
+Recommends: libopenal0
+%if %{with gtk2}
+Recommends: gtk2
+%endif
+BuildArch:  noarch
+%if %{with test}
+BuildRequires:  %{python_module Pillow}
+BuildRequires:  %{python_module future}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  Mesa-dri
+BuildRequires:  alsa-lib
+BuildRequires:  fontconfig
+BuildRequires:  freetype
+BuildRequires:  gnu-free-fonts
+BuildRequires:  libopenal0
+BuildRequires:  xorg-x11-server
+BuildRequires:  config(Mesa)
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glu)
+BuildRequires:  pkgconfig(libpulse)
 BuildRequires:  pkgconfig(x11)
-Requires:   alsa-devel
-Requires:   fontconfig-devel
-Requires:   freetype2-devel
-Requires:   gtk2-devel
-Requires:   openal-soft-devel
-Requires:   python-Pillow
-Requires:   config(Mesa)
-Requires:   pkgconfig(gl)
-Requires:   pkgconfig(glu)
-Requires:   pkgconfig(x11)
-BuildArch:  noarch

commit python-pyglet for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-pyglet for openSUSE:Factory 
checked in at 2018-12-24 11:41:56

Comparing /work/SRC/openSUSE:Factory/python-pyglet (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyglet.new.28833 (New)


Package is "python-pyglet"

Mon Dec 24 11:41:56 2018 rev:6 rq:659588 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pyglet/python-pyglet.changes  
2018-06-29 22:26:41.074470721 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyglet.new.28833/python-pyglet.changes   
2018-12-24 11:41:57.441422047 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:52:16 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-pyglet.spec ++
--- /var/tmp/diff_new_pack.PQlux3/_old  2018-12-24 11:41:58.149421419 +0100
+++ /var/tmp/diff_new_pack.PQlux3/_new  2018-12-24 11:41:58.153421416 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,13 +23,12 @@
 Summary:Windowing and multimedia library
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://bitbucket.org/pyglet/pyglet
+URL:https://bitbucket.org/pyglet/pyglet
 Source0:
https://files.pythonhosted.org/packages/source/p/pyglet/pyglet-%{version}.tar.gz
 Source1:%{name}-rpmlintrc
 # PATCH-FIX-OPENSUSE pyglet-1.2.4-fix-image-import.patch -- fix "import Image"
 Patch0: pyglet-1.2.4-fix-image-import.patch
 BuildRequires:  %{python_module Pillow}
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  alsa-devel
 BuildRequires:  dos2unix
@@ -38,6 +37,7 @@
 BuildRequires:  freetype2-devel
 BuildRequires:  gtk2-devel
 BuildRequires:  openal-soft-devel
+BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glu)
@@ -53,7 +53,6 @@
 Requires:   pkgconfig(glu)
 Requires:   pkgconfig(x11)
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -76,15 +75,15 @@
 %python_install
 
 %{python_expand cp -Lr examples examples_%{$python_bin_suffix}
-find examples_%{$python_bin_suffix} -name "*.py" -exec sed -i 
"s|^#!/usr/bin/python$|#!%{__$python}|" {} \;
-find examples_%{$python_bin_suffix} -name "*.py" -exec sed -i 
"s|^#!/usr/bin/env python$|#!%{__$python}|" {} \;
+find examples_%{$python_bin_suffix} -name "*.py" -exec sed -i 
"s|^#!%{_bindir}/python$|#!%{__$python}|" {} \;
+find examples_%{$python_bin_suffix} -name "*.py" -exec sed -i 
"s|^#!%{_bindir}/env python$|#!%{__$python}|" {} \;
 %fdupes examples_%{$python_bin_suffix}
 %fdupes %{buildroot}%{$python_sitelib}
 }
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE NOTICE README RELEASE_NOTES
+%license LICENSE
+%doc NOTICE README RELEASE_NOTES
 %doc examples_%{python_bin_suffix}
 %{python_sitelib}/pyglet
 %{python_sitelib}/pyglet-%{version}-py*.egg-info




commit python-pyglet for openSUSE:Factory

2018-06-29 Thread root
Hello community,

here is the log from the commit of package python-pyglet for openSUSE:Factory 
checked in at 2018-06-29 22:26:39

Comparing /work/SRC/openSUSE:Factory/python-pyglet (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyglet.new (New)


Package is "python-pyglet"

Fri Jun 29 22:26:39 2018 rev:5 rq:616887 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pyglet/python-pyglet.changes  
2018-02-19 13:00:58.786051430 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyglet.new/python-pyglet.changes 
2018-06-29 22:26:41.074470721 +0200
@@ -1,0 +2,11 @@
+Thu Jun 14 13:35:30 UTC 2018 - toddrme2...@gmail.com
+
+- Update to version 1.3.2
+  * #158 Fix mouse events in mouse exclusive mode on Windows.
+  * #105 Crashes in PulseAudio;
+  * #163 Workaround for running inside Spyder;
+  * #45  Expose viewport size for use on HiDPI screens;
+  * #15  Respect keyboard layout on macOS;
+- Remove broken tests
+
+---

Old:

  pyglet-1.3.1.tar.gz

New:

  pyglet-1.3.2.tar.gz



Other differences:
--
++ python-pyglet.spec ++
--- /var/tmp/diff_new_pack.PRxzIm/_old  2018-06-29 22:26:41.558470356 +0200
+++ /var/tmp/diff_new_pack.PRxzIm/_new  2018-06-29 22:26:41.558470356 +0200
@@ -17,11 +17,8 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define X_display ":98"
-# TODO: Can't get display working with glx
-%bcond_with test
 Name:   python-pyglet
-Version:1.3.1
+Version:1.3.2
 Release:0
 Summary:Windowing and multimedia library
 License:BSD-3-Clause
@@ -45,11 +42,6 @@
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glu)
 BuildRequires:  pkgconfig(x11)
-%if %{with test}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  config(Mesa)
-BuildRequires:  xorg-x11-server
-%endif
 Requires:   alsa-devel
 Requires:   fontconfig-devel
 Requires:   freetype2-devel
@@ -90,18 +82,6 @@
 %fdupes %{buildroot}%{$python_sitelib}
 }
 
-%if %{with test}
-%check
-#
-### Launch a virtual framebuffer X server ###
-#
-export DISPLAY=%{X_display}
- vfb %{X_display} >& Xvfb.log &
-trap "kill $! || true" EXIT
-sleep 10
-%python_expand py.test-%{$python_bin_suffix}
-%endif
-
 %files %{python_files}
 %defattr(-,root,root,-)
 %doc LICENSE NOTICE README RELEASE_NOTES

++ pyglet-1.3.1.tar.gz -> pyglet-1.3.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyglet-1.3.1/PKG-INFO new/pyglet-1.3.2/PKG-INFO
--- old/pyglet-1.3.1/PKG-INFO   2018-02-05 15:04:31.0 +0100
+++ new/pyglet-1.3.2/PKG-INFO   2018-04-13 16:55:08.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pyglet
-Version: 1.3.1
+Version: 1.3.2
 Summary: Cross-platform windowing and multimedia library
 Home-page: http://pyglet.readthedocs.org/en/latest/
 Author: Alex Holkner
@@ -26,5 +26,6 @@
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Topic :: Games/Entertainment
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyglet-1.3.1/RELEASE_NOTES 
new/pyglet-1.3.2/RELEASE_NOTES
--- old/pyglet-1.3.1/RELEASE_NOTES  2018-02-05 15:03:53.0 +0100
+++ new/pyglet-1.3.2/RELEASE_NOTES  2018-04-13 16:54:45.0 +0200
@@ -1,3 +1,16 @@
+Pyglet 1.3.2
+
+Bugfix release.
+
+Bugfixes
+
+- #154 Caret issues.
+- #158 Additional fixes.
+- #167 IndexedVertexDomains with non-1 primcount will now draw correctly on 
64bit OSs.
+- #168 Compatibility with python 3.7.
+- #169 [Windows] window.flip too slow.
+- #170 NameError: name 'PUINT' is not defined.
+
 Pyglet 1.3.1
 
 Bugfix release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyglet-1.3.1/examples/text_input.py 
new/pyglet-1.3.2/examples/text_input.py
--- old/pyglet-1.3.1/examples/text_input.py 2018-02-05 15:03:40.0 
+0100
+++ new/pyglet-1.3.2/examples/text_input.py 2018-04-13 16:54:45.0 
+0200
@@ -132,6 +132,9 @@
 pyglet.app.exit()
 
 def set_focus(self, focus):
+if focus is self.focus:
+return
+
 if self.focus:
 self.focus.caret.visible = False
 self.focus.caret.mark = self.focus.caret.position = 0
@@ -139,8 +142,6 @@
 self.focus = focus
 if 

commit python-pyglet for openSUSE:Factory

2018-02-19 Thread root
Hello community,

here is the log from the commit of package python-pyglet for openSUSE:Factory 
checked in at 2018-02-19 13:00:54

Comparing /work/SRC/openSUSE:Factory/python-pyglet (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyglet.new (New)


Package is "python-pyglet"

Mon Feb 19 13:00:54 2018 rev:4 rq:577034 version:1.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pyglet/python-pyglet.changes  
2017-08-17 11:51:29.311361645 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyglet.new/python-pyglet.changes 
2018-02-19 13:00:58.786051430 +0100
@@ -1,0 +2,51 @@
+Thu Feb 15 14:01:06 UTC 2018 - toddrme2...@gmail.com
+
+- Remove "noisy" example.  It can't be used for commercial purposes
+
+---
+Wed Feb 14 16:21:19 UTC 2018 - toddrme2...@gmail.com
+
+- Update to version 1.3.1
+  + Bugfixes
+* #158 Fix mouse events in mouse exclusive mode on Windows.
+* #105 Crashes in PulseAudio;
+* #163 Workaround for running inside Spyder;
+* #45  Expose viewport size for use on HiDPI screens;
+* #15  Respect keyboard layout on macOS;
+- Update to version 1.3.0
+  * The entire codebase is now compatible with both Python 2 and Python 3 
without the need for 2to3.
+  + New features
+*  The procedural audio module is now more usable. This module allows 
synthesis of basic
+  waveforms, such as sine, square, triangle, sawtooth, and simple FM (two 
operator sine).
+  In addition, several basic amplitude envelopes are now available to 
apply to generated audio.
+  These include ADSR, linear decay, tremolo, and flat envelopes.
+  + Improvements
+* Improved font rendering for fonts with negative bearing (#99)
+* Sprites now have `scale_x` and `scale_y` attributes, allowing for aspect 
ratio changes. The 
+  existing `scale` attribute sets the overall scaling, and functions as 
before.
+* Sprites have a new `update` method which allows simultaneous changing of 
position, scale, and
+  rotation. This reduces some overhead when changing multiple attributes 
at once.
+* The pyglet.resource module now defaults to a 2048x2048 texture for it's 
internal texture atlas,
+  but will fall back to the maximum available size that the GPU can 
provide.
+* All modern joysticks and game controllers should now be detected on 
Linux and Windows.
+* Refactored and reimplemented pyglet.media. Many improvements to 
stability. Different drivers
+  should now behave more similar.
+* WM_CLASS hints are now set on Linux. On modern Linux desktop 
environments and window managers,
+  this allows for proper tracking of pyglet applications. Previously, 
pyglet apps may show up as
+  "Unknown" under the active window list in the environment. The window 
class hints are set
+  to the same name as the Window caption, but will fall back to "pyglet" 
if the Window caption
+  contains non-ascii characters.
+* Vastly improved documentation and programming guide.
+  + Bugfixes
+* Limit the minimum window size 1x1 pixel, preventing an OpenGL exception 
when resizing (#49).
+* Font module no longer leaks memory when text is changed (#66).
+* Fix crash on Python 2 when sys.argv[0] has non-ASCII characters (#74).
+* Windows: Fix crash when opening multiple windows in succession (#81).
+* Windows: Fix local font loading (#100).
+* Windows: Italic fonts no longer render parts of their neighbors.
+* Prevent memory leak from orphaned StreamingSources in long running 
applications (#103).
+* Windows: Fix kerning regression (#115)
+* Windows: Window.set_icon no longer fails when given a Texture instead of 
ImageData (#136)
+- Remove upstream-included pyglet-1.2.4-add-wmclass.patch
+
+---

Old:

  pyglet-1.2.4-add-wmclass.patch
  pyglet-1.2.4.tar.gz

New:

  pyglet-1.3.1.tar.gz



Other differences:
--
++ python-pyglet.spec ++
--- /var/tmp/diff_new_pack.XOySo6/_old  2018-02-19 13:01:00.769979881 +0100
+++ /var/tmp/diff_new_pack.XOySo6/_new  2018-02-19 13:01:00.773979738 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyglet
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,11 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define X_display ":98"
+# TODO: Can't get display working with glx
+%bcond_with test
 Name:   python-pyglet
-Version:1.2.4

commit python-pyglet for openSUSE:Factory

2017-08-17 Thread root
Hello community,

here is the log from the commit of package python-pyglet for openSUSE:Factory 
checked in at 2017-08-17 11:51:25

Comparing /work/SRC/openSUSE:Factory/python-pyglet (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyglet.new (New)


Package is "python-pyglet"

Thu Aug 17 11:51:25 2017 rev:3 rq:516624 version:1.2.4

Changes:

--- /work/SRC/openSUSE:Factory/python-pyglet/python-pyglet.changes  
2015-11-11 10:35:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyglet.new/python-pyglet.changes 
2017-08-17 11:51:29.311361645 +0200
@@ -1,0 +2,30 @@
+Sun Aug 13 15:07:20 UTC 2017 - toddrme2...@gmail.com
+
+- Remove obsolete python-imaging dependency
+
+---
+Tue Aug  8 21:33:53 UTC 2017 - jeng...@inai.de
+
+- Other OS need not be mentioned in description for an openSUSE
+  package.
+
+---
+Mon Aug  7 16:33:50 UTC 2017 - toddrme2...@gmail.com
+
+- Further fix shebangs
+- Remove pyglet-1.2.4-fix-examples.patch
+  We will fix shebangs dynamically
+
+---
+Sun Aug  6 02:32:29 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version
+
+---
+Mon Jul 31 21:13:01 UTC 2017 - kkir...@opensuse.org
+
+- Add pyglet-1.2.4-fix-image-import.patch to fix "import Image"
+- Add pyglet-1.2.4-add-wmclass.patch to add WMClass
+- Add pyglet-1.2.4-fix-examples.patch to fix python shebang
+
+---

New:

  pyglet-1.2.4-add-wmclass.patch
  pyglet-1.2.4-fix-image-import.patch



Other differences:
--
++ python-pyglet.spec ++
--- /var/tmp/diff_new_pack.Ip6VWJ/_old  2017-08-17 11:51:30.767157160 +0200
+++ /var/tmp/diff_new_pack.Ip6VWJ/_new  2017-08-17 11:51:30.779155475 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyglet
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,29 +16,31 @@
 #
 
 
-%define oname   pyglet
-
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pyglet
 Version:1.2.4
 Release:0
-Summary:Cross-platform windowing and multimedia library
+Summary:Windowing and multimedia library
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://bitbucket.org/pyglet/pyglet
-Source0:
http://pypi.python.org/packages/source/p/%{oname}/%{oname}-%{version}.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/p/pyglet/pyglet-%{version}.tar.gz
 Source1:%{name}-rpmlintrc
-%if 0%{?suse_version}
-BuildRequires:  fdupes
-%endif
+# PATCH-FIX-OPENSUSE pyglet-1.2.4-fix-image-import.patch -- fix "import Image"
+Patch0: pyglet-1.2.4-fix-image-import.patch
+# PATCH-FEATURE-UPSTREAM pyglet-1.2.4-add-wmclass.patch -- 
https://bitbucket.org/pyglet/pyglet/issues/92
+Patch1: pyglet-1.2.4-add-wmclass.patch
+BuildRequires:  %{python_module Pillow}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  alsa-devel
 BuildRequires:  dos2unix
+BuildRequires:  fdupes
 BuildRequires:  fontconfig-devel
 BuildRequires:  freetype2-devel
 BuildRequires:  gtk2-devel
 BuildRequires:  openal-soft-devel
-BuildRequires:  python-devel
-BuildRequires:  python-imaging
-BuildRequires:  python-setuptools
+BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glu)
 BuildRequires:  pkgconfig(x11)
@@ -47,42 +49,43 @@
 Requires:   freetype2-devel
 Requires:   gtk2-devel
 Requires:   openal-soft-devel
-Requires:   python-imaging
 Requires:   pkgconfig(gl)
 Requires:   pkgconfig(glu)
 Requires:   pkgconfig(x11)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
+Requires:   python-Pillow
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
-pyglet provides an object-oriented programming
-interface for developing games and other visually-rich applications
-for Windows, Mac OS X and Linux.
+pyglet provides an object-oriented programming interface for
+developing games and other visually-rich applications.
 
 %prep
-%setup -q -n %{oname}-%{version}
+%setup -q -n 

commit python-pyglet for openSUSE:Factory

2015-11-11 Thread h_root
Hello community,

here is the log from the commit of package python-pyglet for openSUSE:Factory 
checked in at 2015-11-11 10:31:39

Comparing /work/SRC/openSUSE:Factory/python-pyglet (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyglet.new (New)


Package is "python-pyglet"

Changes:

--- /work/SRC/openSUSE:Factory/python-pyglet/python-pyglet.changes  
2015-11-10 10:01:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyglet.new/python-pyglet.changes 
2015-11-11 10:35:48.0 +0100
@@ -1,0 +2,10 @@
+Thu Sep  3 08:47:16 UTC 2015 - nemy...@opensuse.org
+
+- Update to 1.2.4, announce message:
+
+ Bugfixes:
+ - X11: Fix ContextException due to negative return value (#51)
+ - X11: Fix segmentation fault in GdkPixBuf (#50)
+ - OpenAL: Fix incompatibility with Python 3 (#57)
+
+---

Old:

  pyglet-1.2.3.tar.gz

New:

  pyglet-1.2.4.tar.gz



Other differences:
--
++ python-pyglet.spec ++
--- /var/tmp/diff_new_pack.rI4Z6k/_old  2015-11-11 10:35:49.0 +0100
+++ /var/tmp/diff_new_pack.rI4Z6k/_new  2015-11-11 10:35:49.0 +0100
@@ -19,7 +19,7 @@
 %define oname   pyglet
 
 Name:   python-pyglet
-Version:1.2.3
+Version:1.2.4
 Release:0
 Summary:Cross-platform windowing and multimedia library
 License:BSD-3-Clause

++ pyglet-1.2.3.tar.gz -> pyglet-1.2.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyglet-1.2.3/PKG-INFO new/pyglet-1.2.4/PKG-INFO
--- old/pyglet-1.2.3/PKG-INFO   2015-06-20 11:09:11.0 +0200
+++ new/pyglet-1.2.4/PKG-INFO   2015-09-02 11:21:26.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pyglet
-Version: 1.2.3
+Version: 1.2.4
 Summary: Cross-platform windowing and multimedia library
 Home-page: http://pyglet.readthedocs.org/en/pyglet-1.2-maintenance/
 Author: Alex Holkner
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyglet-1.2.3/RELEASE_NOTES 
new/pyglet-1.2.4/RELEASE_NOTES
--- old/pyglet-1.2.3/RELEASE_NOTES  2015-05-30 15:33:02.0 +0200
+++ new/pyglet-1.2.4/RELEASE_NOTES  2015-08-17 21:12:32.0 +0200
@@ -1,3 +1,12 @@
+Pyglet 1.2.4
+
+Minor bugfix release.
+
+Bugfixes:
+- X11: Fix ContextException due to negative return value (#51)
+- X11: Fix segmentation fault in GdkPixBuf (#50)
+- OpenAL: Fix incompatibility with Python 3 (#57)
+
 Pyglet 1.2.3
 
 Minor bugfix release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyglet-1.2.3/pyglet/__init__.py 
new/pyglet-1.2.4/pyglet/__init__.py
--- old/pyglet-1.2.3/pyglet/__init__.py 2015-06-20 11:03:40.0 +0200
+++ new/pyglet-1.2.4/pyglet/__init__.py 2015-09-02 11:18:45.0 +0200
@@ -57,7 +57,7 @@
 #:>>> parse_version(pyglet.version) >= parse_version('1.1')
 #:True
 #:
-version = '1.2.3'
+version = '1.2.4'
 
 # Pyglet platform treats *BSD systems as Linux
 compat_platform = sys.platform
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyglet-1.2.3/pyglet/gl/xlib.py 
new/pyglet-1.2.4/pyglet/gl/xlib.py
--- old/pyglet-1.2.3/pyglet/gl/xlib.py  2015-03-07 10:18:19.0 +0100
+++ new/pyglet-1.2.4/pyglet/gl/xlib.py  2015-08-17 20:59:00.0 +0200
@@ -194,13 +194,9 @@
 self.x_display = config.canvas.display._display
 
 self.glx_context = self._create_glx_context(share)
-glx_context_id = self.glx_context.contents._opaque_struct
-if glx_context_id == glx.GLX_BAD_CONTEXT:
-raise gl.ContextException('Invalid context share')
-elif glx_context_id == glx.GLXBadFBConfig:
-raise gl.ContextException('Invalid GL configuration')
-elif glx_context_id < 0:
-raise gl.ContextException('Could not create GL context') 
+if not self.glx_context:
+# TODO: Check Xlib error generated
+raise gl.ContextException('Could not create GL context')
 
 self._have_SGI_video_sync = \
 config.glx_info.have_extension('GLX_SGI_video_sync')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyglet-1.2.3/pyglet/image/codecs/gdkpixbuf2.py 
new/pyglet-1.2.4/pyglet/image/codecs/gdkpixbuf2.py
--- old/pyglet-1.2.3/pyglet/image/codecs/gdkpixbuf2.py  2015-05-30 
12:51:01.0 +0200
+++ new/pyglet-1.2.4/pyglet/image/codecs/gdkpixbuf2.py  2015-08-17 
20:59:00.0 +0200
@@ -32,12 +32,6 @@
 # POSSIBILITY OF SUCH DAMAGE.
 # 
 
-'''
-'''
-
-__docformat__ =