#1 Patch: 0002-remove-enum-compat-dependency (#1770839)
Merged 4 years ago by msimacek. Opened 4 years ago by alebastr.

@@ -0,0 +1,25 @@

+ From 0547b67d50ce6b2c5ae73ca6c7ac0019a84d3df6 Mon Sep 17 00:00:00 2001

+ From: Aleksei Bavshin <alebastr89@gmail.com>

+ Date: Wed, 26 Feb 2020 01:49:43 +0000

+ Subject: [PATCH] remove enum-compat dependency

+ 

+ ---

+  setup.py | 2 +-

+  1 file changed, 1 insertion(+), 1 deletion(-)

+ 

+ diff --git a/setup.py b/setup.py

+ index f0bd081..d579f29 100644

+ --- a/setup.py

+ +++ b/setup.py

+ @@ -5,7 +5,7 @@ from io import open

+  readme_path = path.join(path.abspath(path.dirname(__file__)), 'README.rst')

+  long_description = open(readme_path, encoding='utf-8').read()

+  

+ -install_requires = ['enum-compat']

+ +install_requires = []

+  

+  setup(

+      name='i3ipc',

+ -- 

+ 2.24.1

+ 

file modified
+7 -4
@@ -1,6 +1,6 @@

  Name:           python-i3ipc

  Version:        1.5.1

- Release:        7%{?dist}

+ Release:        8%{?dist}

  Summary:        An improved Python library to control i3wm

  License:        BSD

  URL:            https://github.com/acrisci/i3ipc-python
@@ -10,6 +10,8 @@

  

  # https://github.com/acrisci/i3ipc-python/pull/76

  Patch0:         0001-Adapt-test-launcher-for-our-envirnoment.patch

+ # https://github.com/altdesktop/i3ipc-python/issues/128

+ Patch1:         0002-remove-enum-compat-dependency.patch

  

  BuildRequires:  python3-devel

  # Test deps
@@ -39,9 +41,7 @@

  %{desc}

  

  %prep

- %setup -q -n i3ipc-python-%{version}

- 

- %patch0 -p1

+ %autosetup -p1 -n i3ipc-python-%{version}

  

  sed -i '/^#!/d' i3ipc/i3ipc.py

  
@@ -61,6 +61,9 @@

  %doc README.rst

  

  %changelog

+ * Wed Feb 26 2020 Aleksei Bavshin <alebastr89@gmail.com> - 1.5.1-8

+ - Patch: 0002-remove-enum-compat-dependency (#1770839)

+ 

  * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-7

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

Fix installation of python3-i3ipc.
enum-compat is not needed for python3 and the package should not depend on it (see upstream issue: https://github.com/altdesktop/i3ipc-python/issues/128)
Could be backported up to f30, where python2-i3ipc is already dropped.

Pull-Request has been merged by msimacek

4 years ago