From ead0a11df25f91b853a17db97cd819f511f69b36880e1fa7e729e0cee9953f14 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Mon, 12 May 2025 11:43:40 +0000 Subject: [PATCH] Accepting request 1276804 from home:mcalabkova:branches:devel:languages:python - convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1276804 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyOpenAL?expand=0&rev=13 --- python-PyOpenAL.changes | 5 +++++ python-PyOpenAL.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-PyOpenAL.changes b/python-PyOpenAL.changes index d6d4db2..e550ef0 100644 --- a/python-PyOpenAL.changes +++ b/python-PyOpenAL.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 12 10:38:04 UTC 2025 - Markéta Machová + +- convert to pip-based build + ------------------------------------------------------------------- Tue Jan 21 16:44:01 UTC 2020 - Ludwig Nussel diff --git a/python-PyOpenAL.spec b/python-PyOpenAL.spec index 6dcd7a5..2a01a1d 100644 --- a/python-PyOpenAL.spec +++ b/python-PyOpenAL.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyOpenAL # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyOpenAL Version: 0.7.11a1 Release: 0 @@ -25,7 +24,9 @@ License: SUSE-Public-Domain Group: Development/Languages/Python URL: https://github.com/Zuzu-Typ/PyOpenAL Source: https://files.pythonhosted.org/packages/source/P/PyOpenAL/PyOpenAL-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -46,15 +47,16 @@ installed, OGG Vorbis, OGG Opus and FLAC files. dos2unix README.md %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README.md %license COPYING LICENSE -%{python_sitelib}/* +%{python_sitelib}/openal +%{python_sitelib}/[Pp]y[Oo]pen[Aa][Ll]-%{version}*-info %changelog