Name: qtile-extras Version: 0.29.0 Release: 3%{?dist} Summary: A collection of mods for Qtile License: MIT URL: https://github.com/elParaguayo/qtile-extras Source0: %{URL}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-requests BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: qtile = %{version} BuildRequires: pango-devel BuildRequires: gdk-pixbuf2-devel BuildRequires: python3-dbus-next BuildRequires: python3-gobject BuildRequires: python3-gobject-base # Test dependencies # %%pyproject_buildrequires -e %%{toxenv} BuildRequires: tox BuildRequires: python3-tox-current-env BuildRequires: python3-pytest BuildRequires: python3-pytest-cov BuildRequires: xorg-x11-server-Xvfb BuildRequires: xorg-x11-server-Xephyr BuildRequires: rsvg-pixbuf-loader BuildRequires: ImageMagick BuildRequires: pango-devel BuildRequires: python3-setuptools BuildRequires: python3-dbus-next BuildRequires: python3-xcffib BuildRequires: rsvg-pixbuf-loader # Package "python3-packaging-24.1-2.fc41.noarch" is already installed. # Package "python3-gobject-base-3.48.2-3.fc41.x86_64" is already installed. # No match for argument: python3dist(iwlib) # No match for argument: python3dist(stravalib) <= 1.1 # No match for argument: python3dist(pulsectl-asyncio) # Package "ImageMagick-1:7.1.1.39-1.fc42.x86_64" is already installed. # Package "gdk-pixbuf2-devel-2.42.12-6.fc41.x86_64" is already installed. # Package "git-2.47.0-1.fc42.x86_64" is already installed. # Package "pango-devel-1.54.0-2.fc41.x86_64" is already installed. # Package "pyproject-rpm-macros-1.15.1-1.fc42.noarch" is already installed. # Package "python3-dbus-next-0.2.3-11.fc41.noarch" is already installed. # Package "python3-devel-3.13.0-1.fc42.x86_64" is already installed. # Package "python3-gobject-3.48.2-3.fc41.x86_64" is already installed. # Package "python3-pip-24.2-2.fc42.noarch" is already installed. # Package "python3-pytest-8.3.3-3.fc42.noarch" is already installed. # Package "python3-pytest-cov-4.0.0-13.fc41.noarch" is already installed. # Package "python3-requests-2.32.3-3.fc41.noarch" is already installed. # Package "python3-setuptools-69.2.0-8.fc41.noarch" is already installed. # Package "python3-tox-current-env-0.0.12-1.fc42.noarch" is already installed. # Package "python3-wheel-1:0.43.0-4.fc41.noarch" is already installed. # Package "python3-dbus-next-0.2.3-11.fc41.noarch" is already installed. # Package "python3-packaging-24.1-2.fc41.noarch" is already installed. # Package "python3-pip-24.2-2.fc42.noarch" is already installed. # Package "python3-gobject-base-3.48.2-3.fc41.x86_64" is already installed. # Package "python3-requests-2.32.3-3.fc41.noarch" is already installed. # Package "python3-setuptools-69.2.0-8.fc41.noarch" is already installed. # Package "python3-setuptools-69.2.0-8.fc41.noarch" is already installed. # Package "python3-setuptools_scm-8.1.0-1.fc42.noarch" is already installed. # Package "tox-4.21.2-3.fc42.noarch" is already installed. # Package "python3-tox-current-env-0.0.12-1.fc42.noarch" is already installed. # Package "python3-wheel-1:0.43.0-4.fc41.noarch" is already installed. # Package "python3-xcffib-1.5.0-5.fc41.noarch" is already installed. # Package "qtile-0.29.0-1.fc42.x86_64" is already installed. # Package "rsvg-pixbuf-loader-2.59.2-1.fc42.x86_64" is already installed. # Package "tox-4.21.2-3.fc42.noarch" is already installed. # Package "xorg-x11-server-Xephyr-21.1.14-1.fc42.x86_64" is already installed. # Package "xorg-x11-server-Xvfb-21.1.14-1.fc42.x86_64" is already installed. # No match for argument: python3dist(iwlib) # No match for argument: python3dist(stravalib) <= 1.1 # No match for argument: python3dist(pulsectl-asyncio) # The tarball is missing .git directory, we need to create it during build BuildRequires: git Requires: qtile = %{version} Requires: font(roboto) %description A collection of third-party widgets, toolkits, wallpapers, and other extras for Qtile. For more, please read https://qtile-extras.readthedocs.io %generate_buildrequires # %%pyproject_buildrequires -x test %pyproject_buildrequires # %%pyproject_buildrequires -e %{toxenv} %prep %autosetup -n %{name}-%{version} git init # The stravalib isn't packaged for Fedora yet # https://pypi.org/project/stravalib/ rm -rf qtile_extras/widget/strava.py rm -rf qtile_extras/resources/stravadata rm -rf test/widget/test_strava.py # The iwlib isn't packaged for Fedora anymore # https://pypi.org/project/iwlib/ rm -rf qtile_extras/widget/network.py rm -rf test/widget/test_network.py # Remove empty fixtures file # https://github.com/elParaguayo/qtile-extras/pull/386 rm -rf qtile_extras/resources/footballscores/fixtures.py # This test requires pytest_lazyfixture which is not compatible with pytest 8 # https://github.com/elParaguayo/qtile-extras/issues/388 rm -rf test/widget/test_currentlayouticon.py # Remove shebang sed -e "\|#! /usr/bin/python3 -sP|d" -i qtile_extras/resources/visualiser/cava_draw.py sed -e "\|#!/usr/bin/env python|d" -i qtile_extras/resources/visualiser/cava_draw.py # TODO PR sed "s/python/python3/" -i test/widget/test_scriptexit.py # This test downloads an asset (github.svg) from the internet which won't work # when building in Koji # TODO PR rm -rf test/widget/test_image.py # This expect a real github token in `~/.config/qtile-extras/github.token` # rpm -rf test/widget/test_githubnotifications.py %build %pyproject_wheel %install %pyproject_install %pyproject_save_files qtile_extras rm -rf %{buildroot}%{python3_sitelib}/test %check %pytest -vv -k "not test_footballmatch_module_kickoff_time and not test_githubnotifications_reload_token" # %%tox %files -n qtile-extras -f %{pyproject_files} %license LICENSE %doc README.md %changelog * Fri Nov 01 2024 Jakub Kadlcik - 0.29.0-3 - Remove empty fixtures file - Remove shebang from the cava_draw.py file * Wed Oct 30 2024 Jakub Kadlcik - 0.29.0-2 - Small fixes to the specfile formatting - Add some build dependencies for tests - Don't depend on deprecated python3-pytest7 * Wed Oct 30 2024 Jakub Kadlcik - 0.29.0-1 - New upstream version * Wed Aug 21 2024 Jakub Kadlcik - 0.28.1-1 - New upstream version * Sat Jul 13 2024 Jakub Kadlcik - 0.27.0-1 - New upstream version * Thu May 23 2024 Jakub Kadlcik - 0.26.0-1 - New upstream version * Sun Nov 05 2023 Jakub Kadlcik - 0.23.0-1 - New upstream version * Thu Sep 22 2022 Jakub Kadlcik - 0.22.1-1 - Upgrade to the new upstream version * Wed Jan 05 2022 Jakub Kadlcik - Initial package