[packages/python-neovim] new, version 0.1.9

glen glen at pld-linux.org
Sat Sep 17 23:15:15 CEST 2016


commit 1f20e90cb9a62dc2f6ce9cda53c1f4db3d6db80d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Sep 18 00:14:03 2016 +0300

    new, version 0.1.9
    
    based on copr package by dperson/neovim
    
    https://copr-be.cloud.fedoraproject.org/results/dperson/neovim/fedora-rawhide-x86_64/00389773-python-neovim/python-neovim-0.1.9-3.fc25.src.rpm

 python-neovim.spec | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)
---
diff --git a/python-neovim.spec b/python-neovim.spec
new file mode 100644
index 0000000..572bffb
--- /dev/null
+++ b/python-neovim.spec
@@ -0,0 +1,84 @@
+#
+# Conditional build:
+%bcond_without	python2 # CPython 2.x module
+%bcond_without	python3 # CPython 3.x module
+
+%define		module		neovim
+%define		egg_name	neovim
+Summary:	Python client to neovim
+Name:		python-%{module}
+Version:	0.1.9
+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
+URL:		https://github.com/neovim/python-client
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+%if %{with python2}
+BuildRequires:	python-modules
+BuildRequires:	python-setuptools
+%endif
+%if %{with python3}
+BuildRequires:	python3-modules
+BuildRequires:	python3-setuptools
+%endif
+Requires:	python-greenlet
+Requires:	python-msgpack
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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}
+
+%build
+%if %{with python2}
+%py_build
+%endif
+
+%if %{with python3}
+%py3_build
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%if %{with python2}
+%py_install
+%py_postclean
+%endif
+
+%if %{with python3}
+%py3_install
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with python3}
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
+%endif
+
+%if %{with python3}
+%files -n python3-neovim
+%defattr(644,root,root,755)
+%doc README.md
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-neovim.git/commitdiff/1f20e90cb9a62dc2f6ce9cda53c1f4db3d6db80d



More information about the pld-cvs-commit mailing list