archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-pynvim / trunk / PKGBUILD
blobf5e0193cf0403a16a1e817fbd1f99fd30f0686ba
1 # Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
3 pkgname=python-pynvim
4 pkgver=0.4.3
5 pkgrel=3
6 pkgdesc='Python client for Neovim'
7 url='https://github.com/neovim/pynvim'
8 arch=('any')
9 license=('Apache')
10 depends=('python' 'python-msgpack' 'python-greenlet')
11 provides=('python-neovim')
12 makedepends=('python-setuptools')
13 replaces=('python-neovim')
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/neovim/pynvim/archive/${pkgver}.tar.gz")
15 sha256sums=('e7c9de44b0201ad874a608270b7a9b10fd48bda65f49bada05815d973ca79391')
17 prepare() {
18   sed -i "s/msgpack-python/msgpack/g" pynvim-${pkgver}/setup.py
21 build() {
22   cd "${srcdir}/pynvim-${pkgver}"
23   python setup.py build
26 package() {
27   cd "${srcdir}/pynvim-${pkgver}"
28   python setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" --skip-build
31 # vim:set sw=2 sts=2 et: