SHA256
15
0
forked from pool/python-av

Accepting request 1285335 from devel:languages:python

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1285335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-av?expand=0&rev=18
This commit is contained in:
2025-06-13 16:46:11 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 13 05:35:08 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Mar 25 01:37:52 UTC 2025 - Mia Herkt <mia@0x0.st>

View File

@@ -27,7 +27,9 @@ Source: https://files.pythonhosted.org/packages/source/a/av/av-%{version
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
@@ -47,10 +49,10 @@ Pythonic bindings for FFmpeg's libraries.
%autosetup -p1 -n av-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/pyav
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_expand rm %{buildroot}%{$python_sitearch}/av/filter/*.{c,h}
@@ -66,6 +68,6 @@ Pythonic bindings for FFmpeg's libraries.
%doc README.md
%python_alternative %{_bindir}/pyav
%{python_sitearch}/av
%{python_sitearch}/av-%{version}-py%{python_version}.egg-info
%{python_sitearch}/av-%{version}.dist-info
%changelog