commit python-pygame for openSUSE:Factory

2019-10-16 Thread root
Hello community,

here is the log from the commit of package python-pygame for openSUSE:Factory 
checked in at 2019-10-16 09:17:44

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


Package is "python-pygame"

Wed Oct 16 09:17:44 2019 rev:29 rq:738496 version:1.9.6

Changes:

--- /work/SRC/openSUSE:Factory/python-pygame/python-pygame.changes  
2019-06-18 14:58:21.849330571 +0200
+++ /work/SRC/openSUSE:Factory/.python-pygame.new.2352/python-pygame.changes
2019-10-16 09:18:07.291028991 +0200
@@ -0,0 +1,7 @@
+--
+Tue Oct 15 04:11:07 UTC 2019 - Steve Kowalik 
+
+- Add python-pygame-python38-import.patch from upstream to fix a build 
+  failure with Python 3.8.
+- Use autopatch macro rather than patch0, due to multiple patches.
+

New:

  python-pygame-python38-import.patch



Other differences:
--
++ python-pygame.spec ++
--- /var/tmp/diff_new_pack.mOyHGc/_old  2019-10-16 09:18:08.131026826 +0200
+++ /var/tmp/diff_new_pack.mOyHGc/_new  2019-10-16 09:18:08.135026816 +0200
@@ -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 https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -23,10 +23,11 @@
 Summary:A Python Module for Interfacing with the SDL Multimedia Library
 License:LGPL-2.1-or-later
 Group:  Development/Libraries/Python
-URL:https://github.com/pygame/pygame
+Url:https://github.com/pygame/pygame
 Source0:
https://files.pythonhosted.org/packages/source/p/pygame/pygame-%{version}.tar.gz
 # Do not test mp3 format; whe have that support disabled in SDL1
 Patch0: python-pygame-test-no-mp3.patch
+Patch1: python-pygame-python38-import.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module setuptools}
@@ -89,7 +90,7 @@
 
 %prep
 %setup -q -n pygame-%{version}
-%patch0 -p1
+%autopatch -p1
 sed -i 's/\r$//' docs/reST/ref/code_examples/draw_module_example.py
 sed -i 's/\r$//' docs/reST/ref/code_examples/joystick_calls.py
 # Fix wrong-script-interpreter

++ python-pygame-python38-import.patch ++
>From 9b5f88bca562f37d30eb7ac0f8f4ebdda68cb494 Mon Sep 17 00:00:00 2001
From: Christoph Gohlke 
Date: Wed, 14 Aug 2019 14:01:06 -0700
Subject: [PATCH] Fix test error on Python 3.8.0b3

Fix `ImportError: cannot import name 'clock' from 'time' (unknown location)`
---
 test/math_test.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/test/math_test.py b/test/math_test.py
index c0bb84eb3..f22ba5e12 100644
--- a/test/math_test.py
+++ b/test/math_test.py
@@ -2,7 +2,6 @@
 import sys
 import unittest
 import math
-from time import clock
 import platform
 
 import pygame.math



commit python-pygame for openSUSE:Factory

2019-06-18 Thread root
Hello community,

here is the log from the commit of package python-pygame for openSUSE:Factory 
checked in at 2019-06-18 14:58:11

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


Package is "python-pygame"

Tue Jun 18 14:58:11 2019 rev:28 rq:710330 version:1.9.6

Changes:

--- /work/SRC/openSUSE:Factory/python-pygame/python-pygame.changes  
2018-09-11 17:20:05.687153018 +0200
+++ /work/SRC/openSUSE:Factory/.python-pygame.new.4811/python-pygame.changes
2019-06-18 14:58:21.849330571 +0200
@@ -1,0 +2,11 @@
+Mon May 20 08:46:49 UTC 2019 - pgaj...@suse.com
+
+- version update to 1.9.6
+  * mixer thread deadlock issue when controlling it from different
+threads.
+  * pygame.version.vernum now has major, minor, and patch attributes.
+- added patches
+  Do not test mp3 format.
+  + python-pygame-test-no-mp3.patch
+
+---

