29 lines
917 B
Bash
29 lines
917 B
Bash
# Template file for 'python-neovim'
|
|
pkgname=python-neovim
|
|
version=0.1.3
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="python-client-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
depends="neovim python python-msgpack python-greenlet python-trollius python-click"
|
|
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"
|
|
checksum=9231b9411ec7876bf179bcfd954032c4a4dd39fde8809e83c7e49cae49045213
|
|
|
|
python3.4-neovim_package() {
|
|
noarch=yes
|
|
depends="neovim python3.4 python3.4-msgpack python3.4-greenlet"
|
|
pycompile_version="3.4"
|
|
pycompile_module="neovim"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|