|
|
ca9fc32 |
%global pypi_name qstylizer
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
%global _description %{expand:
|
|
|
ca9fc32 |
qstylizer is a python package designed to help with the construction of
|
|
|
ca9fc32 |
PyQt/PySide stylesheets.
|
|
|
ca9fc32 |
}
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
Name: python-%{pypi_name}
|
|
|
10cc7f0 |
Version: 0.2.2
|
|
|
f8994da |
Release: 6%{?dist}
|
|
|
ca9fc32 |
Summary: Qt stylesheet generation utility for PyQt/PySide
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
License: MIT
|
|
|
ca9fc32 |
URL: https://github.com/blambright/qstylizer
|
|
|
ca9fc32 |
# This URL does not seem to work
|
|
|
ca9fc32 |
#Source0: https://files.pythonhosted.org/packages/source/q/{pypi_name}/{pypi_name}-{version}.tar.gz
|
|
|
ca9fc32 |
Source0: https://github.com/blambright/qstylizer/archive/refs/tags/%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz
|
|
|
eb409e2 |
# python 3.12 complains:
|
|
|
eb409e2 |
# AttributeError: 'called_once_with' is not a valid assertion
|
|
|
eb409e2 |
Patch0: qstylizer-0.2.2-called_once_with_not_valid_assertion.patch
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
BuildArch: noarch
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
BuildRequires: python3-devel
|
|
|
ca9fc32 |
BuildRequires: pyproject-rpm-macros
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
#for tests
|
|
|
ca9fc32 |
BuildRequires: python3dist(pytest)
|
|
|
ca9fc32 |
BuildRequires: python3dist(pytest-mock)
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
%description
|
|
|
ca9fc32 |
%_description
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
%package -n python3-%{pypi_name}
|
|
|
ca9fc32 |
Summary: %{summary}
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
%description -n python3-%{pypi_name}
|
|
|
ca9fc32 |
%_description
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
%prep
|
|
|
eb409e2 |
%autosetup -n %{pypi_name}-%{version} -p1
|
|
|
ca9fc32 |
# Remove bundled egg-info
|
|
|
ca9fc32 |
rm -rf %{pypi_name}.egg-info
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
%generate_buildrequires
|
|
|
ca9fc32 |
export PBR_VERSION=%{version}
|
|
|
ca9fc32 |
%pyproject_buildrequires -r
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
%build
|
|
|
ca9fc32 |
export PBR_VERSION=%{version}
|
|
|
ca9fc32 |
%pyproject_wheel
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
%install
|
|
|
ca9fc32 |
export PBR_VERSION=%{version}
|
|
|
ca9fc32 |
%pyproject_install
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
%pyproject_save_files qstylizer
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
%check
|
|
|
ca9fc32 |
%pytest
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
|
ca9fc32 |
%license LICENSE.txt
|
|
|
ca9fc32 |
%doc README.rst
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
%changelog
|
|
|
f8994da |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-6
|
|
|
f8994da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
f8994da |
|
|
|
48cc423 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-5
|
|
|
48cc423 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
48cc423 |
|
|
|
89d7d6e |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-4
|
|
|
89d7d6e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
89d7d6e |
|
|
|
eb409e2 |
* Thu Jul 12 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.2.2-3
|
|
|
eb409e2 |
- Modify calling called_once_with which seems typo
|
|
|
eb409e2 |
|
|
|
f6c55af |
* Sat Jul 01 2023 Python Maint <python-maint@redhat.com> - 0.2.2-2
|
|
|
f6c55af |
- Rebuilt for Python 3.12
|
|
|
f6c55af |
|
|
|
10cc7f0 |
* Thu Apr 13 2023 Jonathan Wright <jonathan@almalinux.org> - 0.2.2-1
|
|
|
10cc7f0 |
- Update to 0.2.2
|
|
|
10cc7f0 |
|
|
|
629305b |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-7
|
|
|
629305b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
629305b |
|
|
|
c663bf6 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-6
|
|
|
c663bf6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
c663bf6 |
|
|
|
c196ecc |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.0-5
|
|
|
c196ecc |
- Rebuilt for Python 3.11
|
|
|
c196ecc |
|
|
|
7ab0cfe |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-4
|
|
|
7ab0cfe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
7ab0cfe |
|
|
|
11bf76f |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-3
|
|
|
11bf76f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
11bf76f |
|
|
|
ca9fc32 |
* Wed Jun 30 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.2.0-2
|
|
|
ca9fc32 |
- Use pyproject-rpm-macros
|
|
|
ca9fc32 |
- Add readme in doc
|
|
|
ca9fc32 |
|
|
|
ca9fc32 |
* Sun Jun 27 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.2.0-1
|
|
|
ca9fc32 |
- Initial package.
|