Old:

  pygame-1.9.4.tar.gz

New:

  pygame-1.9.6.tar.gz
  python-pygame-test-no-mp3.patch



Other differences:
--
++ python-pygame.spec ++
--- /var/tmp/diff_new_pack.IfBTQJ/_old  2019-06-18 14:58:22.429330238 +0200
+++ /var/tmp/diff_new_pack.IfBTQJ/_new  2019-06-18 14:58:22.40236 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pygame
 #
-# 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
@@ -12,19 +12,21 @@
 # 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/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pygame
-Version:1.9.4
+Version:1.9.6
 Release:0
 Summary:A Python Module for Interfacing with the SDL Multimedia Library
 License:LGPL-2.1-or-later
 Group:  Development/Libraries/Python
 URL:https://github.com/pygame/pygame
 Source0:
https://files.pythonhosted.org/packages/source/p/pygame/pygame-%{version}.tar.gz
+# Do not test mp3 format; whe have that support disabled in SDL1
+Patch0: python-pygame-test-no-mp3.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module setuptools}
@@ -87,6 +89,7 @@
 
 %prep
 %setup -q -n pygame-%{version}
+%patch0 -p1
 sed -i 's/\r$//' docs/reST/ref/code_examples/draw_module_example.py
 sed -i 's/\r$//' docs/reST/ref/code_examples/joystick_calls.py
 # Fix wrong-script-interpreter
@@ -126,13 +129,13 @@
 }
 
 %files %{python_files}
-%doc WHATSNEW readme.html README.rst
-%license LGPL
+%doc README.rst
+%license docs/LGPL
 %{python_sitearch}/pygame/
 %{python_sitearch}/pygame-%{version}-py*.egg-info
 
 %files %{python_files devel}
-%license LGPL
+%license docs/LGPL
 %{python_sysconfig_var INCLUDEPY}/pygame/
 
 %files -n %{name}-doc

++ pygame-1.9.4.tar.gz -> pygame-1.9.6.tar.gz ++
 338712 lines of diff (skipped)

