%bcond_without tests %global pypi_name pyqt-feedback-flow %global _description %{expand: This software allows us to show flowing notifications in the realm of a text or a picture. Both text and pictures (raster and vector) can be customized according to users' wishes, which offers a wide variety of possibilities for providing flowing feedback.} Name: python-%{pypi_name} Version: 0.3.5 Release: 1%{?dist} Summary: Show feedback in toast-like notifications License: MIT URL: https://github.com/firefly-cpp/%{pypi_name} Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # The “python3dist(pyqt5)” dependency generated from “PyQt5” in pyproject.toml # is satisfied by python3-qt5-base, but this project uses PyQt5.QtSvg, which is # packaged along with other “non-core” modules in python3-qt5. Since this is # not represented (and currently cannot be represented) in the Python metadata, # we need explicit BuildRequires *and* Requires on the full python3-qt5. # EDIT | July 2023: switch to qt6 in the same way BuildRequires: python3-pyqt6 BuildRequires: %{py3_dist toml-adapt} BuildRequires: %{py3_dist pytest} BuildRequires: %{py3_dist pytest-qt} %description %_description %package -n python3-%{pypi_name} Summary: %{summary} # See the comment on the corresponding BuildRequires. Requires: python3-pyqt5 %description -n python3-%{pypi_name} %_description %prep %autosetup -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info toml-adapt -path pyproject.toml -a change -dep python -ver X toml-adapt -path pyproject.toml -a change -dep emoji -ver X toml-adapt -path pyproject.toml -a change -dep PyQt6 -ver X %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pyqt_feedback_flow %check %pytest -v %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md %doc CITATION.cff %changelog * Tue Dec 17 2024 Iztok Fister Jr. - 0.3.5-1 - Update to the latest release * Fri Jul 19 2024 Fedora Release Engineering - 0.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 3 2024 Iztok Fister Jr. - 0.3.4-1 - Update to the latest release * Sat Jun 08 2024 Python Maint - 0.3.3-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 1 2024 Iztok Fister Jr. - 0.3.3-1 - Update to the latest release * Mon Nov 27 2023 Iztok Fister Jr. - 0.3.1-1 - Update to the latest release * Fri Jul 21 2023 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 03 2023 Python Maint - 0.3.0-2 - Rebuilt for Python 3.12 * Sun Jul 2 2023 Iztok Fister Jr. - 0.3.0-1 - Update to the latest release * Fri Jun 16 2023 Python Maint - 0.2.0-2 - Rebuilt for Python 3.12 * Mon Mar 27 2023 Iztok Fister Jr. - 0.2.0-1 - Update to the latest release * Fri Jan 20 2023 Fedora Release Engineering - 0.1.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 0.1.6-2 - Rebuilt for Python 3.11 * Sat May 14 2022 Iztok Fister Jr. - 0.1.6-1 - Update to the latest release * Thu Mar 10 2022 Benjamin A. Beasley - 0.1.5-3 - Add explicit python3-qt5 dependency for QtSvg * Thu Mar 10 2022 Iztok Fister Jr. - 0.1.5-2 - Re-enable tests * Wed Mar 9 2022 Iztok Fister Jr. - 0.1.5-1 - Update to the latest release * Wed Feb 16 2022 Iztok Fister Jr. - 0.1.4-1 - Update to the latest release * Wed Feb 9 2022 Iztok Fister Jr. - 0.1.3-1 - Update to the latest release * Tue Feb 1 2022 Iztok Fister Jr. - 0.1.2-3 - Do not check imports * Tue Feb 1 2022 Iztok Fister Jr. - 0.1.2-2 - Fix dependency * Tue Feb 1 2022 Iztok Fister Jr. - 0.1.2-1 - Update to the latest release * Fri Jan 21 2022 Fedora Release Engineering - 0.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jan 11 2022 Iztok Fister Jr. - 0.1.1-1 - Initial package