diff --git a/PyOpenGL-3.1.3b2.tar.gz b/PyOpenGL-3.1.3b2.tar.gz deleted file mode 100644 index 00deb52..0000000 --- a/PyOpenGL-3.1.3b2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ac73b4c0b433be02d6a55b9ed768acf07003a92a3315ba9d62bc8f8da5f0c291 -size 1816589 diff --git a/PyOpenGL-3.1.5.tar.gz b/PyOpenGL-3.1.5.tar.gz new file mode 100644 index 0000000..daa3c34 --- /dev/null +++ b/PyOpenGL-3.1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4107ba0d0390da5766a08c242cf0cf3404c377ed293c5f6d701e457c57ba3424 +size 1835295 diff --git a/python-opengl.changes b/python-opengl.changes index c9dd6d9..d634aec 100644 --- a/python-opengl.changes +++ b/python-opengl.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 30 18:15:00 UTC 2020 - Benjamin Greiner + +- Update to 3.1.5 +- move to pytest-xvfb for tests +- the runtime requirement of Mesa-dri was not picked up automatically + ------------------------------------------------------------------- Mon Sep 9 09:30:18 UTC 2019 - Tomáš Chvátal diff --git a/python-opengl.spec b/python-opengl.spec index ec54fcf..6c6dd01 100644 --- a/python-opengl.spec +++ b/python-opengl.spec @@ -1,7 +1,7 @@ # # spec file for package python-opengl # -# 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 @@ -27,7 +27,7 @@ %endif %define tarname PyOpenGL Name: python-opengl%{psuffix} -Version: 3.1.3b2 +Version: 3.1.5 Release: 0 Summary: OpenGL bindings for Python License: BSD-3-Clause @@ -37,6 +37,7 @@ Source0: https://files.pythonhosted.org/packages/source/P/%{tarname}/%{ta BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: Mesa-dri Recommends: python-numpy Recommends: python-opengl-accelerate Recommends: python-tk @@ -47,6 +48,7 @@ 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 BuildRequires: freeglut-devel @@ -55,7 +57,6 @@ BuildRequires: libgle-devel BuildRequires: python3-numpy BuildRequires: swig BuildRequires: tk-devel -BuildRequires: xvfb-run BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(x11) @@ -88,9 +89,7 @@ find . -name '*.py' -exec touch -mat $FAKE_TIMESTAMP {} \; %check # test_buffer_api_basic is a test specific to opengl-accelerate, failing on i586 and armv7l # https://github.com/mcfletch/pyopengl/issues/29 -%{python_expand # -xvfb-run -s "-screen 0 1400x900x24 +iglx" $python -m pytest -v tests -k "not test_buffer_api_basic" -} +%pytest -v -k "not test_buffer_api_basic" tests %endif %if !%{with test}