Merge pull request #10763 from dleeram/python-neovim

python-neovim: fix python-msgpack name change.
This commit is contained in:
Alessio Sergi 2018-01-21 19:10:30 +01:00 committed by GitHub
commit e56151573a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python-neovim'
pkgname=python-neovim
version=0.2.0
revision=1
revision=2
noarch=yes
wrksrc="python-client-${version}"
build_style=python-module
@ -15,6 +15,12 @@ homepage="https://github.com/neovim/python-client"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=936b8c5a137436499328362da165f7ef16492a628d5a6d9f7b7f182c0200f8ab
pre_build() {
# python-msgpack had a name transition from msgpack-python to msgpack
# adapt.
sed -i 's|msgpack-python>=0.4.0|msgpack>=0.5.0|g' setup.py
}
python3-neovim_package() {
noarch=yes
depends="neovim python3-msgpack python3-greenlet"