forked from pool/python-pyglet
- 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 OBS-URL: https://build.opensuse.org/request/show/702409 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyglet?expand=0&rev=22
72 lines
3.1 KiB
Diff
72 lines
3.1 KiB
Diff
Index: pyglet-1.3.2/LICENSE.pypng
|
|
===================================================================
|
|
--- /dev/null
|
|
+++ pyglet-1.3.2/LICENSE.pypng
|
|
@@ -0,0 +1,27 @@
|
|
+Copyright (C) 2006 Johann C. Rocholl <johann@browsershots.org>
|
|
+Portions Copyright (C) 2009 David Jones <drj@pobox.com>
|
|
+And probably portions Copyright (C) 2006 Nicko van Someren <nicko@nicko.org>
|
|
+
|
|
+Original concept by Johann C. Rocholl.
|
|
+
|
|
+LICENCE (MIT)
|
|
+
|
|
+Permission is hereby granted, free of charge, to any person
|
|
+obtaining a copy of this software and associated documentation files
|
|
+(the "Software"), to deal in the Software without restriction,
|
|
+including without limitation the rights to use, copy, modify, merge,
|
|
+publish, distribute, sublicense, and/or sell copies of the Software,
|
|
+and to permit persons to whom the Software is furnished to do so,
|
|
+subject to the following conditions:
|
|
+
|
|
+The above copyright notice and this permission notice shall be
|
|
+included in all copies or substantial portions of the Software.
|
|
+
|
|
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
|
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
+SOFTWARE.
|
|
Index: pyglet-1.3.2/pyglet/extlibs/png.py
|
|
===================================================================
|
|
--- pyglet-1.3.2.orig/pyglet/extlibs/png.py
|
|
+++ pyglet-1.3.2/pyglet/extlibs/png.py
|
|
@@ -41,34 +41,6 @@
|
|
# * Added Pyglet license
|
|
|
|
# png.py - PNG encoder/decoder in pure Python
|
|
-#
|
|
-# Copyright (C) 2006 Johann C. Rocholl <johann@browsershots.org>
|
|
-# Portions Copyright (C) 2009 David Jones <drj@pobox.com>
|
|
-# And probably portions Copyright (C) 2006 Nicko van Someren <nicko@nicko.org>
|
|
-#
|
|
-# Original concept by Johann C. Rocholl.
|
|
-#
|
|
-# LICENCE (MIT)
|
|
-#
|
|
-# Permission is hereby granted, free of charge, to any person
|
|
-# obtaining a copy of this software and associated documentation files
|
|
-# (the "Software"), to deal in the Software without restriction,
|
|
-# including without limitation the rights to use, copy, modify, merge,
|
|
-# publish, distribute, sublicense, and/or sell copies of the Software,
|
|
-# and to permit persons to whom the Software is furnished to do so,
|
|
-# subject to the following conditions:
|
|
-#
|
|
-# The above copyright notice and this permission notice shall be
|
|
-# included in all copies or substantial portions of the Software.
|
|
-#
|
|
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
|
-# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
-# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
-# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
-# SOFTWARE.
|
|
|
|
"""
|
|
Pure Python PNG Reader/Writer
|