# Template file for 'python-neovim'
pkgname=python-neovim
version=0.3.1
revision=1
noarch=yes
wrksrc="python-client-${version}"
build_style=python-module
pycompile_module="neovim"
hostmakedepends="python-setuptools python3-setuptools"
depends="neovim python-greenlet python-msgpack python-trollius"
short_desc="Python2 client for Neovim"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/neovim/python-client"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=6007c2286ea6ccac3065b7b9b76d04713db818ca2fe7d214bde48cb27789ac0d

python3-neovim_package() {
	noarch=yes
	depends="neovim python3-msgpack python3-greenlet"
	pycompile_module="neovim"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove "usr/lib/python3*"
	}
}
