forked from pool/python-av
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-av?expand=0&rev=35
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user