15
0
forked from pool/python-i3ipc
Files
python-i3ipc/python-i3ipc.spec
Tomáš Chvátal 515100bdad Accepting request 790086 from home:jubalh:branches:devel:languages:python
- Update to 2.1.1:
  * Regression: emit detailed events correctly (#126)
  * Regression: null values in replies should be python None (#123)
  * Add the sway input event (#122)
  * Raise handler exceptions from Connection.main() (the old
    behavior was just to exit silently which is wrong) (#125)
- Remove python2 stuff

OBS-URL: https://build.opensuse.org/request/show/790086
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-i3ipc?expand=0&rev=3
2020-03-31 10:41:59 +00:00

62 lines
2.0 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#
# spec file for package python-i3ipc
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-i3ipc
# Before upgrading, verify compatibility with bumblebee-status module title
Version: 2.1.1
Release: 0
Summary: Python library for i3 WM extensions
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/altdesktop/i3ipc-python
Source0: https://github.com/altdesktop/i3ipc-python/archive/v%{version}.tar.gz#/i3ipc-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python3-setuptools
Requires: python3-python-xlib
Recommends: i3
BuildArch: noarch
%description
python-i3ipc is a Python library for controlling the i3 window manager which
aims to be used by scripts and applications which interact with the window
manager like status line generators, notification daemons and pagers.
This library uses i3s interprocess communication, which is the interface
that i3 WM 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.
%prep
%setup -q -n i3ipc-python-%{version}
sed -i "s|!/usr/bin/env python3|!/usr/bin/python3|" examples/*.py
%build
%py3_build
%install
%py3_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files
%license LICENSE
%doc README.rst CHANGELOG.md docs/*.rst
%doc examples/
%{python3_sitelib}/*
%changelog