void-packages/srcpkgs/python-neovim/template

27 lines
790 B
Bash

# Template file for 'python-neovim'
pkgname=python-neovim
version=0.3.2
revision=2
noarch=yes
wrksrc="pynvim-${version}"
build_style=python-module
pycompile_module="pynvim"
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=0a44c540dd5790acfbc7e411b0ed4fb6c44914d866226ebebf370c24c2723dc2
python3-neovim_package() {
noarch=yes
depends="neovim python3-msgpack python3-greenlet"
pycompile_module="pynvim"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
}
}