void-packages/srcpkgs/python-neovim/template

29 lines
904 B
Bash
Raw Normal View History

2015-11-04 23:40:59 +01:00
# Template file for 'python-neovim'
pkgname=python-neovim
2016-04-03 07:48:20 +02:00
version=0.1.7
2015-11-04 23:40:59 +01:00
revision=1
noarch=yes
wrksrc="python-client-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
2016-03-09 05:04:05 +01:00
depends="neovim python python-msgpack python-greenlet python-trollius"
2015-11-04 23:40:59 +01:00
short_desc="Python library for scripting Neovim processes (Python2)"
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"
2016-04-03 07:48:20 +02:00
checksum=398d36c194548d5636eb5d33ba86b083495ab888fc7f03243c8c42d064ec1aa8
2015-11-04 23:40:59 +01:00
python3.4-neovim_package() {
noarch=yes
depends="neovim python3.4 python3.4-msgpack python3.4-greenlet"
2015-11-04 23:40:59 +01:00
pycompile_version="3.4"
pycompile_module="neovim"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}