File python-qt-material.spec of Package python-qt-material

#
# spec file for package python-qt-material
#
# copyright (c) 2024 munix9@googlemail.com
#

%define skip_python2 1

Name:           python-qt-material
Version:        2.14
Release:        0
Summary:        Material inspired stylesheet for PySide2, PySide6, PyQt5 and PyQt6
License:        BSD-2-Clause
URL:            https://github.com/UN-GCPDS/qt-material
Source0:        https://files.pythonhosted.org/packages/source/q/qt-material/qt-material-%{version}.tar.gz
BuildRequires:  %{python_module Jinja2}
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:       python-Jinja2
BuildArch:      noarch
%python_subpackages

%description
This is another stylesheet for PySide6, PySide2, PyQt5 and PyQt6,
which looks like Material Design (close enough).

%prep
%autosetup -n qt-material-%{version} -p1

%build
%python_build

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

%check
# nop

%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/qt_material
%{python_sitelib}/qt_material-%{version}*-info

%changelog
openSUSE Build Service is sponsored by