void-packages/srcpkgs/python-neovim/template
2017-01-12 17:33:42 +01:00

34 lines
1,014 B
Bash

# Template file for 'python-neovim'
pkgname=python-neovim
version=0.1.13
revision=1
noarch=yes
wrksrc="python-client-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="neovim python-msgpack python-greenlet python-trollius"
short_desc="Python2 client for Neovim"
pycompile_module="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=b2f78226d0b3c57d1e53e26828f5fa5665c0655725fbadd43aea87f5ce93ef3b
python3-neovim_package() {
noarch=yes
depends="neovim python3-msgpack python3-greenlet"
pycompile_module="neovim"
replaces="python3.4-neovim>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}
python3.4-neovim_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-neovim>=${version}_${revision}"
}