]> git.pld-linux.org Git - packages/python-neovim.git/blobdiff - python-neovim.spec
up to 0.4.3
[packages/python-neovim.git] / python-neovim.spec
index 572bffb8e614a386f306b5771f7083abc7e153b3..c305762f59585cd009084c4620765299a77070cd 100644 (file)
@@ -4,15 +4,15 @@
 %bcond_without python3 # CPython 3.x module
 
 %define                module          neovim
-%define                egg_name        neovim
+%define                egg_name        pynvim
 Summary:       Python client to neovim
 Name:          python-%{module}
-Version:       0.1.9
+Version:       0.4.3
 Release:       1
 License:       Apache v2.0
 Group:         Libraries/Python
 Source0:       https://github.com/neovim/python-client/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: a79bca20b8e4876e059a4190e68e881b
+# Source0-md5: b7370a5b3d2177d2b97ca48695ba1ae3
 URL:           https://github.com/neovim/python-client
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
@@ -24,8 +24,6 @@ BuildRequires:        python-setuptools
 BuildRequires: python3-modules
 BuildRequires: python3-setuptools
 %endif
-Requires:      python-greenlet
-Requires:      python-msgpack
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -35,14 +33,12 @@ Implements support for Python plugins in nvim
 %package -n python3-neovim
 Summary:       Python client to neovim
 Group:         Libraries/Python
-Requires:      python3-greenlet
-Requires:      python3-msgpack
 
 %description -n python3-neovim
 Implements support for Python plugins in nvim
 
 %prep
-%setup -q -n python-client-%{version}
+%setup -q -n pynvim-%{version}
 
 %build
 %if %{with python2}
@@ -67,11 +63,12 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%if %{with python3}
+%if %{with python2}
 %files
 %defattr(644,root,root,755)
 %doc README.md
 %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/pynvim
 %{py_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
 %endif
 
@@ -80,5 +77,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.md
 %{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/pynvim
 %{py3_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
 %endif
This page took 0.160492 seconds and 4 git commands to generate.