[packages/python-neovim-gui] - python-neovim has been renamed upstream to pynvim, do the same here to generate proper deps - rel

baggins baggins at pld-linux.org
Sat Aug 28 10:16:14 CEST 2021


commit 0c59bb33101fae9e5bad7a2c69aca9257aa30eeb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Aug 28 10:15:26 2021 +0200

    - python-neovim has been renamed upstream to pynvim, do the same here to generate proper deps
    - rel 6

 pynvim-0.3.patch       | 33 +++++++++++++++++++++++++++++++++
 python-neovim-gui.spec |  4 +++-
 2 files changed, 36 insertions(+), 1 deletion(-)
---
diff --git a/python-neovim-gui.spec b/python-neovim-gui.spec
index 23e7c4d..b40f6bc 100644
--- a/python-neovim-gui.spec
+++ b/python-neovim-gui.spec
@@ -10,11 +10,12 @@
 Summary:	Python GTK GUI for neovim
 Name:		python-neovim-gui
 Version:	0.1.3
-Release:	5
+Release:	6
 License:	Apache v2.0
 Group:		Libraries/Python
 Source0:	https://github.com/neovim/python-gui/archive/%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	99f03793e41150e71569c389a9256435
+Patch0:		pynvim-0.3.patch
 URL:		https://github.com/neovim/python-gui
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
@@ -40,6 +41,7 @@ Simple nvim GUI implemented using GTK
 
 %prep
 %setup -q -n python-gui-%{version}
+%patch0 -p1
 
 %build
 %if %{with python2}
diff --git a/pynvim-0.3.patch b/pynvim-0.3.patch
new file mode 100644
index 0000000..81787e4
--- /dev/null
+++ b/pynvim-0.3.patch
@@ -0,0 +1,33 @@
+--- python-gui-0.1.3/neovim_gui/cli.py~	2016-06-28 11:14:40.000000000 +0200
++++ python-gui-0.1.3/neovim_gui/cli.py	2021-08-28 10:11:50.923335013 +0200
+@@ -4,8 +4,8 @@
+ import click
+ 
+ from .ui_bridge import UIBridge
+-from neovim import attach
+-from neovim.compat import IS_PYTHON3
++from pynvim import attach
++from pynvim.compat import IS_PYTHON3
+ 
+ 
+ @click.command(context_settings=dict(allow_extra_args=True))
+--- python-gui-0.1.3/neovim_gui/screen.py~	2016-06-28 11:14:40.000000000 +0200
++++ python-gui-0.1.3/neovim_gui/screen.py	2021-08-28 10:12:07.663348326 +0200
+@@ -1,5 +1,5 @@
+ """Common code for graphical and text UIs."""
+-from neovim.compat import IS_PYTHON3
++from pynvim.compat import IS_PYTHON3
+ 
+ 
+ __all__ = ('Screen',)
+--- python-gui-0.1.3/setup.py~	2016-06-28 11:14:40.000000000 +0200
++++ python-gui-0.1.3/setup.py	2021-08-28 10:14:41.773445045 +0200
+@@ -4,7 +4,7 @@
+ from setuptools import setup
+ 
+ install_requires = [
+-    'neovim>=0.1.3',
++    'pynvim>=0.3.1',
+     'click>=3.0',
+     'pygobject'
+ ]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-neovim-gui.git/commitdiff/0c59bb33101fae9e5bad7a2c69aca9257aa30eeb



More information about the pld-cvs-commit mailing list