File python-vsjetpack.spec of Package python-vsjetpack

#
# spec file for package python-vsjetpack
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

%define skip_python311 1
Name:           python-vsjetpack
Version:        0.8.5+78.g471c2de8
Release:        0
Summary:        Filters, wrappers, and helper functions for VapourSynth
License:        MIT
URL:            https://jaded-encoding-thaumaturgy.github.io/vs-jetpack/
Source:         vsjetpack-%{version}.tar.zst
BuildRequires:  %{python_module hatchling}
BuildRequires:  %{python_module pip}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:       vapoursynth-plugin-akarin
Requires:       vapoursynth-plugin-resize2
Recommends:     (vapoursynth-plugin-scxvid or vapoursynth-plugin-wwxd)
Recommends:     vapoursynth-plugin-BM3D
Recommends:     vapoursynth-plugin-Bwdif
Recommends:     vapoursynth-plugin-DCTFilter
Recommends:     vapoursynth-plugin-DFTTest
Recommends:     vapoursynth-plugin-Deblock
Recommends:     vapoursynth-plugin-EEDI2
Recommends:     vapoursynth-plugin-EEDI3
Recommends:     vapoursynth-plugin-FFT3DFilter
Recommends:     vapoursynth-plugin-KNLMeansCL
Recommends:     vapoursynth-plugin-TCanny
Recommends:     vapoursynth-plugin-awarpsharp2
Recommends:     vapoursynth-plugin-bestsource
Recommends:     vapoursynth-plugin-d2vsource
Recommends:     vapoursynth-plugin-descale
Recommends:     vapoursynth-plugin-fmtconv
Recommends:     vapoursynth-plugin-manipmv
Recommends:     vapoursynth-plugin-mvtools
Recommends:     vapoursynth-plugin-sangnom
Recommends:     vapoursynth-plugin-vivtc
Recommends:     vapoursynth-plugin-vs-mlrt
Recommends:     vapoursynth-plugin-vs-noise
Recommends:     vapoursynth-plugin-vszip
Recommends:     vapoursynth-plugin-wnnm
Recommends:     vapoursynth-plugin-znedi3
Recommends:     vapoursynth-plugin-zsmooth
BuildArch:      noarch
%{?python_enable_dependency_generator}
%python_subpackages

%description
Full suite of filters, wrappers, and helper functions for filtering
video using VapourSynth

`vs-jetpack` provides a collection of Python modules for filtering
video using VapourSynth. These include modules for scaling, masking,
denoising, debanding, dehaloing, deinterlacing, and antialiasing,
as well as general utility functions.

%prep
%autosetup -p1 -n vsjetpack-%{version}

%build
%pyproject_wheel

%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%files %{python_files}
%license LICENSE
%{python_sitelib}/vs*
%{python_sitelib}/vs*-*.dist-info

%changelog
openSUSE Build Service is sponsored by