blob: 7095bb3d4efec5df7c8c18475b450e80e6483022 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: mars <gzhqyz at gmail dot com>
# Contributor: Sven-Hendrik Haase <svenstaro at gmail dot com>
pkgname=python-pynvim-git
pkgver=0.4.3.r32.g6cf8fc1
pkgrel=1
pkgdesc='Python client for Neovim (git version)'
url='https://github.com/neovim/pynvim'
arch=('any')
license=('Apache')
depends=('python' 'python-msgpack' 'python-greenlet')
provides=('python-neovim' 'python-pynvim')
conflicts=('python-neovim' 'python-pynvim')
makedepends=('git' 'python-setuptools')
source=("$pkgname::git+https://github.com/neovim/pynvim.git")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed -e 's/-/.r/;s/-/./g'
}
prepare() {
sed -i "s/msgpack-python/msgpack/g" $pkgname/setup.py
}
build() {
cd $pkgname
python setup.py build
}
package() {
cd $pkgname
python setup.py install --optimize=1 --prefix=/usr --root="${pkgdir}" --skip-build
}
# vim:set sw=2 sts=2 et:
|