Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-opengl for openSUSE:Factory checked in at 2021-03-25 14:52:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-opengl (Old) and /work/SRC/openSUSE:Factory/.python-opengl.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-opengl" Thu Mar 25 14:52:01 2021 rev:27 rq:880831 version:3.1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-opengl/python-opengl.changes 2020-05-02 22:17:03.680501347 +0200 +++ /work/SRC/openSUSE:Factory/.python-opengl.new.2401/python-opengl.changes 2021-03-25 14:52:02.640468301 +0100 @@ -1,0 +2,6 @@ +Tue Mar 23 21:49:55 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Don't test with pygame for python36. Pygame requires NumPy which + is not available for python36 on TW. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-opengl.spec ++++++ --- /var/tmp/diff_new_pack.LJeJHh/_old 2021-03-25 14:52:03.320468992 +0100 +++ /var/tmp/diff_new_pack.LJeJHh/_new 2021-03-25 14:52:03.324468995 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-opengl # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -42,12 +42,12 @@ Recommends: python-opengl-accelerate Recommends: python-tk Recommends: tk >= 8.1 +Provides: python-PyOpenGL = %{version}-%{release} BuildArch: noarch %if %{with test} BuildRequires: %{python_module Pillow} BuildRequires: %{python_module opengl-accelerate} BuildRequires: %{python_module psutil} -BuildRequires: %{python_module pygame} BuildRequires: %{python_module pytest-xvfb} BuildRequires: %{python_module pytest} BuildRequires: Mesa-dri @@ -57,6 +57,7 @@ BuildRequires: python3-numpy BuildRequires: swig BuildRequires: tk-devel +BuildRequires: %{python_module pygame if (%python-base without python36-base)} BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(x11) @@ -87,9 +88,9 @@ %if %{with test} %check -# test_buffer_api_basic is a test specific to opengl-accelerate, failing on i586 and armv7l -# https://github.com/mcfletch/pyopengl/issues/29 -%pytest -v -k "not test_buffer_api_basic" tests +# don't test anything on python36: all tests need pygame, which is not available +python36_flags="--version" +%pytest ${$python_flags} tests %endif %if !%{with test}