commit python-pygame for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
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 - toddrme2178@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/
participants (1)
-
root