# disable tests due to intermittent failures # https://github.com/altdesktop/i3ipc-python/issues/149 %bcond_with tests Name: python-i3ipc Version: 2.2.1 Release: 14%{?dist} Summary: An improved Python library to control i3wm # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: https://github.com/altdesktop/i3ipc-python BuildArch: noarch Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # https://github.com/altdesktop/i3ipc-python/pull/76 Patch0: 0001-Adapt-test-launcher-for-our-envirnoment.patch BuildRequires: python3-devel BuildRequires: python3-setuptools %if %{with tests} # Test deps BuildRequires: i3 BuildRequires: python3-pytest BuildRequires: python3-pytest-asyncio BuildRequires: python3-pytest-timeout BuildRequires: python3-xlib BuildRequires: xorg-x11-server-Xvfb %endif %global _description %{expand: i3's interprocess communication (or ipc) is the interface i3wm uses to receive commands from client applications such as i3-msg. It also features a publish/subscribe mechanism for notifying interested parties of window manager events. i3ipc-python is a Python library for controlling the window manager. This project is intended to be useful for general scripting, and for applications that interact with the window manager like status line generators, notification daemons, and pagers.} %description %{_description} %package -n python3-i3ipc Summary: %{summary} %description -n python3-i3ipc %{_description} %prep %autosetup -p1 -n i3ipc-python-%{version} sed -i '/^#!/d' i3ipc/connection.py %build %py3_build %install %py3_install %if %{with tests} %check %python3 run-tests.py --timeout 20 %endif %files -n python3-i3ipc %license LICENSE %doc README.rst %{python3_sitelib}/i3ipc/ %{python3_sitelib}/i3ipc-%{version}-py%{python3_version}.egg-info %changelog * Wed Sep 04 2024 Miroslav Suchý - 2.2.1-14 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 2.2.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.2.1-12 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.2.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.2.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.2.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 2.2.1-8 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 2.2.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.2.1-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.2.1-2 - Rebuilt for Python 3.10 * Fri Mar 19 2021 Aleksei Bavshin - 2.2.1-1 - Update to 2.2.1 (#1821073) * Wed Jan 27 2021 Fedora Release Engineering - 2.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 2.1.1-2 - Rebuilt for Python 3.9 * Wed Mar 04 2020 Aleksei Bavshin - 2.1.1-1 - Update to upstream version 2.1.1 (#1708021) - Update upstream URL - Disable tests due to failures * Wed Feb 26 2020 Aleksei Bavshin - 1.5.1-8 - Patch: 0002-remove-enum-compat-dependency (#1770839) * Thu Jan 30 2020 Fedora Release Engineering - 1.5.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.5.1-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.5.1-5 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 1.5.1-2 - Subpackage python2-i3ipc has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Tue Aug 07 2018 Michael Simacek - 1.5.1-1 - Update to upstream version 1.5.1 * Sat Jul 14 2018 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.4.0-2 - Rebuilt for Python 3.7 * Mon Feb 12 2018 Michael Simacek - 1.4.0-1 - Update to upstream version 1.4.0 - Enable tests * Fri Feb 09 2018 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Dec 06 2017 Michael Simacek - 1.3.0-2 - Fix Requires on python2-enum34 * Wed Aug 16 2017 Michael Simacek - 1.3.0-1 - Update to upstream version 1.3.0 - Enable python3 support * Thu Jul 27 2017 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Fedora Release Engineering - 1.2.0-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Sun Jun 19 2016 Michael Simacek - 1.2.0-1 - Initial packaging