|
|
0e4619b |
# disable tests due to intermittent failures
|
|
|
0e4619b |
# https://github.com/altdesktop/i3ipc-python/issues/149
|
|
|
0e4619b |
%bcond_with tests
|
|
|
0e4619b |
|
|
|
8983507 |
Name: python-i3ipc
|
|
|
a73d157 |
Version: 2.2.1
|
|
|
8b065fc |
Release: 7%{?dist}
|
|
|
8983507 |
Summary: An improved Python library to control i3wm
|
|
|
8983507 |
License: BSD
|
|
|
0e4619b |
URL: https://github.com/altdesktop/i3ipc-python
|
|
|
8983507 |
BuildArch: noarch
|
|
|
8983507 |
|
|
|
0e4619b |
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
8983507 |
|
|
|
0e4619b |
# https://github.com/altdesktop/i3ipc-python/pull/76
|
|
|
129880e |
Patch0: 0001-Adapt-test-launcher-for-our-envirnoment.patch
|
|
|
129880e |
|
|
|
8983507 |
BuildRequires: python3-devel
|
|
|
a73d157 |
BuildRequires: python3-setuptools
|
|
|
0e4619b |
%if %{with tests}
|
|
|
129880e |
# Test deps
|
|
|
129880e |
BuildRequires: i3
|
|
|
129880e |
BuildRequires: python3-pytest
|
|
|
0e4619b |
BuildRequires: python3-pytest-asyncio
|
|
|
0e4619b |
BuildRequires: python3-pytest-timeout
|
|
|
0e4619b |
BuildRequires: python3-xlib
|
|
|
129880e |
BuildRequires: xorg-x11-server-Xvfb
|
|
|
0e4619b |
%endif
|
|
|
8983507 |
|
|
|
a73d157 |
%global _description %{expand:
|
|
|
a73d157 |
i3's interprocess communication (or ipc) is the interface i3wm uses to receive
|
|
|
a73d157 |
commands from client applications such as i3-msg. It also features
|
|
|
a73d157 |
a publish/subscribe mechanism for notifying interested parties of window
|
|
|
a73d157 |
manager events.
|
|
|
8983507 |
|
|
|
a73d157 |
i3ipc-python is a Python library for controlling the window manager. This
|
|
|
a73d157 |
project is intended to be useful for general scripting, and for applications
|
|
|
a73d157 |
that interact with the window manager like status line generators, notification
|
|
|
a73d157 |
daemons, and pagers.}
|
|
|
a73d157 |
|
|
|
a73d157 |
%description %{_description}
|
|
|
8983507 |
|
|
|
8983507 |
%package -n python3-i3ipc
|
|
|
8983507 |
Summary: %{summary}
|
|
|
8983507 |
|
|
|
a73d157 |
%description -n python3-i3ipc %{_description}
|
|
|
8983507 |
|
|
|
8983507 |
%prep
|
|
|
02a9604 |
%autosetup -p1 -n i3ipc-python-%{version}
|
|
|
129880e |
|
|
|
a73d157 |
sed -i '/^#!/d' i3ipc/connection.py
|
|
|
a73d157 |
|
|
|
8983507 |
%build
|
|
|
8983507 |
%py3_build
|
|
|
8983507 |
|
|
|
8983507 |
%install
|
|
|
8983507 |
%py3_install
|
|
|
8983507 |
|
|
|
0e4619b |
%if %{with tests}
|
|
|
129880e |
%check
|
|
|
a73d157 |
%python3 run-tests.py --timeout 20
|
|
|
0e4619b |
%endif
|
|
|
8983507 |
|
|
|
8983507 |
%files -n python3-i3ipc
|
|
|
8983507 |
%license LICENSE
|
|
|
8983507 |
%doc README.rst
|
|
|
a73d157 |
%{python3_sitelib}/i3ipc/
|
|
|
a73d157 |
%{python3_sitelib}/i3ipc-%{version}-py%{python3_version}.egg-info
|
|
|
8983507 |
|
|
|
8983507 |
%changelog
|
|
|
8b065fc |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-7
|
|
|
8b065fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
8b065fc |
|
|
|
9ab3acc |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-6
|
|
|
9ab3acc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
9ab3acc |
|
|
|
bede65d |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.2.1-5
|
|
|
bede65d |
- Rebuilt for Python 3.11
|
|
|
bede65d |
|
|
|
3e5e51d |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-4
|
|
|
3e5e51d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
3e5e51d |
|
|
|
b3591ad |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-3
|
|
|
b3591ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
b3591ad |
|
|
|
d01ad33 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.2.1-2
|
|
|
d01ad33 |
- Rebuilt for Python 3.10
|
|
|
d01ad33 |
|
|
|
a73d157 |
* Fri Mar 19 2021 Aleksei Bavshin <alebastr@fedoraproject.org> - 2.2.1-1
|
|
|
a73d157 |
- Update to 2.2.1 (#1821073)
|
|
|
a73d157 |
|
|
|
7b3d5ab |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
|
|
|
7b3d5ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
7b3d5ab |
|
|
|
dae03b7 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
|
|
|
dae03b7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
dae03b7 |
|
|
|
e200552 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.1.1-2
|
|
|
e200552 |
- Rebuilt for Python 3.9
|
|
|
e200552 |
|
|
|
0e4619b |
* Wed Mar 04 2020 Aleksei Bavshin <alebastr89@gmail.com> - 2.1.1-1
|
|
|
0e4619b |
- Update to upstream version 2.1.1 (#1708021)
|
|
|
0e4619b |
- Update upstream URL
|
|
|
0e4619b |
- Disable tests due to failures
|
|
|
0e4619b |
|
|
|
02a9604 |
* Wed Feb 26 2020 Aleksei Bavshin <alebastr89@gmail.com> - 1.5.1-8
|
|
|
02a9604 |
- Patch: 0002-remove-enum-compat-dependency (#1770839)
|
|
|
02a9604 |
|
|
|
bb394c4 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-7
|
|
|
bb394c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
bb394c4 |
|
|
|
f1ad9ad |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-6
|
|
|
f1ad9ad |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
f1ad9ad |
|
|
|
9a98f98 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-5
|
|
|
9a98f98 |
- Rebuilt for Python 3.8
|
|
|
9a98f98 |
|
|
|
c10fa7f |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-4
|
|
|
c10fa7f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
c10fa7f |
|
|
|
32f9384 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-3
|
|
|
32f9384 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
32f9384 |
|
|
|
18d08ba |
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5.1-2
|
|
|
18d08ba |
- Subpackage python2-i3ipc has been removed
|
|
|
18d08ba |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
18d08ba |
|
|
|
3cbacdf |
* Tue Aug 07 2018 Michael Simacek <msimacek@redhat.com> - 1.5.1-1
|
|
|
3cbacdf |
- Update to upstream version 1.5.1
|
|
|
3cbacdf |
|
|
|
3835dde |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
|
|
|
3835dde |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
3835dde |
|
|
|
002d95a |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4.0-2
|
|
|
002d95a |
- Rebuilt for Python 3.7
|
|
|
002d95a |
|
|
|
129880e |
* Mon Feb 12 2018 Michael Simacek <msimacek@redhat.com> - 1.4.0-1
|
|
|
129880e |
- Update to upstream version 1.4.0
|
|
|
129880e |
- Enable tests
|
|
|
129880e |
|
|
|
3a9a164 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
|
|
3a9a164 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3a9a164 |
|
|
|
ed0d960 |
* Wed Dec 06 2017 Michael Simacek <msimacek@redhat.com> - 1.3.0-2
|
|
|
ed0d960 |
- Fix Requires on python2-enum34
|
|
|
ed0d960 |
|
|
|
3291fe0 |
* Wed Aug 16 2017 Michael Simacek <msimacek@redhat.com> - 1.3.0-1
|
|
|
3291fe0 |
- Update to upstream version 1.3.0
|
|
|
3291fe0 |
- Enable python3 support
|
|
|
3291fe0 |
|
|
|
11838f6 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
|
|
|
11838f6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
11838f6 |
|
|
|
06850ed |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
|
|
06850ed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
06850ed |
|
|
|
9b6f241 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
|
9b6f241 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
9b6f241 |
|
|
|
8983507 |
* Sun Jun 19 2016 Michael Simacek <msimacek@redhat.com> - 1.2.0-1
|
|
|
8983507 |
- Initial packaging
|