++ python-pygame-test-no-mp3.patch ++
Index: pygame-1.9.6/test/mixer_music_test.py
===
--- pygame-1.9.6.orig/test/mixer_music_test.py  2019-04-25 08:14:48.0 
+0200
+++ pygame-1.9.6/test/mixer_music_test.py   2019-05-20 10:36:59.969907416 
+0200
@@ -33,7 +33,7 @@ class MixerMusicModuleTest(unittest.Test
   # Load a music file for playback
 
 data_fname = example_path('data')
-formats = ['mp3', 'ogg', 'wav']
+formats = ['ogg', 'wav']
 
 for f in formats:
 path = os.path.join(data_fname, 'house_lo.%s' % f)



commit python-pygame for openSUSE:Factory

2018-09-11 Thread root
Hello community,

here is the log from the commit of package python-pygame for openSUSE:Factory 
checked in at 2018-09-11 17:19:52

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


Package is "python-pygame"

Tue Sep 11 17:19:52 2018 rev:27 rq:634783 version:1.9.4

Changes:

--- /work/SRC/openSUSE:Factory/python-pygame/python-pygame.changes  
2018-08-24 17:00:05.421785944 +0200
+++ /work/SRC/openSUSE:Factory/.python-pygame.new/python-pygame.changes 
2018-09-11 17:20:05.687153018 +0200
@@ -1,0 +2,5 @@
+Mon Sep  3 14:42:31 UTC 2018 - Matěj Cepl 
+
+- Clean up SPEC, avoid warnings.
+
+---



Other differences:
--
++ python-pygame.spec ++
--- /var/tmp/diff_new_pack.HbPIYX/_old  2018-09-11 17:20:07.239150647 +0200
+++ /var/tmp/diff_new_pack.HbPIYX/_new  2018-09-11 17:20:07.243150640 +0200
@@ -16,32 +16,23 @@
 #
 
 
-
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pygame
 Version:1.9.4
 Release:0
-Source0:
https://files.pythonhosted.org/packages/source/P/Pygame/pygame-%{version}.tar.gz
 Summary:A Python Module for Interfacing with the SDL Multimedia Library
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  Development/Libraries/Python
-Url:https://github.com/pygame/pygame
+URL:https://github.com/pygame/pygame
+Source0:
https://files.pythonhosted.org/packages/source/p/pygame/pygame-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  config(fluid-soundfont-gm)
-BuildRequires:  pkgconfig(SDL_image)
-BuildRequires:  pkgconfig(SDL_mixer)
-BuildRequires:  pkgconfig(SDL_ttf)
-BuildRequires:  pkgconfig(freetype2)
-BuildRequires:  pkgconfig(libjpeg)
-BuildRequires:  pkgconfig(libpng)
-BuildRequires:  pkgconfig(sdl)
-BuildRequires:  pkgconfig(x11)
 BuildRequires:  fdupes
 BuildRequires:  fontconfig
 BuildRequires:  libtiff-devel
 BuildRequires:  libv4l-devel >= 0.8.4
+BuildRequires:  pkgconfig
 BuildRequires:  portmidi-devel
 BuildRequires:  python-rpm-macros
 BuildRequires:  xorg-x11
@@ -51,13 +42,21 @@
 BuildRequires:  xorg-x11-fonts-75dpi
 BuildRequires:  xorg-x11-fonts-core
 BuildRequires:  xorg-x11-fonts-cyrillic
+BuildRequires:  config(fluid-soundfont-gm)
+BuildRequires:  pkgconfig(SDL_image)
+BuildRequires:  pkgconfig(SDL_mixer)
+BuildRequires:  pkgconfig(SDL_ttf)
+BuildRequires:  pkgconfig(freetype2)
+BuildRequires:  pkgconfig(libjpeg)
+BuildRequires:  pkgconfig(libpng)
+BuildRequires:  pkgconfig(sdl)
+BuildRequires:  pkgconfig(x11)
 Requires:   fontconfig
 Requires:   python-numpy
 %ifpython2
 Provides:   pygame = %{version}
 Obsoletes:  pygame < %{version}
 %endif
-
 %python_subpackages
 
 %description
@@ -91,11 +90,9 @@
 sed -i 's/\r$//' docs/reST/ref/code_examples/draw_module_example.py
 sed -i 's/\r$//' docs/reST/ref/code_examples/joystick_calls.py
 # Fix wrong-script-interpreter
-find examples -name '*.py' -exec sed -i "s|^#!/usr/bin/env 
python$|#!%{__python3}|" {} \;
-find examples -name '*.py' -exec sed -i "s|^#! /usr/bin/env 
python$|#!%{__python3}|" {} \;
+find examples -name '*.py' -exec sed -i "s|^#!%{_bindir}/env 
python$|#!%{_bindir}/python3|" {} \;
+find examples -name '*.py' -exec sed -i "s|^#! %{_bindir}/env 
python$|#!%{_bindir}/python3|" {} \;
 chmod a+x examples/*.py
-%fdupes docs
-%fdupes examples
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -105,7 +102,7 @@
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 %python_install
 %{python_expand pushd %{buildroot}%{$python_sitearch}
-sed -i "s|^#!/usr/bin/env python$|#!%{__python3}|" 
pygame/tests/test_utils/png.py
+sed -i "s|^#!%{_bindir}/env python$|#!%{_bindir}/python3|" 
pygame/tests/test_utils/png.py
 chmod a+x pygame/tests/test_utils/png.py
 chmod a+x pygame/examples/macosx/aliens_app_example/aliens.py
 chmod a+x pygame/examples/*.py
@@ -114,9 +111,11 @@
 chmod a-x pygame/examples/freetype_misc.py
 $python -m compileall -d %{$python_sitearch} pygame/tests/test_utils/
 $python -O -m compileall -d %{$python_sitearch} pygame/tests/test_utils/
-%fdupes .
+%fdupes %{buildroot}%{$python_sitearch}
 popd
 }
+%fdupes docs
+%fdupes examples
 
 %check
 export SDL_VIDEODRIVER=dummy




commit python-pygame for openSUSE:Factory

2018-08-24 Thread root
Hello community,

here is the log from the commit of package python-pygame for openSUSE:Factory 
checked in at 2018-08-24 17:00:01

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


Package is "python-pygame"

Fri Aug 24 17:00:01 2018 rev:26 rq:627932 version:1.9.4

Changes:

--- /work/SRC/openSUSE:Factory/python-pygame/python-pygame.changes  
2018-06-19 11:59:25.807462876 +0200
+++ /work/SRC/openSUSE:Factory/.python-pygame.new/python-pygame.changes 
2018-08-24 17:00:05.421785944 +0200
@@ -1,0 +2,12 @@
+Tue Aug  7 15:32:41 UTC 2018 - toddrme2...@gmail.com
+
+- Update to 1.9.4
+  * python 3.7 support.
+  * beta pypy support.
+  * pygame.draw fixes
+  * pygame.math is not experimental anymore. Speedups and bugfixes.
+  * Debian, Mac homebrew, mac virtualenv, manylinux and other platform fixes.
+  * documentation fixes, jedi support for type ahead in editors like VSCode 
and VIM.
+  * Surface.blits for blitting many surfaces at once more quickly.
+
+---

Old:

  pygame-1.9.3.tar.gz

New:

  pygame-1.9.4.tar.gz



Other differences:
--
++ python-pygame.spec ++
--- /var/tmp/diff_new_pack.sKYhid/_old  2018-08-24 17:00:06.601787341 +0200
+++ /var/tmp/diff_new_pack.sKYhid/_new  2018-08-24 17:00:06.605787346 +0200
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pygame
-Version:1.9.3
+Version:1.9.4
 Release:0
 Source0:
https://files.pythonhosted.org/packages/source/P/Pygame/pygame-%{version}.tar.gz
 Summary:A Python Module for Interfacing with the SDL Multimedia Library
@@ -127,7 +127,7 @@
 }
 
 %files %{python_files}
-%doc WHATSNEW readme.html readme.rst
+%doc WHATSNEW readme.html README.rst
 %license LGPL
 %{python_sitearch}/pygame/
 %{python_sitearch}/pygame-%{version}-py*.egg-info
@@ -137,7 +137,6 @@
 %{python_sysconfig_var INCLUDEPY}/pygame/
 
 %files -n %{name}-doc
-%license LGPL
 %doc docs/
 %doc examples/
 

++ pygame-1.9.3.tar.gz -> pygame-1.9.4.tar.gz ++
 84581 lines of diff (skipped)




commit python-pygame for openSUSE:Factory

2018-06-19 Thread root
Hello community,

here is the log from the commit of package python-pygame for openSUSE:Factory 
checked in at 2018-06-19 11:59:17

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


Package is "python-pygame"

Tue Jun 19 11:59:17 2018 rev:25 rq:616583 version:1.9.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pygame/python-pygame.changes  
2017-09-05 15:14:34.706649540 +0200
+++ /work/SRC/openSUSE:Factory/.python-pygame.new/python-pygame.changes 
2018-06-19 11:59:25.807462876 +0200
@@ -1,0 +2,5 @@
+Wed Jun 13 14:54:51 UTC 2018 - toddrme2...@gmail.com
+
+- Get tests working.
+
+---



Other differences:
--
++ python-pygame.spec ++
--- /var/tmp/diff_new_pack.inAXhS/_old  2018-06-19 11:59:26.411440450 +0200
+++ /var/tmp/diff_new_pack.inAXhS/_new  2018-06-19 11:59:26.415440301 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pygame
 #
-# 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
@@ -16,8 +16,6 @@
 #
 
 
-# There are font issues in the test environment
-%bcond_with test
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pygame
@@ -27,22 +25,32 @@
 Summary:A Python Module for Interfacing with the SDL Multimedia Library
 License:LGPL-2.1+
 Group:  Development/Libraries/Python
-Url:http://www.pygame.org/
+Url:https://github.com/pygame/pygame
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  SDL_image-devel
-BuildRequires:  SDL_mixer-devel
-BuildRequires:  SDL_ttf-devel
+BuildRequires:  config(fluid-soundfont-gm)
+BuildRequires:  pkgconfig(SDL_image)
+BuildRequires:  pkgconfig(SDL_mixer)
+BuildRequires:  pkgconfig(SDL_ttf)
+BuildRequires:  pkgconfig(freetype2)
+BuildRequires:  pkgconfig(libjpeg)
+BuildRequires:  pkgconfig(libpng)
+BuildRequires:  pkgconfig(sdl)
+BuildRequires:  pkgconfig(x11)
 BuildRequires:  fdupes
 BuildRequires:  fontconfig
-BuildRequires:  freetype2-devel
-BuildRequires:  libjpeg-devel
-BuildRequires:  libpng-devel
+BuildRequires:  libtiff-devel
 BuildRequires:  libv4l-devel >= 0.8.4
 BuildRequires:  portmidi-devel
 BuildRequires:  python-rpm-macros
 BuildRequires:  xorg-x11
+BuildRequires:  xorg-x11-devel
+BuildRequires:  xorg-x11-fonts
+BuildRequires:  xorg-x11-fonts-100dpi
+BuildRequires:  xorg-x11-fonts-75dpi
+BuildRequires:  xorg-x11-fonts-core
+BuildRequires:  xorg-x11-fonts-cyrillic
 Requires:   fontconfig
 Requires:   python-numpy
 %ifpython2
@@ -94,6 +102,7 @@
 %python_build
 
 %install
+export CFLAGS="%{optflags} -fno-strict-aliasing"
 %python_install
 %{python_expand pushd %{buildroot}%{$python_sitearch}
 sed -i "s|^#!/usr/bin/env python$|#!%{__python3}|" 
pygame/tests/test_utils/png.py
@@ -109,29 +118,26 @@
 popd
 }
 
-%if %{with test}
 %check
 export SDL_VIDEODRIVER=dummy
 export SDL_AUDIODRIVER=disk
+export LANG=en_US.UTF-8
 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
 $python -m pygame.tests.__main__ --exclude opengl --time_out 300
 }
-%endif
 
 %files %{python_files}
-%defattr(-,root,root)
-%doc LGPL WHATSNEW readme.html readme.rst
+%doc WHATSNEW readme.html readme.rst
+%license LGPL
 %{python_sitearch}/pygame/
 %{python_sitearch}/pygame-%{version}-py*.egg-info
 
 %files %{python_files devel}
-%defattr(-,root,root)
-%doc LGPL
+%license LGPL
 %{python_sysconfig_var INCLUDEPY}/pygame/
 
 %files -n %{name}-doc
-%defattr(-,root,root)
-%doc LGPL
+%license LGPL
 %doc docs/
 %doc examples/
 




commit python-pygame for openSUSE:Factory

2017-09-05 Thread root
Hello community,

here is the log from the commit of package python-pygame for openSUSE:Factory 
checked in at 2017-09-05 15:14:30

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


Package is "python-pygame"

Tue Sep  5 15:14:30 2017 rev:24 rq:517638 version:1.9.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pygame/python-pygame.changes  
2014-10-20 07:27:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pygame.new/python-pygame.changes 
2017-09-05 15:14:34.706649540 +0200
@@ -1,0 +2,18 @@
+Thu Aug 17 22:13:05 UTC 2017 - jeng...@inai.de
+
+- Fix RPM group.
+
+---
+Tue Aug  8 20:33:56 UTC 2017 - toddrme2...@gmail.com
+
+- Update to version 1.9.3
+  * This is a bugfix release which fixes a couple of key issues
+which came up with 1.9.2
+- Update to version 1.9.2
+- Implement single-spec version
+- Fix source URL
+- Fix shebangs
+- Remove pygame-v4l-2.6.38.patch
+  No longer needed
+
+---

Old:

  README.SUSE
  pygame-1.9.1release.tar.gz
  pygame-v4l-2.6.38.patch
  python-pygame.rpmlintrc

New:

  pygame-1.9.3.tar.gz



Other differences:
--
++ python-pygame.spec ++
--- /var/tmp/diff_new_pack.hOJXuE/_old  2017-09-05 15:14:36.150446596 +0200
+++ /var/tmp/diff_new_pack.hOJXuE/_new  2017-09-05 15:14:36.154446034 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pygame
 #
-# Copyright (c) 2014 SUSE LINUX Products 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,41 +16,41 @@
 #
 
 
+# There are font issues in the test environment
+%bcond_with test
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pygame
-Version:1.9.1
+Version:1.9.3
 Release:0
-Source: http://pygame.org/ftp/pygame-%{version}release.tar.gz
-Source1:README.SUSE
-Source2:python-pygame.rpmlintrc
-# PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
-Patch1: pygame-v4l-2.6.38.patch
+Source0:
https://files.pythonhosted.org/packages/source/P/Pygame/pygame-%{version}.tar.gz
 Summary:A Python Module for Interfacing with the SDL Multimedia Library
 License:LGPL-2.1+
 Group:  Development/Libraries/Python
 Url:http://www.pygame.org/
-Provides:   pygame = %{version}
-Obsoletes:  pygame < %{version}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  SDL_image-devel
 BuildRequires:  SDL_mixer-devel
 BuildRequires:  SDL_ttf-devel
 BuildRequires:  fdupes
+BuildRequires:  fontconfig
+BuildRequires:  freetype2-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
-BuildRequires:  python-devel
-BuildRequires:  xorg-x11
-%if 0%{?suse_version} > 1110
-BuildRequires:  python-numpy
-%else
-BuildRequires:  python-numeric
-%endif
-%if 0%{?suse_version} >= 1210
 BuildRequires:  libv4l-devel >= 0.8.4
-%endif
-%if 0%{?suse_version} >= 1320
 BuildRequires:  portmidi-devel
+BuildRequires:  python-rpm-macros
+BuildRequires:  xorg-x11
+Requires:   fontconfig
+Requires:   python-numpy
+%ifpython2
+Provides:   pygame = %{version}
+Obsoletes:  pygame < %{version}
 %endif
-%{py_requires}
+
+%python_subpackages
 
 %description
 Pygame is a Python wrapper module for the SDL multimedia library. It
@@ -60,16 +60,6 @@
 Numerical Python extension. Pygame is the successor to the pySDL
 wrapper project, written by Mark Baker.
 
-%package doc
-Summary:Pygame documentation and example programs
-Group:  Development/Libraries/Python
-Provides:   pygame-doc > 1.5.5
-Obsoletes:  pygame-doc <= 1.5.5
-Requires:   python-pygame = %{version}
-
-%description doc
-This package contains documentation and example programs for Pygame.
-
 %package devel
 Summary:Pygame development package
 Group:  Development/Libraries/Python
@@ -78,41 +68,71 @@
 %description devel
 This package contains the header files for developers of Pygame.
 
+%package -n %{name}-doc
+Summary:Pygame documentation and example programs
+Group:  Documentation/Other
+Provides:   pygame-doc = %{version}
+Obsoletes:  pygame-doc < %{version}
+Provides:   %{python_module pygame-doc = %{version}}
+
+%description -n %{name}-doc
+This package contai

commit python-pygame for openSUSE:Factory

2014-10-19 Thread h_root
Hello community,

here is the log from the commit of package python-pygame for openSUSE:Factory 
checked in at 2014-10-20 07:27:16

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


Package is "python-pygame"

Changes:

--- /work/SRC/openSUSE:Factory/python-pygame/python-pygame.changes  
2011-09-23 12:43:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pygame.new/python-pygame.changes 
2014-10-20 07:27:18.0 +0200
@@ -1,0 +2,12 @@
+Sun Oct 12 09:49:51 UTC 2014 - mailaen...@opensuse.org
+
+- fixed rpmlint error devel-file-in-non-devel-package
+- patch1 could need a tag
+- fixed rpmlint warning self-obsoletion pygame-doc
+- ignore missing executable flags in the -docs package
+- added missing build requires for portmidi
+- fixed rpmlint warning files-duplicate with fdupes
+- added rpmlintrc to whitelist the warnings about sample code
+- avoid redundancy in the %description
+
+---

New:

  python-pygame.rpmlintrc



Other differences:
--
++ python-pygame.spec ++
--- /var/tmp/diff_new_pack.XwWD37/_old  2014-10-20 07:27:18.0 +0200
+++ /var/tmp/diff_new_pack.XwWD37/_new  2014-10-20 07:27:18.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pygame
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products 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,12 +16,13 @@
 #
 
 
-
 Name:   python-pygame
 Version:1.9.1
-Release:5
+Release:0
 Source: http://pygame.org/ftp/pygame-%{version}release.tar.gz
 Source1:README.SUSE
+Source2:python-pygame.rpmlintrc
+# PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch1: pygame-v4l-2.6.38.patch
 Summary:A Python Module for Interfacing with the SDL Multimedia Library
 License:LGPL-2.1+
@@ -33,6 +34,7 @@
 BuildRequires:  SDL_image-devel
 BuildRequires:  SDL_mixer-devel
 BuildRequires:  SDL_ttf-devel
+BuildRequires:  fdupes
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
 BuildRequires:  python-devel
@@ -45,6 +47,9 @@
 %if 0%{?suse_version} >= 1210
 BuildRequires:  libv4l-devel >= 0.8.4
 %endif
+%if 0%{?suse_version} >= 1320
+BuildRequires:  portmidi-devel
+%endif
 %{py_requires}
 
 %description
@@ -56,20 +61,22 @@
 wrapper project, written by Mark Baker.
 
 %package doc
-License:LGPL-2.1+
 Summary:Pygame documentation and example programs
 Group:  Development/Libraries/Python
-Provides:   pygame-doc
-Obsoletes:  pygame-doc
+Provides:   pygame-doc > 1.5.5
+Obsoletes:  pygame-doc <= 1.5.5
 Requires:   python-pygame = %{version}
 
 %description doc
-Pygame is a Python wrapper module for the SDL multimedia library. It
-contains python functions and classes that will allow you to use SDL's
-support for playing cdroms, audio and video output, and keyboard, mouse
-and joystick input. pygame also includes support for the Numerical
-Python extension. pygame is the successor to the pySDL wrapper project,
-written by Mark Baker.
+This package contains documentation and example programs for Pygame.
+
+%package devel
+Summary:Pygame development package
+Group:  Development/Libraries/Python
+Requires:   python-pygame = %{version}
+
+%description devel
+This package contains the header files for developers of Pygame.
 
 %prep
 %setup -q -n pygame-%{version}release
@@ -83,25 +90,29 @@
 python setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT 
--record-rpm=INSTALLED_FILES
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 #install doc
-install -d $RPM_BUILD_ROOT%{_docdir}/python-pygame
-install -m 644 WHATSNEW README.txt %{SOURCE1} 
$RPM_BUILD_ROOT%{_docdir}/python-pygame
-cp -r docs/ examples/ $RPM_BUILD_ROOT%{_docdir}/python-pygame
+install -d %{buildroot}%{_docdir}/python-pygame
+install -m 644 WHATSNEW README.txt %{SOURCE1} 
%{buildroot}%{_docdir}/python-pygame
+cp -r docs/ examples/ %{buildroot}%{_docdir}/python-pygame
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%fdupes -s %{buildroot}%{_prefix}
 
-%files -f INSTALLED_FILES
+%files
 %defattr(644,root,root,755)
 %doc %dir %{_docdir}/python-pygame
 %doc %{_docdir}/python-pygame/WHATSNEW
 %doc %{_docdir}/python-pygame/README.txt
 %doc %{_docdir}/python-pygame/README.SUSE
+%{python_sitearch}/*
 
 %files doc
 %defattr(644,root,root,755)
 %doc %{_docdir}/python-pygame/docs
 %doc %{_docdir}/p

commit python-pygame for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package python-pygame for openSUSE:Factory 
checked in at 2011-12-06 18:57:12

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


Package is "python-pygame", Maintainer is "jmate...@suse.com"

Changes:




Other differences:
--
++ python-pygame.spec ++
--- /var/tmp/diff_new_pack.3hBCZZ/_old  2011-12-06 19:29:55.0 +0100
+++ /var/tmp/diff_new_pack.3hBCZZ/_new  2011-12-06 19:29:55.0 +0100
@@ -24,7 +24,7 @@
 Source1:README.SUSE
 Patch1: pygame-v4l-2.6.38.patch
 Summary:A Python Module for Interfacing with the SDL Multimedia Library
-License:LGPLv2.1+
+License:LGPL-2.1+
 Group:  Development/Libraries/Python
 Url:http://www.pygame.org/
 Provides:   pygame = %{version}
@@ -56,7 +56,7 @@
 wrapper project, written by Mark Baker.
 
 %package doc
-License:LGPLv2.1+
+License:LGPL-2.1+
 Summary:Pygame documentation and example programs
 Group:  Development/Libraries/Python
 Provides:   pygame-doc

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pygame for openSUSE:Factory

2011-08-04 Thread h_root

Hello community,

here is the log from the commit of package python-pygame for openSUSE:Factory
checked in at Thu Aug 4 09:54:04 CEST 2011.




--- python-pygame/python-pygame.changes 2010-06-08 14:53:10.0 +0200
+++ /mounts/work_src_done/STABLE/python-pygame/python-pygame.changes
2011-07-07 13:04:19.0 +0200
@@ -1,0 +2,5 @@
+Thu Jul  7 11:01:11 UTC 2011 - idon...@novell.com
+
+- Add pygame-v4l-2.6.38.patch: use new v4l interface 
+
+---

calling whatdependson for head-i586


New:

  pygame-v4l-2.6.38.patch



Other differences:
--
++ python-pygame.spec ++
--- /var/tmp/diff_new_pack.Lp4Wtk/_old  2011-08-04 09:47:00.0 +0200
+++ /var/tmp/diff_new_pack.Lp4Wtk/_new  2011-08-04 09:47:00.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-pygame (Version 1.9.1)
+# spec file for package python-pygame
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,9 +19,10 @@
 
 Name:   python-pygame
 Version:1.9.1
-Release:1
+Release:5
 Source: http://pygame.org/ftp/pygame-%{version}release.tar.gz
 Source1:README.SUSE
+Patch1: pygame-v4l-2.6.38.patch
 Summary:A Python Module for Interfacing with the SDL Multimedia Library
 License:LGPLv2.1+
 Group:  Development/Libraries/Python
@@ -41,6 +42,9 @@
 %else
 BuildRequires:  python-numeric
 %endif
+%if 0%{?suse_version} >= 1210
+BuildRequires:  libv4l-devel >= 0.8.4
+%endif
 %{py_requires}
 
 %description
@@ -69,6 +73,9 @@
 
 %prep
 %setup -q -n pygame-%{version}release
+%if 0%{?suse_version} >= 1210
+%patch1
+%endif
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing"

++ pygame-v4l-2.6.38.patch ++
--- src/camera.h2008-10-10 04:37:10.0 +0200
+++ src/camera.h2011-07-07 13:00:43.880088827 +0200
@@ -39,7 +39,7 @@
 
 #include   /* for videodev2.h */
 
-#include 
+#include 
 #include 
 #endif
 





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org