forked from pool/python-opengl-accelerate
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opengl-accelerate?expand=0&rev=31
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 4 05:28:05 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 28 15:37:20 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Mon Apr 28 15:37:20 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -24,13 +24,14 @@ Version: %{_version}
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Acceleration for python-opengl
|
Summary: Acceleration for python-opengl
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Python
|
|
||||||
URL: http://pyopengl.sourceforge.net
|
URL: http://pyopengl.sourceforge.net
|
||||||
Source0: %{tarname}-%{_version}.tar.gz
|
Source0: %{tarname}-%{_version}.tar.gz
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module opengl >= %{version}}
|
BuildRequires: %{python_module opengl >= %{version}}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: %{python_module numpy-devel if (%python-base without python36-base)}
|
BuildRequires: %{python_module numpy-devel if (%python-base without python36-base)}
|
||||||
@@ -56,10 +57,10 @@ rmdir accelerate
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -DGLX_GLXEXT_LEGACY"
|
export CFLAGS="%{optflags} -DGLX_GLXEXT_LEGACY"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -69,6 +70,6 @@ export CFLAGS="%{optflags} -DGLX_GLXEXT_LEGACY"
|
|||||||
%license license.txt
|
%license license.txt
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{python_sitearch}/OpenGL_accelerate/
|
%{python_sitearch}/OpenGL_accelerate/
|
||||||
%{python_sitearch}/PyOpenGL_accelerate-*-py%{python_version}.egg-info
|
%{python_sitearch}/[Pp]y[Oo]pen[Gg][Ll]_accelerate-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user